'Return the path of a locally mounted volume if possible.
Docker will call this in situations where it\'s not clear to us
whether the dataset should be local or not, so we can\'t wait for a
result.
:param unicode Name: The name of the volume.
:return: Result indicating success.'

@app.route('/VolumeDriver.Path', methods=['POST'])
@_endpoint(u'Path')
def volumedriver_path(self, Name):

    d = DeferredContext(self._dataset_id_for_name(Name))
    d.addCallback(self._get_path_from_dataset_id)
    def got_path(path):
        if (path is None):
            return {u'Err': u'Volume    not    available.', u'Mountpoint': u''}
        else:
            return {u'Err': u'', u'Mountpoint': path.path}
    d.addCallback(got_path)
    return d.result
