Feature #1797
Unify CLI command naming
Status: | Closed | Start date: | 03/07/2013 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | CLI | |||
Target version: | Release 4.0 | |||
Resolution: | fixed | Pull request: |
Description
Commands use very different naming one from another, for example the snapshot commands are:
* snapshot-create <range|vmid_list> [<name>] Creates a new VM snapshot valid options: schedule * snapshot-revert <vmid> <snapshot_id> Reverts a VM to a saved snapshot * snapshot-delete <vmid> <snapshot_id> Delets a snapshot of a VM
but attach/detach objects are:
* attachdisk <vmid> Attaches a disk to a running VM States: RUNNING valid options: file, image, target, cache * detachdisk <vmid> <diskid> Detaches a disk from a running VM States: RUNNING * attachnic <vmid> Attaches a NIC to a running VM States: RUNNING valid options: file, network, ip * detachnic <vmid> <nicid> Detaches a NIC from a running VM States: RUNNING
Associated revisions
feature #1797: change --disk and --nic in onevm/template
feature #1797: change onevm disk actions
feature #1797: bug in disk-snapshot
feature #1797: merge onevm migrate and livemigrate
Feature #1797: Change name of actions in Request Manager
Feature #1797: Change action names in java oca
Feature #1797: Add action name to the error message
feature #1797: changed reboot in the CLI and ruby oca
feature #1797: cli and ruby oca restart -> boot
feature #1797: change ruby oca reset method
feature #1797: changed finalize and resubmit to destroy in cli and oca
feature #1797: change shutdown and cancel in CLI and ruby OCA
feature #1797: change migrate and livemigrate in ruby OCA
Feature #1797: Change onevm disk-snapshot, nic-attach / detach in CLI
Feature #1797: Update onevm commands in host hook
Feature #1797: typo
Feature #1797: Update Scheduled action names
Feature #1797: Change names for disk snapshot, attach/detach and nic attach/detach
Feature #1797: Rename new methods in java oca to be more consistent
Feature #1797 Bug: Unknown actions were not correctly reported
Feature #1797: Update states-simple.dot
Feature #1797: Update states-simple.dot
(cherry picked from commit 3371302024e66dc63da82942787a37c96f756b75)
Feature #1797: Update states-complete.dot
Feature #1797: Update states-complete.dot
(cherry picked from commit dbd1aabe8c2eea47c84626898b99e02788803b75)
Feature #1797: The action to wake up a poweroff VM is now 'resume'
History
#1 Updated by Javi Fontan over 8 years ago
- Status changed from New to Closed
- Target version set to Release 4.0
- Resolution set to fixed