[openstack-dev] [openstackclient][openstacksdk] why does openstackclient rely on openstacksdk for get a network client

Artem Goncharov artem.goncharov at gmail.com
Tue Jun 19 16:28:54 UTC 2018


Hi,

No. Not right. Idea is to unify CLI for all projects inside of the
python-openstackclient and obsolete all individual python-XXXclients. This
can be achieved by using the openstacksdk. Network module was just first in
the row, where the progress stucked a bit.

Regards,


On Tue, Jun 19, 2018 at 6:15 PM, 李健 <zijian1012 at 163.com> wrote:

> Hello everyone
> ---------------
> CentOS Linux release 7.3.1611
> OpenStack Version: Newton
> # rpm -qa | egrep "(openstacksdk|openstackclient)"
> python-openstackclient-3.2.1-1.el7.noarch
> python2-openstacksdk-0.9.5-1.el7.noarch
> ----------------
> The openstack CLI is implemented by python-openstackclient.
> In the python-openstackclient package, the function make_client(instance)
> is used to obtain the client for each service (openstackclient/xxx/client.py),
> I noticed that almost all core services are import their own
> python2-xxxclient to get the client, for example:
> image/client.py --> import glanceclient.v2.client.Client
> compute/client.py --> import novaclient.client
> volume/client.py --> import cinderclient.v2.client.Client
>
> But only the network service is import openstacksdk to get the client, as
> follows:
> network/client.py --> import openstack.connection.Connection
>
> So, my question is, why does the network service not use the
> python2-neutronclient to get the client like other core projects, but
> instead uses another separate project(openstacksdk)?
> My personal opinion, openstacksdk is a project that can be used
> independently, it is mainly to provide a unified sdk for developers, so
> there should be no interdependence between python-xxxclient and
> openstacksdk, right?
>
> For any help, thks
>
>
> __________________________________________________________________________
> 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/20180619/e04c5f49/attachment-0001.html>


More information about the OpenStack-dev mailing list