'Share NFS folder on NexentaStor Appliance.
:param nms: nms object
:param volume: volume name
:param folder: folder name'

def _share_folder(self, nms, volume, folder):

    path = ('%s/%s' % (volume, folder.lstrip('/')))
    share_opts = {'read_write': '*', 'read_only': '', 'root': 'nobody', 'extra_options': 'anon=0', 'recursive': 'true', 'anonymous_rw': 'true'}
    LOG.debug('Sharing    folder    %s    on    Nexenta    Store', folder)
    nms.netstorsvc.share_folder('svc:/network/nfs/server:default', path, share_opts)
