openstack-python-openstackc.../openstackclient/network
Glenn Van de Water 7741347041 Fix service discovery in functional tests
If a required service is not enabled then we skip the test.
The discovery is done by tests/functional/base.py:is_service_enabled
but this method is broken, credentials are not passed to the
'openstack service show' command so every call will fail and every test
that relies on it will be skipped. This commit fixed that method and
the issues that popped up when re-enabling tests.

Network segment range:
 - issue where we assumed network-segment-range extension is always
   present
 - issue where we compare integers and string representations of numbers

Subnet:
 - issue where we try to deepcopy an uncopyable object in UnsetSubnet

Change-Id: Id3cc907c1ed2a25b49cf6f4a7233e0401a02383a
Story: 2005169
Task: 29908
2019-03-13 16:16:24 +01:00
..
v2 Fix service discovery in functional tests 2019-03-13 16:16:24 +01:00
__init__.py Network CRUD 2014-06-24 15:00:25 -06:00
client.py Make Profile fallback go bye-bye 2018-03-14 10:57:13 -05:00
common.py Add dns-domain support to Network object 2018-04-23 08:37:27 +00:00
sdk_utils.py Avoid default mutable values in arguments 2017-10-10 14:04:40 +01:00
utils.py Refactor security group show to use SDK 2016-03-10 08:33:52 -06:00