From: kasar Date: Tue, 18 Jun 2019 07:39:04 +0000 (-0700) Subject: Make vcloud api version compatible for different vCDs X-Git-Tag: v6.0.1~2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=14076751bae9f0450650ef54f671ed9aa39a3327;p=osm%2FMON.git Make vcloud api version compatible for different vCDs Change-Id: Ic0b1f9e18b1711f73ec2b2c876e8211534caaa87 Signed-off-by: kasar (cherry picked from commit 059f91127fe77c40681f4bfcb4ceb4158914807d) --- 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,