Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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

Improvements

compute vm get|set disk up: option --notes to set texts metadata to disk (#500 #502)

Commands:

  • compute vm set <id> disk up <unit> --notes

  • compute vm get <id> disk

Description:

The --notes option allows users to set per disk notes stored locally on the VSS API.

vss-cli compute vm set <vm-id> disk up 1 --notes 'OS disk'
label               : Hard disk 1
notes               : OS disk

vss-cli compute vm set <vm-id> disk up 2 --notes 'Data disk'
label               : Hard disk 2
notes               : Data disk

vss-cli compute vm set <vm-id> disk up 3 --notes 'Backup disk'
label               : Hard disk 3
notes               : Backup disk

Now, the notes will be available to query with the vss-cli compute vm get <id> disk command

 vss-cli compute vm get <id> disk
label          unit  controller.label       capacity_gib  notes
-----------  ------  -------------------  --------------  -----------
Hard disk 2       2  SCSI controller 0:1             300  Data disk
Hard disk 3       3  SCSI controller 0:2              80  Backup disk
Hard disk 1       1  SCSI controller 0:0              20  OS disk

core: update click to 8.0.4. (#497)

core: update click-log to 0.4.0. (#498)

core: update dateparser to 1.1.1. (#488)

core: update pyvss to 2022.3.0. (#488)

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.

  • No labels