projects
/
osm
/
MON.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Negotiate vCD Version
[osm/MON.git]
/
osm_mon
/
collector
/
vnf_collectors
/
vmware.py
diff --git
a/osm_mon/collector/vnf_collectors/vmware.py
b/osm_mon/collector/vnf_collectors/vmware.py
index
0cb1e66
..
438c40c
100644
(file)
--- a/
osm_mon/collector/vnf_collectors/vmware.py
+++ b/
osm_mon/collector/vnf_collectors/vmware.py
@@
-1,7
+1,7
@@
# -*- coding: utf-8 -*-
##
# -*- coding: utf-8 -*-
##
-# Copyright 2016-201
7
VMware Inc.
+# Copyright 2016-201
9
VMware Inc.
# This file is part of ETSI OSM
# All Rights Reserved.
#
# This file is part of ETSI OSM
# All Rights Reserved.
#
@@
-40,7
+40,7
@@
from osm_mon.core.config import Config
log = logging.getLogger(__name__)
log = logging.getLogger(__name__)
-API_VERSION = '
5.9
'
+API_VERSION = '
27.0
'
PERIOD_MSEC = {'HR': 3600000,
'DAY': 86400000,
PERIOD_MSEC = {'HR': 3600000,
'DAY': 86400000,
@@
-94,6
+94,7
@@
class VMwareCollector(BaseVimCollector):
admin_passwd = self.admin_password
org = 'System'
client = Client(host, verify_ssl_certs=False)
admin_passwd = self.admin_password
org = 'System'
client = Client(host, verify_ssl_certs=False)
+ client.set_highest_supported_version()
client.set_credentials(BasicLoginCredentials(admin_user, org,
admin_passwd))
return client
client.set_credentials(BasicLoginCredentials(admin_user, org,
admin_passwd))
return client