Neutron OVS requires enabling of the sriovnicswitch
mechanism driver on
the Neutron server side and the neutron-sriov-nic-agent
running on each
compute node with this feature enabled.
To configure SR-IOV with OpenVSwitch:
Include the class to cluster.<NAME>.openstack.compute
:
- system.neutron.compute.nfv.sriov
Note
By default, the metadata model contains configuration for 1 NIC dedicated for SR-IOV.
Include the class to cluster.<NAME>.openstack.control
:
- system.neutron.control.openvswitch.sriov
If you need more than 1 NIC, extend the previous configuration by extra
Neutron cluster.<NAME>.openstack.compute
.
Example
...
neutron:
compute:
backend:
sriov:
sriov_nic01:
devname: eth1
physical_network: physnet3
sriov_nic02:
devname: eth2
physical_network: physnet4
sriov_nic03:
devname: eth3
physical_network: physnet5
sriov_nic04:
devname: eth4
physical_network: physnet6