X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_mon%2Fcollector%2Finfra_collectors%2Fopenstack.py;fp=osm_mon%2Fcollector%2Finfra_collectors%2Fopenstack.py;h=5f62edf340f33a7df8d46be8535470da20d826b1;hb=5ac7c081ca13495185ecf6bdf302c16c25a4b759;hp=4237e4f1262ffdc203a95f9de194622bce450186;hpb=b525e6c8619d494d4e254def394cf5b62de4df4a;p=osm%2FMON.git diff --git a/osm_mon/collector/infra_collectors/openstack.py b/osm_mon/collector/infra_collectors/openstack.py index 4237e4f..5f62edf 100644 --- a/osm_mon/collector/infra_collectors/openstack.py +++ b/osm_mon/collector/infra_collectors/openstack.py @@ -27,14 +27,15 @@ from keystoneclient.v3 import client from osm_mon.collector.infra_collectors.base_vim import BaseVimInfraCollector from osm_mon.core.auth import AuthManager +from osm_mon.core.config import Config log = logging.getLogger(__name__) class OpenstackInfraCollector(BaseVimInfraCollector): - def __init__(self, vim_account_id: str): - super().__init__(vim_account_id) - self.auth_manager = AuthManager() + def __init__(self, config: Config, vim_account_id: str): + super().__init__(config, vim_account_id) + self.auth_manager = AuthManager(config) self.keystone_client = self._build_keystone_client(vim_account_id) def is_vim_ok(self) -> bool: