<html><head><meta http-equiv="content-type" content="text/html; charset=GB2312"><style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: 'Microsoft YaHei UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span><span style="font-family: "" microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="">On Tue, Jun 19, 2018 at 11:15 AM, À <zijian1012 at 163.com> wrote:<br>>> So, my question is, why does the network service not use the<br>>> python2-neutronclient to get the client like other core projects, but<br>>> instead uses another separate project(openstacksdk)?<br><br>> There were multiple reasons to not use neutron client lib for OSC and<br>> the SDk was good enough at the time to use ut in spite of not being at<br>> a 1.0 release. We have intended to migrate everything to use<br>> OpenStackSDK and eliminate OSC's use of the python-*client libraries<br>> completely. </span></div><div><span style="font-family: "" microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'=""><div><br></div><div><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">Thks for replying, j</span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">ust want to confirm, you mentioned "We have intended to migrate everything to use</span></div><span microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgb(255,="" 255,="" 255);="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="" style="font-family: '';">OpenStackSDK", the current use of python-*client is:<br>1. OSC<br>2. a<span style="font-family: "" microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="">ll services </span>that need to interact with other services (<span style="font-family: "" microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="">e.g.: </span>nova </span></span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">libraries: </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">self.volume_api = volume_api or cinder.API()</span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">)</span></div><div><span style="font-family: "" microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'=""><span microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgb(255,="" 255,="" 255);="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="" style="font-family: '';">Do you mean that both of the above will be migrated to use the OpenStack SDK?</span></span></div><div><span style="font-family: "" microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'=""><br></span></div><div><span style="font-family: "" microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="">> We are waiting on an SDK 1.0 release, it has stretched on<br>> for years longer than originally anticipated but the changes we have<br>> had to accommodate in the network commands in the past convinced me to<br>> wait until it was declared stable, even though it has been nearly<br>> stable for a while now.<br><br>>> My personal opinion, openstacksdk is a project that can be used<br>>> independently, it is mainly to provide a unified sdk for developers, so<br>>> there should be no interdependence between python-xxxclient and<br>>> openstacksdk, right?<br><br>> Correct, OpenStackSDK has no dependency on any of the python-*client<br>> libraries.. Its primary dependency is on keystoneauth for the core<br>> authentication logic, that was long ago pulled out of the keystone<br>> client package.<br><br>> dt<br></span></div><div><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;"><br></span></div><div><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;"><br></span></div>
</body></html>