vmware-archive / vcd-cli

Command Line Interface for VMware vCloud Director
https://vmware.github.io/vcd-cli
Other
165 stars 106 forks source link

vcd-cli command for removing snapshot on a VM is missing #495

Closed swerveshot closed 5 years ago

swerveshot commented 5 years ago

Environment

Python 3.6.8 pyvcloud (21.0.0) vcd-cli, VMware vCloud Director Command Line Interface, 22.0.0

Proposed Functionality

Just as with vApps I'd like to have the ability to create, revert to and remove a snapshot of a specific VM. There is a PR #261 that implements this command. But it was never merged.

pandeys commented 5 years ago

These functionalities are available in current github code.

swerveshot commented 5 years ago

Thanks for your feedback @pandeys. Can you point me to the location please? Because I'm not able to find it in the repository.

pandeys commented 5 years ago

My bad. remove-snapshot is available in pyvcloud but not in vcd-cli. Create and revert to snapshot is there in vcd-cli. We will add remove-snaphot in code.

swerveshot commented 5 years ago

As long as pyvcloud has the appropriate function it's probably an easy task to implement this feature.

pandeys commented 5 years ago

remove-snapshot code is added.