VSS Command Line Interface v0.4.3

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

  • Improvements
    • Obtain backing information from a given disk with vss compute vm get <uuid> disk 1 --backing/-b

      vss compute vm get <uuid> disk 1 --backing
    • Updated vss compute inventory mk with latest vm properties from the API. Now, uuid and name are included by default and if folder or domain are included, additional items will aper as folderMoId and domainMoId:

      Usage: vss compute inventory mk [OPTIONS] [ATTRIBUTE]...
      
        Submits an inventory report request resulting in a file with your virtual
        machines and more than 30 attributes in either JSON or CSV format.
      
        The following attributes can be requested in the report:
      
        status, domain, diskCount, uuid, nics, state, hostName, vmtRunning,
        memory, provisionedSpace, osId, folder, snapshot, requested, networkIds,
        hardwareVersion, changeLog, haGroup, usedSpace, nicCount,
        uncommittedSpace, name, admin, disks, vmtVersion, inform, client,
        guestOsId, clientNotes, ipAddress, cpu
      
      Options:
        -f, --format [json|csv]  hide header
        -a, --all                include all attributes
        --help                   Show this message and exit.
    • New example to manage network interfaces states.

  • Bug fixes
    • Fixed issue in Snapshots example.
    • Fixed error when executing vss compute net get and vss compute domain net <moref> vms.

Remember, VSSCLI documentation is now available in VSSCLI

Upgrade or install PyVSS as follows:

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

# install
pip install vsscli

Docker images available: uofteis/vsscli:py27 and uofteis/vsscli:py36:

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