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