X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_mon%2Fcollector%2Fvnf_collectors%2Fvio.py;h=5bcf66e0b19df2038ac703f1ca64b5c5137b800a;hb=refs%2Fchanges%2F00%2F7400%2F2;hp=8e43878ee01f46495ac95a4664c66eb6a5109091;hpb=197909586553113bb7e28124f96d4a239f5a94b2;p=osm%2FMON.git diff --git a/osm_mon/collector/vnf_collectors/vio.py b/osm_mon/collector/vnf_collectors/vio.py index 8e43878..5bcf66e 100644 --- a/osm_mon/collector/vnf_collectors/vio.py +++ b/osm_mon/collector/vnf_collectors/vio.py @@ -65,8 +65,8 @@ METRIC_MAPPINGS = { class VIOCollector(BaseVimCollector): def __init__(self, config: Config, vim_account_id: str): super().__init__(config, vim_account_id) - self.common_db = CommonDbClient() - self.auth_manager = AuthManager() + self.common_db = CommonDbClient(config) + self.auth_manager = AuthManager(config) vim_account_info = self.auth_manager.get_credentials(vim_account_id) cfg = json.loads(vim_account_info.config) self.vrops_site = cfg['vrops_site']