Request highest supported vCD version between MON and
vCD on setup and then continue to use v27.0 as the confirmed
tested version.
BUG 775
Change-Id: I04333fa0c915107fb432d799d3440fec711d95ec
Signed-off-by: beierl <mbeierl@vmware.com>
# -*- coding: utf-8 -*-
##
# -*- coding: utf-8 -*-
##
-# Copyright 2016-2017 VMware Inc.
+# Copyright 2016-2019 VMware Inc.
# This file is part of ETSI OSM
# All Rights Reserved.
#
# This file is part of ETSI OSM
# All Rights Reserved.
#
class VMwareInfraCollector(BaseVimInfraCollector):
class VMwareInfraCollector(BaseVimInfraCollector):
def __init__(self, config: Config, vim_account_id: str):
super().__init__(config, vim_account_id)
self.vim_account_id = vim_account_id
def __init__(self, config: Config, vim_account_id: str):
super().__init__(config, vim_account_id)
self.vim_account_id = vim_account_id
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
# -*- coding: utf-8 -*-
##
# -*- coding: utf-8 -*-
##
-# Copyright 2016-2017 VMware Inc.
+# Copyright 2016-2019 VMware Inc.
# This file is part of ETSI OSM
# All Rights Reserved.
#
# This file is part of ETSI OSM
# All Rights Reserved.
#
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