nova/nova/tests/unit/virt
Sergii Golovatiuk 7ee5499e55 libvirt: Always escape IPv6 addresses when used in migration URI
If IPv6 is passed to URI it should be wrapped within square brackets.
This patch detects IPv6 to form migration URI properly. Domain name, IPv4 or
already bracketed IPv6 address will pass as is

Extend tests to include collapsed IPv6 addresses and IPv6 addresses with
port

Change-Id: I1201db996ea6ceaebd49479b298d74585a78b006
Closes-Bug: #1786058
(cherry picked from commit 8b019d6f1e)
2018-09-03 14:51:26 +00:00
..
disk Grease some more tests hitting RetryDecorator 2018-08-02 20:55:03 +00:00
hyperv Hyper-V + OVS: plug vifs before starting VMs 2018-07-25 10:49:47 +03:00
image Use assert(Not)Equal instead of assertTrue(A == X) 2016-06-03 16:53:15 +01:00
ironic ironic: Report resources as reserved when needed 2018-07-24 15:16:15 -04:00
libvirt libvirt: Always escape IPv6 addresses when used in migration URI 2018-09-03 14:51:26 +00:00
powervm Merge "Rename recreate to evacuate in driver signatures" 2018-07-21 23:19:40 +00:00
vmwareapi Rename recreate to evacuate in driver signatures 2018-04-19 14:07:47 +01:00
xenapi Use nova.db.api directly 2018-07-10 14:56:27 +00:00
zvm z/VM Driver: add get console output 2018-07-16 11:35:11 +08:00
__init__.py
fakelibosinfo.py Fix misuse of assertTrue in console and virt tests 2016-02-22 16:09:21 +09:00
test_block_device.py block_device: Rollback volumes to in-use on DeviceDetachFailed 2018-08-10 15:37:26 +00:00
test_configdrive.py
test_driver.py Remove usage of parameter enforce_type 2017-04-17 20:23:19 +08:00
test_events.py
test_fake.py
test_firewall.py remove get_nw_info_for_instance from compute.utils 2017-06-13 13:30:06 +02:00
test_hardware.py Assorted cleanups from numa-aware-vswitches series 2018-07-27 09:49:12 -07:00
test_imagecache.py Remove mox from tests/unit/virt/test_imagecache.py 2016-06-16 23:40:01 +00:00
test_images.py Fix execute mock for test_convert_image_with_errors 2018-06-14 12:33:21 +00:00
test_netutils.py Remove unnecessary code 2017-07-28 06:01:21 +00:00
test_osinfo.py Do not attempt to load osinfo if we do not have os_distro 2017-03-23 22:07:03 -04:00
test_virt.py Rename block_device_info_get_root 2018-01-11 20:46:13 +00:00
test_virt_drivers.py Revert "libvirt: slow live-migration to ensure network is ready" 2018-08-13 06:20:04 +00:00