[openstack-dev] [nova] Thoughts on testing novaclient functional with neutron

Matt Riedemann mriedem at linux.vnet.ibm.com
Sun Aug 14 17:49:46 UTC 2016


On 8/12/2016 1:03 PM, Dean Troyer wrote:
> On Fri, Aug 12, 2016 at 10:13 AM, Matt Riedemann
> <mriedem at linux.vnet.ibm.com <mailto:mriedem at linux.vnet.ibm.com>> wrote:
>
>     Another idea is the base functional test that sets up the client
>     just checks the keystone service catalog for a 'network' service
>     entry, somewhere in here:
>
>
> This is exactly the route OSC takes for those CLI commands that work
> against both nova-network and neutron.  It's only been released since
> earlier this year but appears to be working well in the field.  It boils
> down to:
>
>   if 'network' in service_catalog.get_endpoints():
>       # neutron
>   else:
>       # nova-net
>
> (service_catalog is from KSA's AccessInfo class)
>
> dt
>
> --
>
> Dean Troyer
> dtroyer at gmail.com <mailto:dtroyer at gmail.com>
>
>
> __________________________________________________________________________
> 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
>

Thanks, I got something working with keystoneclient, which we already 
had in the functional tests:

https://review.openstack.org/#/c/355215/

Now it's just a matter of resolving whatever is making 12 tests fail:

http://paste.openstack.org/show/557065/

-- 

Thanks,

Matt Riedemann




More information about the OpenStack-dev mailing list