implement nova client commands

Registered by Doug Hellmann

Implement the features provided by the existing nova command.

Blueprint information

Status:
Complete
Approver:
None
Priority:
High
Drafter:
None
Direction:
Needs approval
Assignee:
Dean Troyer
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon m1
Started by
Dean Troyer
Completed by
Dean Troyer

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bug/992841,n,z

Addressed by: https://review.openstack.org/7041
    Fix "help" command and implement "list server" and "show server"

Completed:
- aggregate (add, create, delete, list, set, remove, show)
- agent: create, delete, list, set
- console: show
- diagnostics
- fixed-ip: add, remove
- flavor: create, delete, list, show
- floating-ip: add, create, delete, list, remove
- floating-ip-pool: list
- host: list, set, show
- hypervisor: list, show
- keypair: create, delete, list, show
- secgroup: create, delete, list
- secgroup: add, remove
- secgroup-rule: create, delete
- server commands: create, delete, list, pause, reboot, rebuild, resume, show, suspend, unpause
- server: lock, migrate, rescue, resize, set, ssh, unlock, unrescue, unset
- usage

Not Being Done:
- bash-completion (need unified approach for all APIs)
- credentials (should be part of Identity?)
- dns, dns-domain, dns-public-domain (needs some thought for command format)
- endpoints (handled by keystone)
- image (hanlded in glance work)
- limits (absolute, rate) (handled by common)
- quota, quota-class (handled by common)
- resource - not present in current nova command
- server rename - implemented as server set --name
- volume, volume-snapshot, volume-type (handled by cinder work)

Remaining:
- cloudpipe
- x509-cert, x509-root-cert

Gerrit topic: https://review.openstack.org/#q,topic:bp/nova-client,n,z

Addressed by: https://review.openstack.org/26979
    Add console commands

Gerrit topic: https://review.openstack.org/#q,topic:bug/1172032,n,z

Addressed by: https://review.openstack.org/36730
    Add aggregate commands

Addressed by: https://review.openstack.org/38096
    Add server diagnose for compute api

Addressed by: https://review.openstack.org/38097
    Add usage command for compute api

Addressed by: https://review.openstack.org/38369
    Add security group commands

Addressed by: https://review.openstack.org/38698
    Add server commands: (un)lock, (un)rescue, (un)set, add/remove volume

Addressed by: https://review.openstack.org/38720
    Add server resize command

Addressed by: https://review.openstack.org/38881
    Add server migrate command

(?)

Work Items

Work items:
Add aggregate commands: DONE
Add credentials commands: DONE
Add diagnostics commands: DONE
Add endpoints commands: DONE
Add limits commands: DONE
Add quota commands: DONE
Add security group [create, delete, list, set, show] commands: DONE
Add security group rule [create, delete, list] commands: DONE
Add server lock, unlock commands: DONE
Add server migrate command: DONE
Add server rescue, unrescue commands: DONE
Add server resize command: DONE
Add server set, unset commands: DONE
Add server ssh command: DONE
Add server security group [add, remove] commands: DONE
Add usage command: DONE
Add volume [attach, detach] commands: DONE

This blueprint contains Public information 
Everyone can see this information.