nova/nova/tests/unit/virt
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
..
disk Merge "Guestfs handle no passwd or group in image" 2016-12-12 06:27:16 +00:00
hyperv hyperv: make sure to plug OVS VIFs after resize/migrate 2017-02-07 18:39:45 +00:00
image Use assert(Not)Equal instead of assertTrue(A == X) 2016-06-03 16:53:15 +01:00
ironic Merge "ironic: Add trigger crash dump support to ironic driver" 2017-01-31 19:10:18 +00:00
libvirt libvirt: set vlan tag for macvtap on SR-IOV VFs 2017-03-21 14:59:09 -04:00
vmwareapi Port virt vmwareapi tests to Python 3 2016-12-13 15:32:04 +08:00
xenapi Deprecate xenserver.vif_driver config option and change default 2017-02-16 12:47:16 -05: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: Make refresh_conn_infos py3 compatible 2016-10-11 13:53:00 +01:00
test_configdrive.py force_config_drive: StrOpt -> BoolOpt 2015-11-11 19:59:22 +00:00
test_diagnostics.py
test_driver.py Move driver_dict_from_config to libvirt driver 2016-11-09 11:48:20 -05:00
test_events.py
test_fake.py fake: fix public API signatures to match virt driver 2015-02-19 11:44:00 +00:00
test_firewall.py Use more specific asserts in tests 2016-10-12 11:12:08 +01:00
test_hardware.py Mark sibling CPUs as 'used' for cpu_thread_policy = 'isolated' 2016-12-13 11:23:07 +04:00
test_imagecache.py Remove mox from tests/unit/virt/test_imagecache.py 2016-06-16 23:40:01 +00:00
test_images.py Bump prlimit cpu time for qemu from 2 to 8 2016-12-08 10:41:31 -05:00
test_netutils.py libvirt: expose virtual interfaces with vlans to metadata 2017-01-26 17:06:56 -05:00
test_osinfo.py Fix misuse of assertTrue in console and virt tests 2016-02-22 16:09:21 +09:00
test_virt.py Remove mox from nova/tests/unit/virt/test_virt.py 2016-11-28 08:49:51 +00:00
test_virt_drivers.py Stub out os_vif.unplug in libvirt instance destroy tests 2017-01-03 20:59:37 -05:00
test_volumeutils.py Switch to using os-brick 2015-07-27 10:47:22 -07:00