1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-24 18:30:00 -05:00

To allow skip certificates

Signed-off-by: Juan Sierra Pons <juan@elsotanillo.net>
This commit is contained in:
Juan Sierra Pons 2021-05-22 14:54:01 +02:00
parent 647be2cc71
commit ab18fab9f8
2 changed files with 4 additions and 2 deletions

View File

@ -72,7 +72,8 @@ class AdministratorClient(object):
# Login to vCenter
stub_config = vapiconnect.connect(host=args.server,
user=args.username,
pwd=args.password)
pwd=args.password,
skip_verification=args.skipverification)
# Create admin stub
self.admin_client = Administrators(stub_config)
self.cleanup = args.cleardata

View File

@ -86,7 +86,8 @@ class LinksClient(object):
# Login to vCenter
stub_config = vapiconnect.connect(host=args.server,
user=args.username,
pwd=args.password)
pwd=args.password,
skip_verification=args.skipverification)
# Create links stub
self.links_client = Links(stub_config)