'Share NFS filesystem on NexentaStor Appliance.
:param nef: nef object
:param path: path to parent filesystem
:param filesystem: filesystem that needs to be shared'

def _share_folder(self, path, filesystem):

    pool = self.share.split('/')[0]
    LOG.debug('Creating    ACL    for    filesystem    %s    on    Nexenta    Store', filesystem)
    url = ('storage/pools/%s/filesystems/%s/acl' % (pool, self._escape_path('/'.join([path, filesystem]))))
    data = {'type': 'allow', 'principal': 'everyone@', 'permissions': ['list_directory', 'read_data', 'add_file', 'write_data', 'add_subdirectory', 'append_data', 'read_xattr', 'write_xattr', 'execute', 'delete_child', 'read_attributes', 'write_attributes', 'delete', 'read_acl', 'write_acl', 'write_owner', 'synchronize'], 'flags': ['file_inherit', 'dir_inherit']}
    self.nef.post(url, data)
    LOG.debug('Successfully    shared    filesystem    %s', '/'.join([path, filesystem]))
