'Returns local path.
One of volume id or share is used to return the values.'

def _get_local_path(self, volume_id=None, share=None):

    if volume_id:
        local_path = self._get_mount_point_for_share(self._get_provider_location(volume_id))
    elif share:
        local_path = self._get_mount_point_for_share(share)
    else:
        raise exception.InvalidInput(reason=_('A    volume    ID    or    share    was    not    specified.'))
    return local_path
