From 059f91127fe77c40681f4bfcb4ceb4158914807d Mon Sep 17 00:00:00 2001 From: kasar Date: Tue, 18 Jun 2019 00:39:04 -0700 Subject: [PATCH] Make vcloud api version compatible for different vCDs Change-Id: Ic0b1f9e18b1711f73ec2b2c876e8211534caaa87 Signed-off-by: kasar --- osm_mon/collector/infra_collectors/vmware.py | 2 +- osm_mon/collector/vnf_collectors/vmware.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/osm_mon/collector/infra_collectors/vmware.py b/osm_mon/collector/infra_collectors/vmware.py index eba6ff6..00f9bf7 100644 --- a/osm_mon/collector/infra_collectors/vmware.py +++ b/osm_mon/collector/infra_collectors/vmware.py @@ -37,7 +37,7 @@ import requests import json log = logging.getLogger(__name__) -API_VERSION = '30.0' +API_VERSION = '27.0' class VMwareInfraCollector(BaseVimInfraCollector): diff --git a/osm_mon/collector/vnf_collectors/vmware.py b/osm_mon/collector/vnf_collectors/vmware.py index 0cb1e66..9322408 100644 --- a/osm_mon/collector/vnf_collectors/vmware.py +++ b/osm_mon/collector/vnf_collectors/vmware.py @@ -40,7 +40,7 @@ from osm_mon.core.config import Config log = logging.getLogger(__name__) -API_VERSION = '5.9' +API_VERSION = '27.0' PERIOD_MSEC = {'HR': 3600000, 'DAY': 86400000, -- 2.25.1