VSS Command Line Interface v0.3.1

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

  • Improvement
    • Virtual machine hardware version now included in vss compute vm ls --summary/-s command

      vss compute vm ls --summary 
      uuid                                  name                    folder          cpuCount    memoryGB  powerState    guestFullName    version
      ------------------------------------  ----------------------  ------------  ----------  ----------  ------------  ---------------  ---------
      5012a9ec-bbc7-988c-91c9-7e586a75578f  1804T-sad_leakey-Clone  Sandbox > jm           1          1   poweredOff    Other (64-bit)   vmx-10
      5012c18f-156b-be2a-443a-d8efd57deb87  1711P-sad_leakey        Sandbox > jm           1          1   poweredOff    Other (64-bit)   vmx-10
  • New feature
    • Ability to obtain virtual machine hardware version and virtual hardware upgrade policy:

      vss compute vm get <uuid> version
      Uuid                         : <uuid>
      Value                        : vmx-10
      Status                       : ok
      Upgrade_Policy Upgrade Policy: never
    • Update virtual machine hardware version and upgrade policy:

      # set new hardware version
      vss compute vm set <uuid> version vmx vmx-10
      # set new hardware upgrade policy
      vss compute vm set <uuid> version policy never|onSoftPowerOff|always
      
      

Remember, VSSCLI documentation is now available in EIS - VSS - VSSCLI

Upgrade or install PyVSS as follows:

# from version 0.2.5 you can run
vss upgrade
# upgrade
pip install vsscli --upgrade

# install
pip install vsscli

Docker images available: uofteis/vsscli:py27:

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.