nova/nova/virt/libvirt
Sean Mooney 127dd738c0 add mtu to libvirt xml for ethernet and bridge types
Where libvirt is creating the tap device e.g: OVS bridge
(hybrid=False). os-vif will just ensure that the OVS bridge exists. We
want libvirt to create the tap, configure the MTU and then plug the
tap into the right bridge.

- This change adds the mtu element to libvirt guest
  interface xml for vifs of type ethernet and bridge.
- This change adds a libvirt version check
  to enable setting the interface mtu on hosts with
  libvirt 3.3.0+

Conflicts:
        nova/virt/libvirt/vif.py

NOTE(lyarwood): This conflict is due to the removal of IVS plug/unplug
via dIcf948f6ee1c0da2327fb5eac61fec6e89ac30531 during Rocky, resulting
in the eventual master change having to reintroduce get_config_bridge
that is already present in stable/queens.

Change-Id: Iecc265fb25e88fa00a66f1fd38e215cad53e7669
Partial-bug: #1747496
(cherry picked from commit f02b380005)
2018-07-04 17:33:26 +01:00
..
storage Move shred to privsep. 2017-10-23 09:36:28 +11:00
volume libvirt: fix native luks encryption failure to find volume_id 2018-02-02 15:00:30 -05:00
__init__.py Remove vi modelines 2014-02-03 14:19:44 +00:00
blockinfo.py Rename block_device_info_get_root 2018-01-11 20:46:13 +00:00
compat.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
config.py add mtu to libvirt xml for ethernet and bridge types 2018-07-04 17:33:26 +01:00
designer.py add mtu to libvirt xml for ethernet and bridge types 2018-07-04 17:33:26 +01:00
driver.py libvirt: Skip fetching the virtual size of block devices 2018-05-31 10:49:19 +01:00
firewall.py Replaces uuid.uuid4 with uuidutils.generate_uuid() 2017-07-25 10:45:03 +05:30
guest.py Remove unnecessary execute permissions in files 2018-01-15 23:53:01 +09:00
host.py Encode libvirt domain XML in UTF-8 2018-02-08 15:45:59 -05:00
imagebackend.py Move ploop commands to privsep. 2017-09-28 07:29:51 +10:00
imagecache.py Move the dac_admin privsep code to a new location. 2017-09-18 23:14:11 +10:00
instancejobtracker.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
migration.py libvirt: QEMU native LUKS decryption for encrypted volumes 2018-01-23 10:47:05 +00:00
utils.py Move the idmapshift binary into privsep. 2017-10-24 18:50:23 +11:00
vif.py add mtu to libvirt xml for ethernet and bridge types 2018-07-04 17:33:26 +01:00