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

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

    if volume_id:
        host_ip = self._get_host_ip(volume_id)
        export_path = self._get_export_path(volume_id)
    elif share:
        host_ip = share.split(':')[0]
        export_path = share.split(':')[1]
    else:
        raise exception.InvalidInput('A    volume    ID    or    share    was    not    specified.')
    return (host_ip, export_path)
