Make vcloud api version compatible for different vCDs 77/7677/1
authorkasar <pkasar@vmware.com>
Tue, 18 Jun 2019 07:39:04 +0000 (00:39 -0700)
committerdiazb <bdiaz@whitestack.com>
Tue, 18 Jun 2019 14:48:40 +0000 (15:48 +0100)
Change-Id: Ic0b1f9e18b1711f73ec2b2c876e8211534caaa87
Signed-off-by: kasar <pkasar@vmware.com>
(cherry picked from commit 059f91127fe77c40681f4bfcb4ceb4158914807d)

osm_mon/collector/infra_collectors/vmware.py
osm_mon/collector/vnf_collectors/vmware.py

index eba6ff6..00f9bf7 100644 (file)
@@ -37,7 +37,7 @@ import requests
 import json
 
 log = logging.getLogger(__name__)
-API_VERSION = '30.0'
+API_VERSION = '27.0'
 
 
 class VMwareInfraCollector(BaseVimInfraCollector):
index 0cb1e66..9322408 100644 (file)
@@ -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,