def network_list_for_tenant(request, tenant_id, **params):
 LOG.debug(('network_list_for_tenant(): tenant_id=%s, params=%s' % (tenant_id, params)))
 networks = network_list(request, tenant_id=tenant_id, shared=False, **params)
 networks += network_list(request, shared=True, **params)
 return networks

def network_list_for_tenant ( request , tenant_id , ** params ) : LOG . debug ( ( 'network_list_for_tenant(): tenant_id=%s, params=%s' % ( tenant_id , params ) ) ) networks = network_list ( request , tenant_id = tenant_id , shared = False , ** params ) networks += network_list ( request , shared = True , ** params ) return networks
return a network list available for the tenant .