Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Resources for VM disk and NIC creation/deletion have been improved to handle multiple items in a single request. This simplifies the process of both creating and deleting multiple devices, as well as avoiding collisions for multiple request processing from any client.

Code Block
# Multiple Disk/NIC creation
vss POSTcompute /v2/vm/<uuid>/disk value:='[100, 200]'
POST /v2/vm/<uuid>/nic value:='["dvmoref-01", "dvmoref-02"]'vm set <uuid> nic mk -n dvmoref-0 -n dvmoref-1
vss compute vm set <uuid> disk mk -c 1 -c 2 -c 3

# Multiple Disk/NIC unit deletion
DELETE /v2/vm/<uuid>/disk value:='[2, 3]'
DELETE /v2/vm/<uuid>/nic value:='[4, 5]'vss compute vm set <uuid> nic rm 1 2 3
vss compute vm set <uuid> disk rm 1 2 3
Note

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

...