Fix vCD attach failure
On session timeout, the vCD connector needs to reauthenticate
to get a new token. This authentication must also use a
modern version number, or it will fail.
BUG 718
Change-Id: I9ca1258bdb824ed9acb2f6ca712babc2fc91d8c0
Signed-off-by: beierl <mbeierl@vmware.com>
diff --git a/osm_ro/vimconn_vmware.py b/osm_ro/vimconn_vmware.py
index 77ac567..f343eea 100644
--- a/osm_ro/vimconn_vmware.py
+++ b/osm_ro/vimconn_vmware.py
@@ -6485,6 +6485,7 @@
self.org_name))
host = self.url
client = Client(host, verify_ssl_certs=False)
+ client.set_highest_supported_version()
client.set_credentials(BasicLoginCredentials(self.user, self.org_name, self.passwd))
# connection object
self.client = client