<div dir="ltr">Hi,<div><br></div><div>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.</div><div><br></div><div>Regards,</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 19, 2018 at 6:15 PM, 李健 <span dir="ltr"><<a href="mailto:zijian1012@163.com" target="_blank">zijian1012@163.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

    

<div>

<div style="font-family:Helvetica,Helvetica,微软雅黑,宋体;line-height:1.6">
    <div>
<div><div style="font-family:Helvetica,Helvetica,微软雅黑,宋体">Hello everyone</div><div style="font-family:Helvetica,Helvetica,微软雅黑,宋体">---------------</div><div style="font-family:Helvetica,Helvetica,微软雅黑,宋体">CentOS Linux release 7.3.1611</div><div style="font-family:Helvetica,Helvetica,微软雅黑,宋体">OpenStack Version: Newton</div><div style="font-family:Helvetica,Helvetica,微软雅黑,宋体"><div># rpm -qa | egrep "(openstacksdk|<wbr>openstackclient)"</div><div>python-openstackclient-3.2.1-<wbr>1.el7.noarch</div><div>python2-openstacksdk-0.9.5-1.<wbr>el7.noarch</div></div><div style="font-family:Helvetica,Helvetica,微软雅黑,宋体">----------------</div><div style="font-family:Helvetica,Helvetica,微软雅黑,宋体">The openstack CLI is implemented by python-openstackclient. </div><div style="font-family:Helvetica,Helvetica,微软雅黑,宋体">In the python-openstackclient package, the function make_client(instance) is used to obtain the client for each service (openstackclient/xxx/client.<wbr>py), I noticed that almost all core services are import their own python2-xxxclient to get the client, for example:</div><div style="font-family:Helvetica,Helvetica,微软雅黑,宋体"><div>image/client.py --> import glanceclient.v2.client.Client</div><div>compute/client.py --> import novaclient.client</div><div>volume/client.py --> import cinderclient.v2.client.Client</div><div><br></div><div>But only the network service is import openstacksdk to get the client, as follows:</div><div>network/client.py --> import openstack.connection.<wbr>Connection</div><div><br></div><div>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)?  </div></div><div style="font-family:Helvetica,Helvetica,微软雅黑,宋体">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? </div><div style="font-family:Helvetica,Helvetica,微软雅黑,宋体"><br></div><div style="font-family:Helvetica,Helvetica,微软雅黑,宋体">For any help, thks</div></div><div id="m_-618158581855735666ntes-pcmail-signature" style="font-family:''"><font style="padding:0;margin:0">                </font>

</div><br>
</div>
</div>
</div>
<br>______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
<br></blockquote></div><br></div>