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

Doug Hellmann doug at doughellmann.com
Wed Nov 11 15:56:31 UTC 2015


> On Nov 11, 2015, at 3:54 AM, Andrey Kurilin <akurilin at mirantis.com> wrote:
> 
> 
> 
> On Tue, Nov 10, 2015 at 4:25 PM, Sean Dague <sean at dague.net <mailto:sean at dague.net>> wrote:
> On 11/10/2015 08:24 AM, Andrey Kurilin wrote:
> >>It was also proposed to reuse openstackclient or the openstack SDK.
> >
> > Openstack SDK was proposed a long time ago(it looks like it was several
> > cycles ago) as "alternative" for cliutils and apiclient, but I don't
> > know any client which use it yet. Maybe openstacksdk cores should try to
> > port any client as an example of how their project should be used.
> 
> The SDK is targeted for end user applications, not service clients. I do
> get there was lots of confusion over this, but SDK is not the answer
> here for service clients.
> 
> Ok, thanks for explanation, but there is another question in my head: If openstacksdk is not for python-*clients, why apiclient(which is actually used by python-*clients) was marked as deprecated due to openstacksdk? 

The Oslo team wanted to deprecate the API client code because it wasn’t being maintained. We thought at the time we did so that the SDK would replace the clients, but discussions since that time have changed direction.

> 
> The service clients are *always* going to have to exist in some form.
> Either as libraries that services produce, or by services deciding they
> don't want to consume the libraries of other clients and just put a
> targeted bit of rest code in their own tree to talk to other services.
> 
>         -Sean
> 
> --
> Sean Dague
> http://dague.net <http://dague.net/>
> 
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe <http://OpenStack-dev-request@lists.openstack.org/?subject:unsubscribe>
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev>
> 
> 
> 
> -- 
> Best regards,
> Andrey Kurilin.
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org <mailto:OpenStack-dev-request at lists.openstack.org>?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev <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/20151111/d457a660/attachment.html>


More information about the OpenStack-dev mailing list