'This function gives list of export group uris separated by comma.
:param project_name: Name of the project path
:param tenant: Name of the tenant
:returns: list of export group ids separated by comma'

def exportgroup_list(self, project_name, tenant):

    if (tenant is None):
        tenant = ''
    projobj = project.Project(self.ipaddr, self.port)
    fullproj = ((tenant + '/') + project_name)
    projuri = projobj.project_query(fullproj)
    uri = self.URI_EXPORT_GROUP_SEARCH
    if ('?' in uri):
        uri += ('&project=' + projuri)
    else:
        uri += ('?project=' + projuri)
    (s, h) = common.service_json_request(self.ipaddr, self.port, 'GET', uri, None)
    o = common.json_decode(s)
    if (not o):
        return []
    exportgroups = []
    resources = common.get_node_value(o, 'resource')
    for resource in resources:
        exportgroups.append(resource['id'])
    return exportgroups
