<div dir="ltr"><div>Thanks Matt for bringing this up/</div><div><br></div><div>There is a tiny start in flight here [0] - if you plan to work on providing full testing coverage for the n-net api you may want to create a spec with a link to an etherpad to help track / split the work.</div>
<div><br></div><div>andrea</div><div><br></div>[0] <a href="https://review.openstack.org/#/c/107552/21">https://review.openstack.org/#/c/107552/21</a><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On 8 August 2014 15:42, Matt Riedemann <span dir="ltr"><<a href="mailto:mriedem@linux.vnet.ibm.com" target="_blank">mriedem@linux.vnet.ibm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This came up while reviewing the fix for bug 1327406 [1]. Basically the os-networks API behaves differently depending on your backing network manager in nova-network.<br>
<br>
We run Tempest in the gate with the FlatDHCPManager, which has the bug; if you try to list networks as a non-admin user it won't return anything you can't assign those networks to a tenant. With VlanManager you do assign a tenant so list-networks works.<br>
<br>
I don't see any os-networks API testing in Tempest today and I'm looking to add something, at least for listing networks to show that this bug exists (plus get coverage). The question is do I need a qa-spec to do this? When I wrote the tests for os-quota-classes it was for a bug fix since we regressed when we thought the API was broken and unused and it was erroneously removed in Icehouse. I figured I'd treat this the same way, but it's going to require changes to the servers client to call the os-networks API, plus a new test module.<br>
<br>
As far as the test design, we'd skip if using neutron since this is a nova-network only test. As far as how to figure out the proper assertions given we don't know what the backing network manager is and the API is inconsistent in that regard, I might have some other hurdles there but would at least like to get a POC going.<br>
<br>
I guess I can do the POC before the question of blueprints/specs needs to be answered...<br>
<br>
[1] <a href="https://launchpad.net/bugs/1327406" target="_blank">https://launchpad.net/bugs/<u></u>1327406</a><span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
<br>
Thanks,<br>
<br>
Matt Riedemann<br>
<br>
<br>
______________________________<u></u>_________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.<u></u>org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
</font></span></blockquote></div><br></div>