[openstack-dev] [oslo] Graduate cliutils.py into oslo.utils

Steve Martinelli stevemar at ca.ibm.com
Tue Nov 10 13:48:10 UTC 2015


yes +1000 to keystoneauth1 + cliff (we can easily make OSC
plugins/extensions this way).

Existing clients using cliutils.py can continue to use their local sync'ed
copies.

I really didn't want to see library for apiclient/* since all the files in
there are marked as deprecated!!
https://github.com/openstack/oslo-incubator/tree/master/openstack/common/apiclient

Thanks,

Steve Martinelli
OpenStack Keystone Project Team Lead



From:	Sean Dague <sean at dague.net>
To:	openstack-dev at lists.openstack.org
Date:	2015/11/10 08:03 AM
Subject:	Re: [openstack-dev] [oslo] Graduate cliutils.py into oslo.utils



On 11/10/2015 07:41 AM, Julien Danjou wrote:
> On Tue, Nov 10 2015, Davanum Srinivas wrote:
>
>> Julien, Victor,
>>
>> How about - oslo.cli = apiclient/*.py + cliutils.py - since we already
>> have a spec for a new library for apiclient
>
> I may be lacking context here, but we built a new complete client
> recently (python-gnocchiclient) without apiclient and cliutils at all.
> We just used cliff and keystoneauth1.
>
> So I really doubt we need these legacy libraries nowadays. Isn't the
> best option to just let them die and spend efforts moving clients away
> From them?

Yes, they should honestly just be cut loose in the client trees, and
clients should be encouraged to go the keystoneauth1 / cliff route in
the future.

280 lines of code across 11 clients isn't actually that much code, it's
1% of novaclient. It's not really worth building a new library for
especially because we don't actually want to encourage people to do this
any more.

		 -Sean

--
Sean Dague
http://dague.net

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151110/2d706610/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151110/2d706610/attachment.gif>


More information about the OpenStack-dev mailing list