Enable SR-IOV with OVS¶
Note
Consider this section as part of Deploy an OpenStack cluster.
This section instructs you on how to enable SR-IOV with the Neutron OVS back end.
To enable SR-IOV with OVS:
Verify that your deployment meets the following requirements:
NICs with the SR-IOV support are installed
SR-IOV and VT-d are enabled in BIOS
Enable IOMMU in the kernel by configuring
intel_iommu=onin the GRUB configuration file. Specify the parameter for compute nodes inBareMetalHostProfilein thegrubConfigsection:spec: grubConfig: defaultGrubOptions: - 'GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX intel_iommu=on"'
Configure the
OpenStackDeploymentCR to deploy OpenStack with the VLAN tenant network encapsulation.Caution
To ensure correct appliance of the configuration changes, configure VLAN segmentation during the initial OpenStack deployment.
Configuration example:
spec: features: neutron: external_networks: - bridge: br-ex interface: pr-floating mtu: null network_types: - flat physnet: physnet1 vlan_ranges: null - bridge: br-tenant interface: bond0 network_types: - vlan physnet: tenant vlan_ranges: 490:499,1420:1459 tenant_network_types: - vlan
Enable SR-IOV in the
OpenStackDeploymentCR through the node-specific overrides settings. For example:spec: nodes: <NODE-LABEL>::<NODE-LABEL-VALUE>: features: neutron: sriov: enabled: true nics: - device: enp10s0f1 num_vfs: 7 physnet: tenant