Modifying the ovs-hw-offlaod file to adapt new changes

After moving sriov configuration to os-net-config, there is no need
for NeutronSriovNumVFs parameter as itwill be deprecated
Also we need to add the NUMATopologyFilter to the
NovaSchedulerDefaultFilters

Change-Id: I566efe482031850df7c926b6dae72e44b6f369f5
This commit is contained in:
waleed mousa 2019-04-15 02:35:10 -04:00
parent b4454024f7
commit 8043b1c6d4
1 changed files with 6 additions and 10 deletions

View File

@ -2,23 +2,19 @@
# This works by configuring SR-IOV NIC with switchdev and OVS Hardware Offload on
# compute nodes. The feature supported in OVS 2.8.0
resource_registry:
OS::TripleO::Services::NeutronSriovHostConfig: ../puppet/services/neutron-sriov-host-config.yaml
parameter_defaults:
NovaSchedulerDefaultFilters: ['RetryFilter','AvailabilityZoneFilter','ComputeFilter','ComputeCapabilitiesFilter','ImagePropertiesFilter','ServerGroupAntiAffinityFilter','ServerGroupAffinityFilter','PciPassthroughFilter']
NovaSchedulerDefaultFilters: ['RetryFilter','AvailabilityZoneFilter','ComputeFilter','ComputeCapabilitiesFilter','ImagePropertiesFilter','ServerGroupAntiAffinityFilter','ServerGroupAffinityFilter','PciPassthroughFilter','NUMATopologyFilter']
NovaSchedulerAvailableFilters: ["nova.scheduler.filters.all_filters","nova.scheduler.filters.pci_passthrough_filter.PciPassthroughFilter"]
#NovaPCIPassthrough:
# - devname: "ens3f0"
# physical_network: null
# Mapping of SR-IOV PF interface to neutron physical_network.
# # In case of Vxlan/GRE physical_network should be null.
# # In case of flat/vlan the physical_network should as configured in neutron.
# Kernel arguments for ComputeSriov node
ComputeSriovParameters:
# Kernel arguments for ComputeSriov node
KernelArgs: "intel_iommu=on iommu=pt"
# Enable OVS Hardware Offload
OvsHwOffload: True
# Number of VFs that needs to be configured for a physical interface
#NeutronSriovNumVFs: ["ens3f0:4:switchdev"]
# Mapping of SR-IOV PF interface to neutron physical_network.
# In case of Vxlan/GRE physical_network should be null.
# In case of flat/vlan the physical_network should as configured in neutron.