On 8/12/2016 1:03 PM, Dean Troyer wrote:
On Fri, Aug 12, 2016 at 10:13 AM, Matt Riedemann <[email protected] <mailto:[email protected]>> 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 [email protected] <mailto:[email protected]> __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: [email protected]?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 __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: [email protected]?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
