From: kasar Date: Tue, 18 Jun 2019 07:39:04 +0000 (-0700) Subject: Make vcloud api version compatible for different vCDs X-Git-Tag: v7.0.0rc1~38 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F72%2F7672%2F1;p=osm%2FMON.git Make vcloud api version compatible for different vCDs Change-Id: Ic0b1f9e18b1711f73ec2b2c876e8211534caaa87 Signed-off-by: kasar --- 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,