Fix bug 1884 MON openstack token optimization 97/11897/2
authorpreethika.p <preethika.p@tataelxsi.co.in>
Wed, 23 Feb 2022 05:27:13 +0000 (05:27 +0000)
committerpalsus <subhankar.pal@aricent.com>
Wed, 20 Apr 2022 14:41:46 +0000 (16:41 +0200)
commitff3a55ec36e30ef63c0ef02d67577d78f1664ef6
treece722b55f79fca8b019973af284e8be41ae8725c
parent16730d186792e52bf5292ec0dc7928ecf2048927
Fix bug 1884 MON openstack token optimization

Reuse the openstack session created in infra collection,
thereby collecting infra and vnf metrics per vim account.

Change-Id: I7d9c9e32b366822101699f56cbf6fc8f8ec6f233
Signed-off-by: preethika.p <preethika.p@tataelxsi.co.in>
(cherry picked from commit 94948de24a6ff7d03cce2168be5a83c0ed97196d)
osm_mon/collector/infra_collectors/base_osinfra.py
osm_mon/collector/service.py
osm_mon/collector/vnf_collectors/openstack.py
osm_mon/collector/vnf_collectors/vio.py
osm_mon/collector/vnf_collectors/vmware.py
osm_mon/tests/unit/collector/test_collector_service.py
osm_mon/tests/unit/collector/vnf_collectors/test_openstack.py
osm_mon/tests/unit/collector/vnf_collectors/vmware/test_vcd_collector.py
osm_mon/tests/unit/collector/vnf_collectors/vmware/test_vio_collector.py