Implement magnum client commands

Registered by Amey Bhide

Implement magnum client commands

Implement the following commands that are exposed from the magnumclient:

    bay-create Create a bay.
    bay-delete Delete specified bay.
    bay-list Print a list of available bays.
    bay-show Show details about the given bay.
    bay-update Update information about the given bay.
    baymodel-create Create a baymodel.
    baymodel-delete Delete specified baymodel.
    baymodel-list Print a list of bay models.
    baymodel-show Show details about the given baymodel.
    container-create Create a container.
    container-delete Delete specified containers.
    container-execute Execute command in a container.
    container-list Print a list of available containers.
    container-logs Get logs of a container.
    container-pause Pause specified containers.
    container-reboot Reboot specified containers.
    container-show Show details of a container.
    container-start Start specified containers.
    container-stop Stop specified containers.
    container-unpause Unpause specified containers.
    node-create Create a node.
    node-list Print a list of configured nodes.
    pod-create Create a pod.
    pod-delete Delete specified pod.
    pod-list Print a list of registered pods.
    pod-show Show details about the given pod.
    pod-update Update information about the given pod.
    rc-create Create a replication controller.
    rc-delete Delete specified replication controller.
    rc-list Print a list of registered replication controllers.
    rc-show Show details about the given replication controller.
    rc-update Update information about the given replication controller.
    service-create Create a service.
    service-delete Delete specified service.
    service-list Print a list of services.
    service-show Show details about the given service.
    service-update Update information about the given service.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Amey Bhide
Direction:
Needs approval
Assignee:
Amey Bhide
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Steve Martinelli

Related branches

Sprints

Whiteboard

(stevemar): this should probably be done as an openstackclient plugin, and the source code be kept and maintained by the magnum team

Proposed Objects (http://docs.openstack.org/developer/python-openstackclient/commands.html#objects)

- bay
- bay model
- node
- pod
- replication controller

These commands conflict with existing namespace.

- container
- service

Proposed Actions (http://docs.openstack.org/developer/python-openstackclient/commands.html#actions)

These actions match the current namespace.

bay [ list | show | create | delete ]
bay model [ list | show | create | delete ]
container [ list | show | create | delete ]
container [ log show | pause | reboot | unpause ]
node [ list | create ]
pod [ list | show | create | delete ]
replication controller [ list | show | create | delete ]
service [ list | show | create | delete ]

These actions DO NOT match currently documented actions.

bay [ update ]
container [ execute | start | stop ]
pod [ update ]
replication controller [ update ]
service [ update ]

There is presently no native for the following? Should determine if this is need?

node [ show ]

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.