neutron/neutron/tests/unit/common
aojeagarcia 1984372973 Allow Ipv6 addresses for nova_metadata_host
Current logic didn't check if the nova_metadata_host is an IPv6 address
causing the proxy request to fail with an exception because the url is
not valid.

This patchs check if the nova_metadata_host is an IPv6 address and
create a valid url enclosing the IPv6 address with brackets

Closes-Bug: #1796593

Change-Id: Ibfebffcec2c8860237a1f151084de978a7863bd8
Signed-off-by: aojeagarcia <aojeagarcia@suse.com>
(cherry picked from commit 85588ad38e)
2018-10-13 07:14:05 +00:00
..
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
moved_globals_code1.py debtcollector for globals 2016-08-30 10:18:19 -04:00
moved_globals_code2.py debtcollector for globals 2016-08-30 10:18:19 -04:00
moved_globals_target.py debtcollector for globals 2016-08-30 10:18:19 -04:00
test__deprecate.py debtcollector for globals 2016-08-30 10:18:19 -04:00
test_cache_utils.py Remove deprecated cache_url 2017-11-10 00:47:19 -05:00
test_ipv6_utils.py Allow Ipv6 addresses for nova_metadata_host 2018-10-13 07:14:05 +00:00
test_rpc.py Switch to oslo_messaging.ConfFixture.transport_url 2018-06-05 12:33:55 +10:00
test_utils.py use get_port_binding_by_status_and_host from lib 2018-07-30 07:10:23 -06:00