127dd738c0
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
|
||
---|---|---|
.. | ||
storage | ||
volume | ||
__init__.py | ||
blockinfo.py | ||
compat.py | ||
config.py | ||
designer.py | ||
driver.py | ||
firewall.py | ||
guest.py | ||
host.py | ||
imagebackend.py | ||
imagecache.py | ||
instancejobtracker.py | ||
migration.py | ||
utils.py | ||
vif.py |