"vio": VIOInfraCollector
}
SDN_INFRA_COLLECTORS = {
- "onos": OnosInfraCollector
+ "onosof": OnosInfraCollector,
+ "onos_vpls": OnosInfraCollector
}
processes.append(p)
p.start()
for process in processes:
- process.join(timeout=10)
+ process.join(timeout=20)
+ for process in processes:
+ if process.is_alive():
+ process.terminate()
metrics = []
while not self.queue.empty():
metrics.append(self.queue.get())
vim_type = vim_account['vim_type']
if 'config' in vim_account and 'vim_type' in vim_account['config']:
vim_type = vim_account['config']['vim_type'].lower()
+ if vim_type == 'vio' and 'vrops_site' not in vim_account['config']:
+ vim_type = 'openstack'
return vim_type