| 1 | --- |
| 2 | features: |
| 3 | - | |
| 4 | Added support for os-vif to pre-create TAP devices when using OVS/OVN. |
| 5 | The ``VIFPortProfileOpenVSwitch`` object now supports two new fields: |
| 6 | |
| 7 | * ``create_tap``: When set to ``True``, os-vif will create the TAP device |
| 8 | with the correct MAC address and MTU before adding it to OVS. |
| 9 | * ``multiqueue``: When set to ``True`` along with ``create_tap``, the TAP |
| 10 | device will be created with multiqueue support enabled for improved |
| 11 | performance with multiple vCPUs. The multiqueue setting is determined |
| 12 | by Nova from the ``hw:vif_multiqueue_enabled`` flavor extra spec or |
| 13 | image property. |
| 14 | |
| 15 | When the ``[ovn]/ovs_create_tap`` config option is enabled in |
| 16 | Neutron's ML2/OVN mechanism driver, Neutron sets the ``ovs_create_tap`` |
| 17 | flag in the vif_details during port binding. Nova then reads this value and |
| 18 | propagates it to os-vif via the ``create_tap`` field, and configures |
| 19 | libvirt with ``managed="no"`` so it uses the pre-created TAP device. This |
| 20 | reduces live migration downtime by ensuring the network is fully wired |
| 21 | before the VM starts. |
| 22 | |
| 23 | See `bug 2069718 <https://bugs.launchpad.net/neutron/+bug/2069718>`_. |
| 24 |