← Back to team overview

openstack team mailing list archive

Re: python-glanceclient

 

We should definitely push to consolidate common code for clients! We can use either glanceclient or quantumclient as a prototype. As for the auth code specifically, it can be replaced with something as simple as this:  https://github.com/openstack/python-glanceclient/blob/master/glanceclient/shell.py#L119


On Apr 4, 2012, at 9:11 AM, Dan Wendlandt wrote:

> Very cool guys!
> 
> We'll be reworking the Quantum client in a similar alignment effort during Folsom. 
> 
> One question to that end: is there any effort to get much of the code that will be common across all OpenStack python-*client projects into something like openstack-common (or an openstack-client-common)?  It seems like much of what is in https://github.com/openstack/python-glanceclient/tree/master/glanceclient/common would be useful across all projects.  The same could likely be said for the basic keystone code required by a client (e.g., https://github.com/openstack/python-novaclient/blob/master/novaclient/service_catalog.py).  
> Thanks, 
> 
> Dan
> 
> On Tue, Apr 3, 2012 at 8:39 PM, Brian Waldon <brian.waldon@xxxxxxxxxxxxx> wrote:
> In an effort to further align OpenStack API clients, Jay Pipes, Monty Taylor and myself have set up the python-glanceclient project. It is not intended to be a drop-in replacement for the existing client that lives in Glance, but a complete rewrite with a shiny new interface that maintains feature-parity.
> 
> As for integrating this new client with the necessary OpenStack projects, here's a little roadmap I came up with:
> 
> X 1) Basic functionality
> X 2) Integrate with Gerrit
> 3) Verify feature parity
> 4) Integrate with DevStack
> 5) Integrate with Nova
> 6) Drop old client from Glance
> 
> If anybody is interested in playing with the new client, here it is: https://github.com/openstack/python-glanceclient. You can either yell at me or use Gerrit to fix anything I may have overlooked. Thanks!
> 
> Brian Waldon
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
> 
> 
> 
> 
> -- 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Dan Wendlandt 
> Nicira Networks: www.nicira.com
> twitter: danwendlandt
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 


Follow ups

References