- def _get_vim_account_id(self, nsr_id: str, vnf_member_index: int) -> str:
- vnfr = self.common_db.get_vnfr(nsr_id, vnf_member_index)
- return vnfr['vim-account-id']
-
- def _get_vim_type(self, vim_account_id):
- """Get the vim type that is required by the message."""
- credentials = self.database_manager.get_credentials(vim_account_id)
- return credentials.type
-
- def _init_vim_collector_and_collect(self, vnfr: dict, vim_account_id: str, queue: multiprocessing.Queue):