[openstack-dev] [neutron] Openstack client, Openstack SDK and neutronclient consistency

Sławek Kapłoński slawek at kaplonski.pl
Wed Nov 16 21:36:41 UTC 2016


Hello,

Few days ago someone reported bug [1] and I started checking it. I found
that when I'm trying to create QoS policy with neutronclient or OSC then
name parameter is neccessary.
But this parameter is not neccessary in Neutron API - I can create
policy without name when calling API directly (e.g. with curl).
For me it is bug on neutronclient and openstack client side and it
should be IMHO fixed to allow creating QoS policy without name (so
without any parameter given in fact: "neutron qos-policy-create").

But today on QoS IRC meeting we were talking about it and reedip point
us another bug [2] (and his patch [3]) which concerns same problem but with
different parameter.
And in this patchset amotoki said that it can't be fixed in way that
allows to create resource without any parameter given in
openstack/neutron client.

So I want to ask all of You how in Your opinion it should be solved.
Currently there is inconsistency between CLI clients and
API/Horizon/Openstack SDK (I checked that it is possible to create
resource without name via SDK).
I checked it for QoS policy (and network in SDK) but I think that it
might be more generic issue.

[1] https://bugs.launchpad.net/neutron/+bug/1640767
[2] https://launchpad.net/bugs/1520055
[3] https://review.openstack.org/#/c/250587/

-- 
Best regards / Pozdrawiam
Sławek Kapłoński
slawek at kaplonski.pl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20161116/6db76ed0/attachment.pgp>


More information about the OpenStack-dev mailing list