nova/nova/tests/unit/virt/libvirt
Vladik Romanovsky ce513278f1 libvirt: set vlan tag for macvtap on SR-IOV VFs
Starting from version 1.3.5, Libvirt allows to set a vlan tag for macvtap
passthrough mode on SR-IOV VFs. Libvirt also removes any vlan tags that
has been set externally, by the ip link command.

In order to support the older libvirt versions, this code will make
the behaviour backward compatible by checking the libvirt version.
This can be completely removed once the minimum libvirt version will increase.

Change-Id: Ia14e78e0eda81b8d29d5aa6e07e68777665d0710
Closes-Bug: #1657035
(cherry picked from commit bf3ba76a91)
2017-03-21 14:59:09 -04:00
..
storage Port libvirt.storage.test_rbd to Python 3 2016-12-15 13:38:53 +00:00
volume libvirt: workaround findmnt behaviour change 2017-01-16 11:32:07 +00:00
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
fake_imagebackend.py [TrivialFix] Fix comment and function name typo error 2016-12-22 15:20:23 +08:00
fake_libvirt_utils.py libvirt: ephemeral disk support for virtuozzo containers 2017-01-26 14:19:08 +03:00
fake_os_brick_connector.py Switch to using os-brick 2015-07-27 10:47:22 -07:00
fakelibvirt.py Merge "libvirt: fix nova can't delete the instance with nvram" 2017-02-01 16:36:10 +00:00
test_blockinfo.py Merge "Fix root_device_name for Xen" 2017-01-31 18:56:46 +00:00
test_compat.py Workaround for race condition in libvirt 2015-03-14 20:17:41 -03:00
test_config.py libvirt: Use the mirror element to detect job completion 2017-01-25 11:35:47 +00:00
test_designer.py libvirt: avoid generating script with empty path 2017-01-24 12:50:49 +00:00
test_driver.py Merge "Ensure that instance directory is removed after success migration/resize" into stable/ocata 2017-03-13 16:30:21 +00:00
test_fakelibvirt.py [py35] Fixes to get rally scenarios working 2017-01-13 15:44:00 +00:00
test_firewall.py Port libvirt.test_firewall to Python 3 2017-01-05 10:26:19 +00:00
test_guest.py Merge "libvirt: fix nova can't delete the instance with nvram" 2017-02-01 16:36:10 +00:00
test_host.py libvirt: Flatten 'get_domain' function 2016-12-14 18:47:46 +00:00
test_imagebackend.py Merge "Remove mox from unit/virt/libvirt/test_imagebackend.py (5)" 2017-01-28 00:24:10 +00:00
test_imagecache.py conf: Remove config option compute_ manager 2016-12-08 20:05:52 +08:00
test_migration.py Change exponential function to linear 2017-01-26 15:24:20 +00:00
test_utils.py Merge "libvirt: workaround findmnt behaviour change" 2017-02-03 13:37:23 +00:00
test_vif.py libvirt: set vlan tag for macvtap on SR-IOV VFs 2017-03-21 14:59:09 -04:00