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

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

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

Improvements

Snapshot command supports --consolidate option (#218)

Commands:

  • compute vm set snapshot mk --consolidate

Description

Option --consolidate indicates to run consolidation right after the snapshot has been removed

Usage: vss-cli compute vm set snapshot mk [OPTIONS]

  Create virtual machine snapshot:

  vss-cli compute vm set <name-or-uuid> snapshot mk -d 'Short description'

  Note: if -t/--timestamp not specified, the snapshot request timestamp is
  current time.

Options:
  -d, --description TEXT          A brief description of the snapshot.
                                  [required]
  -t, --timestamp [%Y-%m-%d %H:%M]
                                  Timestamp to create the snapshot from.
                                  [default: 2020-01-24 11:35]
  -l, --lifetime INTEGER RANGE    Number of hours the snapshot will live.
                                  [default: 24]
  -c, --consolidate               Consolidate disks after snapshot deletion
                                  [default: False]
  --help                          Show this message and exit.

HA-Group tagging removal and creation (#219)

Commands:

  • compute vm set ha-group mk
  • compute vm set ha-group rm

Description

Creation of HA-Group and member removal commands:

Usage: vss-cli compute vm set ha-group [OPTIONS] COMMAND [ARGS]...

  Manage HA group by tagging virtual machines with given virtual machine
  UUIDs.

  Checks will run every 3 hours to validate virtual machine association and
  domain separation.

Options:
  --help  Show this message and exit.

Commands:
  mk  Create HA-Group with multiple VMs
  rm  Remove VM from HA-Group

For example, the following command removes VM1 from a given HA-Group

vss-cli compute vm set --wait VM1 ha-group rm

pyvss upgrade from 0.11.0 -> 0.12.0 (#217)

Bug fixes

Fixes issue with documentation where --bill-dept was still found (#215)

Fixes issue with compute vm set guest-cmd command where it always failed (#216)

Fixes CI Pipeline failing due to missing docker image requirement (#220)


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 stable

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

# install
pip install vss-cli 


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

Related content

VSS Command Line Interface v0.2.7
VSS Command Line Interface v0.2.7
More like this
VSS Command Line Interface (vss-cli) v2022.8.0
VSS Command Line Interface (vss-cli) v2022.8.0
More like this
VSS Command Line Interface (vss-cli) v0.2.4 🎉
VSS Command Line Interface (vss-cli) v0.2.4 🎉
More like this
VSS Command Line Interface (vss-cli) v0.3.0🎉
VSS Command Line Interface (vss-cli) v0.3.0🎉
More like this
How-to Consolidate virtual machine disks
How-to Consolidate virtual machine disks
More like this
How-to Create Virtual Machine Snapshot
How-to Create Virtual Machine Snapshot
More like this

University of Toronto - Since 1827