VSS Command Line Interface (vss-cli) v0.6.2 🎉

VSS-CLI v0.6.2 is available for download via PyPI or GitLab. Latest version includes the following improvements and bug fixes:

Improvements

VM deployment option to power on vm after deployment --power-on (#268)

Commands:

  • compute vm mk from-clone
  • compute vm mk from-template
  • compute vm mk from-image
  • compute vm mk shell
  • compute vm mk from-spec
  • compute vm mk from-file

Option --power-on allows new virtual machine deployment to turn on after successful deployment.

vss-cli compute vm mk from-clone -s 2001D-ubuntu-tmpl --custom-spec '{"hostname": "fe1", "domain": "eis.utoronto.ca", "interfaces": [{"dhcp":true}]}' --power-on --description 'testing deployment' front-end-1

Completion support for Fish (#270)

Commands:

  • completion

Enable completion for shell with any of the following methods:

1. Add this to ~/.config/fish/completions/vss-cli.fish

eval (env _VSS_CLI_COMPLETE=source_fish vss-cli) 

2. Alternatively, export the generated completion code as a static script to be executed as follows:

 _VSS_CLI_COMPLETE=source_fish vss-cli > ~/.config/fish/completions/vss-cli.fish

After enabling auto-completion for fish, you could get something like:

Table format option --table-format allows recently introduced "pretty" (#274)

Commands:

  • (*) ls

Option --table-format takes pretty option to format output table

vss-cli --columns moref,name,folder.path,power_state --table-format pretty compute vm ls -f name=ubu
+----------+--------------------------+--------------------------------+-------------+
|  moref   |           name           |          folder.path           | power_state |
+----------+--------------------------+--------------------------------+-------------+
| vm-17870 |  2004T-ubuntu-clone-po   |  VSS > Sandbox > jm > APIDemo  | poweredOff  |
| vm-11955 |  1802D-from-ubuntu-tmpl  | VSS > Sandbox > jm > Templates | poweredOff  |
| vm-17016 |    2001D-ubuntu-clone    |  VSS > Sandbox > jm > APIDemo  | poweredOff  |
| vm-13816 |       1811D-ubuntu       | VSS > Sandbox > jm > Templates | poweredOff  |
| vm-17716 | 2004D-ubuntu-clone-clone |  VSS > Sandbox > jm > APIDemo  | poweredOff  |
+----------+--------------------------+--------------------------------+-------------+

VMware Paravirtual SCSI controller migration how-to (windows) (#265)

Update from 0.13.0-> 0.13.1 (#267)

Update click from 7.0.0 -> 7.1.1 (#269)

Update pick 0.6.6 -> 0.6.7 (#271)

Update validators 0.14.2 -> 0.14.3 (#272)

Update tabulate 0.8.6 -> 0.8.7 (#273)

Update dateparser 0.7.2 -> 0.7.4 (#275)

Update ruaml.yaml 0.16.5 -> 0.16.10 (#276)

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:

# using vss-cli
vss-cli upgrade 

# upgrade with pip
pip install vss-cli --upgrade

# install
pip install vss-cli 


For more information, please refer to the official documentation site.

University of Toronto - Since 1827