New Quantum Client Lib & CLI

Registered by dan wendlandt

Obviously needs to be updated to work with new Quantum v2.0 API

From Folsom Etherpad:

  CLI / Client Rewrite
  What sucks now:
     Read env stuffs like from the stack.rc
     go here yo: http://wiki.openstack.org/QuantumStarterBugs see quantum client improvements

     list-extensions: see what is rocking on the server for extensions
         auto discover args and display them so the user knows they be there.

    Derp
    Need to do some cleanup before the One CLI to Rule Them All project is going to be far enough long to be usable for Quantum commands
    CLI should query Quantum to verify which servies are available and do prevalidation (possibly even turning off switches or features, or at least having the help report that the feature is not available)
    How do extensions add new commands or options?

Quantum auth support:
https://blueprints.launchpad.net/quantum/+spec/authorization-support-for-quantum

openstackclient project:
https://github.com/openstack/python-openstackclient
https://launchpad.net/python-openstackclient/trunk
openstack-common project:
https://github.com/openstack/openstack-common.git

Blueprint information

Status:
Complete
Approver:
dan wendlandt
Priority:
Essential
Drafter:
None
Direction:
Needs approval
Assignee:
yong sheng gong
Definition:
Review
Series goal:
Accepted for folsom
Implementation:
Implemented
Milestone target:
milestone icon 2012.2
Started by
dan wendlandt
Completed by
dan wendlandt

Related branches

Sprints

Whiteboard

Making this high priority in that we'll at least need a CLI that talks to the new v2.0 API and can authenticate using keystone.

Note necessarily setting this to blocked (even though final v2.0 API is not available) as there is probably other things you can make progress on, though we definitely need to get a v2 spec out as soon as possible.

Keystone support: https://review.openstack.org/#/c/7596/

V2.0 API client commands usage: https://docs.google.com/document/d/1e_4UtnhFfgtnsB8EVB31BZKldaVzl_BlsGnGBrKmcDk/edit

(?)

Work Items

Work items:
Keystone support: DONE
Support API v2.0: TODO
Integrate with DevStack: TODO
Support noauth: TODO
Use openstack common: TODO
Clean exception name: TODO
show resource with label: TODO

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.