VSS-CLI v2022.4.0 is available for download via PyPI or GitLab. Latest version includes the following improvements and bug fixes:
Table of Contents | ||||
---|---|---|---|---|
|
Bug Fixes
core
: auto-completion errors during option and argument completion. (#514
)
Description
The vss-cli
has the ability to auto-complete option arguments when properly configured and this feature was not working properly.
Code Block |
---|
vss-cli compute vm mk from-clib --source <tab> <tab> feac979d-ae53-45a5-aabb-469f516e2dce -- 2103D-SI-MSW2019_Dev_master_template - OVF 986b53de-cc0c-4286-a59b-1af48bc18510 -- Cisco-ASAV-9.16.2.3 - OVF 03634015-f746-45d3-9d93-4b90476c617e -- fedora-coreos-35.20220131.3.0-vmware.x86_64 - OVF 8e5206fa-0975-4dd9-973a-1737b82bf8a2 -- photon-os-4rev2-uefi-v11 - OVF cc5990a8-56fe-411d-a13e-88d60112796b -- photon-os-4rev2-uefi-v13 - OVF c361a226-5dd4-458b-9eae-a7c6e2d38d63 -- photon-os-4rev2-v11 - OVF 407ded67-fd08-4973-81f4-5fc5c8c4912f -- ubuntu-1804-bionic-server-cloudimg-amd64 - OVF 0192d28e-cee4-4563-a7e8-9672d19456de -- ubuntu-2004-focal-server-cloudimg-amd64 - OVF 00bca5f6-2330-4737-b46e-fca141d056f4 -- ubuntu-2110-impish-server-cloudimg-amd64 - OVF ed56b00a-5c52-4d29-8e46-fd85a76f66d5 -- ubuntu-2204-jammy-server-cloudimg-amd64 - OVF |
compute vm mk from-clone
: option --snapshot
auto-completion throws exception. (#515
)
Description
Cloning virtual machines from a given snapshot is also possible and auto-completion works by looking up the --source
virtual machine snapshots. If a single snapshot is found, it will auto-complete the option argument with the snapshot_id
, however if the lookup finds many, it will prompt for selection as follows:
Code Block |
---|
vss-cli compute vm mk from-clone --source vm-1234 --snapshot <tab><tab> 3 -- SR-1633 - Before super upgrade from 2022-04-29 11:35:00-04:00 valid for 1 4 -- SR-1634 - After super upgrade from 2022-04-29 11:35:00-04:00 valid for 1 |
request retirement get
: auto-completion throws exception. (#516
)
Improvements
core
: update pyvss
to 2022.4.0
. (#510
)
core
: update click
to 8.1.3
. (#511
)
core
: update pre-commit
hook black
to 22.3.0
. (#512
)
core
: update pre-commit
hook flake8
to 3.7.9
. (#512
)
Upgrade
Remember, VSS-CLI documentation is now available in VSS-CLI and the full Change Log is available here. Upgrade or install VSS-CLI as follows:
...
For more information, please refer to the official documentation site.