The `key` part of the argument handling has to be right after `args`, otherwise you'd get an `AttributeError` when trying to call `encode` on the `args` object.
Signed-off-by: Roland Sommer <rol@ndsommer.de>
This is a short demo of native key provider APIs in the Autpmation SDK.
The demo includes how native key provider can be set as default for the
system using pyvmomi.
Signed-off-by: Kiril Karaatanssov <kkaraatanassov@vmware.com>
* Support VMware Cloud on AWS Networking APIs and add a few samples.
* Added vsphere_client module to simplify login and API invocation.
* Modified existing samples to use vsphere_client.
* Update on vm template APIs.
Signed-off-by: Tianhao He <het@vmware.com>
1. Updated bindings for vSphere 6.6.1 release for VMware Cloud 1.1
2. Update password and remove IP from testbed.py
3. Package vSphere Automation runtime and bindings in wheel format.
4. Update travis test commend.
Signed-off-by: Tianhao He <tianhao64@users.noreply.github.com>
Signed-off-by: Pavan Bidkar <pbidkar@vmware.com>
Fixed Formatting issue
Signed-off-by: Pavan Bidkar <pbidkar@vmware.com>
Fixed PEP8 suggested format Issue.Added new line at the end of file
Signed-off-by: PavanBidkar <pbidkar@vmware.com>
Need to make the same fix as the one in #13 for parallel port.
Also move the cleanup_backends to the main sample run to make
sure the output file is always deleted.
Signed-off-by: Tianhao He <tianhao64@users.noreply.github.com>
When re-run the sample without cleanup previous port the power
on peration may time out due to the output file exist already.
Remove the file before creating new port and add notes to
help avoiding this.
Signed-off-by: Tianhao He <tianhao64@users.noreply.github.com>