Feature #1797

Unify CLI command naming

Added by Javi Fontan over 8 years ago. Updated over 8 years ago.

Status:ClosedStart date:03/07/2013
Priority:NormalDue 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

Revision e59bf267
Added by Javi Fontan over 8 years ago

feature #1797: change --disk and --nic in onevm/template

Revision 21603b9a
Added by Javi Fontan over 8 years ago

feature #1797: change onevm disk actions

Revision 0c5fa057
Added by Javi Fontan over 8 years ago

feature #1797: bug in disk-snapshot

Revision 934abab3
Added by Javi Fontan over 8 years ago

feature #1797: merge onevm migrate and livemigrate

Revision b46c00d9
Added by Carlos Martín over 8 years ago

Feature #1797: Change name of actions in Request Manager

Revision e73117f2
Added by Carlos Martín over 8 years ago

Feature #1797: Change action names in java oca

Revision de813d90
Added by Carlos Martín over 8 years ago

Feature #1797: Add action name to the error message

Revision 28dae143
Added by Javi Fontan over 8 years ago

feature #1797: changed reboot in the CLI and ruby oca

Revision 9dd1baac
Added by Javi Fontan over 8 years ago

feature #1797: cli and ruby oca restart -> boot

Revision a7396fdf
Added by Javi Fontan over 8 years ago

feature #1797: change ruby oca reset method

Revision 207d2231
Added by Javi Fontan over 8 years ago

feature #1797: changed finalize and resubmit to destroy in cli and oca

Revision 2304bf84
Added by Javi Fontan over 8 years ago

feature #1797: change shutdown and cancel in CLI and ruby OCA

Revision 06abfef2
Added by Javi Fontan over 8 years ago

feature #1797: change migrate and livemigrate in ruby OCA

Revision fd4c454a
Added by Carlos Martín over 8 years ago

Feature #1797: Change onevm disk-snapshot, nic-attach / detach in CLI

Revision ddb8fc19
Added by Carlos Martín over 8 years ago

Feature #1797: Update onevm commands in host hook

Revision f4dff2ba
Added by Carlos Martín over 8 years ago

Feature #1797: typo

Revision 86330d05
Added by Carlos Martín over 8 years ago

Feature #1797: Update Scheduled action names

Revision 30a1e467
Added by Carlos Martín over 8 years ago

Feature #1797: Change names for disk snapshot, attach/detach and nic attach/detach

Revision 27b3d10b
Added by Carlos Martín over 8 years ago

Feature #1797: Rename new methods in java oca to be more consistent

Revision 662a3158
Added by Carlos Martín over 8 years ago

Feature #1797 Bug: Unknown actions were not correctly reported

Revision 33713020
Added by Carlos Martín over 8 years ago

Feature #1797: Update states-simple.dot

Revision b37396fa
Added by Carlos Martín over 8 years ago

Feature #1797: Update states-simple.dot
(cherry picked from commit 3371302024e66dc63da82942787a37c96f756b75)

Revision dbd1aabe
Added by Carlos Martín over 8 years ago

Feature #1797: Update states-complete.dot

Revision fa38898f
Added by Carlos Martín over 8 years ago

Feature #1797: Update states-complete.dot
(cherry picked from commit dbd1aabe8c2eea47c84626898b99e02788803b75)

Revision e53d97a5
Added by Carlos Martín over 8 years ago

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

Also available in: Atom PDF