VSS Command Line Interface v0.4.7

VSSCLI v0.4.7 is available for download via PyPI or GitLab. Latest version includes the following improvements and bug fixes:

  • Improvements
    • Default docker image uofteis/vsscli:latest switched to Python 3 (latest):

      docker run --rm -it uofteis/vsscli:latest sh
      / # python -V
      Python 3.7.0
      / # vss --version
      vsscli/0.4.7 pyvss/0.9.24
    • Provide current endpoint in prompt and message vss shell :

      vss shell
      
          __   _____ ___
          \ \ / / __/ __|      API Endpoint: https://vss-api.eis.utoronto.ca
           \ V /\__ \__ \      Tab-completion & suggestions
            \_/ |___/___/      Prefix external commands with "!"
             CLI v0.4.7        History is saved: /Users/josem/.vss/history
      
          Exit shell with :exit, :q, :quit, ctrl+d
      
      vss (vss-api) >
    • Display NIC information before deleting device vss compute vm set nic rm:

      vss compute vm set <uuid> nic rm 1
      Network adapter:	1
      Mac address:		00:50:56:1a:2b:5e
      Network:		VL-0000-VLAN-MGMT (dvportgroup-12345)
      Connected:		True
      
      Are you sure you want to delete listed NICs [y/N]:
    • Check for updates when generating a new access token with any command vss:

      vss account get status
      Update available 0.4.6 -> 0.4.7. Run vss upgrade to install latest.
      
      active              : Yes
      created_on          : 2016-05-13 Fri 16:45:51 EDT
      ip_address          : 142.150.131.102
      last_access         : 2018-07-31 Tue 16:42:23 EDT
      updated_on          : 2018-07-31 Tue 16:42:23 EDT
      
      
      vss account get status
      Running latest version 0.4.7.
      
      active              : Yes
      updated_on          : 2018-07-31 Tue 15:42:16 EDT
      created_on          : 2016-05-13 Fri 16:45:51 EDT
      ip_address          : 142.150.131.101
      last_access         : 2018-07-31 Tue 15:42:16 EDT
  • Bug fixes
    • Fixed doc issue in Deploy Instance from image.
    • Fixed issue with Python 2 and 3 on Alpine Linux Segmentation Fault using vss stor commands.

Remember, VSSCLI documentation is now available in VSSCLI

Upgrade or install PyVSS as follows:

# using vsscli
vss upgrade

# upgrade with pip
pip install vsscli --upgrade

# install
pip install vsscli

Docker images available: uofteis/vsscli:py2 and uofteis/vsscli:py3:

docker run -it -v /tmp:/data \
-e VSS_API_USER=user_here -e VSS_API_USER_PASS=user_pass_here \
-e VSS_DEFAULT_OUTPUT=json \
uofteis/vsscli bash

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

University of Toronto - Since 1827