nova/nova/tests/unit/virt/libvirt
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
..
storage Merge "Revert "Re-using the code of os brick cinder"" 2018-06-19 02:08:35 +00:00
volume Merge "Add enhanced KVM storage QoS quotas" 2018-06-14 15:47:45 +00:00
__init__.py
fake_imagebackend.py libvirt: update logic to configure device for scsi controller 2017-07-03 03:23:53 -04:00
fake_libvirt_utils.py Add method to get cpu traits 2018-07-24 12:37:46 +00:00
fake_os_brick_connector.py Switch to using os-brick 2015-07-27 10:47:22 -07:00
fakelibvirt.py Merge "Improve NeutronFixture and remove unncessary stubbing" 2018-08-02 17:44:55 +00:00
test_blockinfo.py Modify the test case of get_disk_mapping_rescue_with_config 2018-01-12 14:08:51 +08:00
test_compat.py Workaround for race condition in libvirt 2015-03-14 20:17:41 -03:00
test_config.py conf: libvirt: Make `/dev/urandom` the default for 'rng_dev_path' 2018-06-26 17:55:11 +02:00
test_designer.py add mtu to libvirt xml for ethernet and bridge types 2018-06-06 09:39:40 -04:00
test_driver.py libvirt: Always escape IPv6 addresses when used in migration URI 2018-09-03 14:51:26 +00:00
test_fakelibvirt.py conf: Deprecate 'keymap' options 2018-03-07 10:18:23 +00:00
test_firewall.py Don't modify objects directly 2018-01-30 16:35:02 +00:00
test_guest.py Merge "Grease some more tests hitting RetryDecorator" 2018-08-07 11:08:59 +00:00
test_host.py libvirt: Don't react to VIR_DOMAIN_EVENT_SUSPENDED_MIGRATED events 2018-08-23 14:44:22 -04:00
test_imagebackend.py Move image conversion to privsep. 2018-05-15 10:09:01 -04:00
test_imagecache.py Move the dac_admin privsep code to a new location. 2017-09-18 23:14:11 +10:00
test_migration.py libvirt: use dest host vif migrate details for live migration 2018-07-19 09:08:12 -04:00
test_utils.py Plumb trusted_certs through the compute service 2018-06-12 16:58:25 -04:00
test_vif.py Merge "Use vif.vif_name in _set_config_VIFGeneric" 2018-07-30 12:53:46 +00:00