X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_lcm%2FROclient.py;h=de61c23d60c657c7a9636b54206bbc7f5bd54871;hb=a7cb70b362dd95528deb64ab21ebad953009add6;hp=cf1149002fbddec188be0b26b713bcfb0ccb88f1;hpb=c295040b0646329d60e7def201866df3df9fef8f;p=osm%2FLCM.git diff --git a/osm_lcm/ROclient.py b/osm_lcm/ROclient.py index cf11490..de61c23 100644 --- a/osm_lcm/ROclient.py +++ b/osm_lcm/ROclient.py @@ -657,7 +657,7 @@ class ROClient: """ try: response_text = "" - async with aiohttp.ClientSession(loop=self.loop) as session: + async with aiohttp.ClientSession() as session: url = "{}/version".format(self.uri) self.logger.debug("RO GET %s", url) # timeout = aiohttp.ClientTimeout(total=self.timeout_short) @@ -682,7 +682,7 @@ class ROClient: async def get_list(self, item, all_tenants=False, filter_by=None): """ - Obtain a list of items filtering by the specigy filter_by. + List of items filtered by the contents in the dictionary "filter_by". :param item: can be 'tenant', 'vim', 'vnfd', 'nsd', 'ns' :param all_tenants: True if not filtering by tenant. Only allowed for admin :param filter_by: dictionary with filtering