tripleo-heat-templates/environments/ovs-hw-offload.yaml
Alexey Stupnikov f94c38476e Remove PciPassthroughFilter from NovaSchedulerAvailableFilters
This patch removes PciPassthroughFilter from
NovaSchedulerAvailableFilters definitions when
"nova.scheduler.filters.all_filters" presents in the list:
PciPassthroughFilter is part of nova.scheduler.filters.all_filters
and there is no reason to define it separately.

Closes-bug: #1932146
Change-Id: Ief8f157c3a758c398aa0e6791dea75c035393ee8
2021-06-16 13:01:15 +02:00

21 lines
1002 B
YAML

# A Heat environment file that enables OVS Hardware Offload in the overcloud.
# This works by configuring SR-IOV NIC with switchdev and OVS Hardware Offload on
# compute nodes. The feature supported in OVS 2.8.0
parameter_defaults:
NovaSchedulerEnabledFilters: ['AvailabilityZoneFilter','ComputeFilter','ComputeCapabilitiesFilter','ImagePropertiesFilter','ServerGroupAntiAffinityFilter','ServerGroupAffinityFilter','PciPassthroughFilter','NUMATopologyFilter']
NovaSchedulerAvailableFilters: ['nova.scheduler.filters.all_filters']
#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.
ComputeSriovParameters:
# Kernel arguments for ComputeSriov node
KernelArgs: "intel_iommu=on iommu=pt"
# Enable OVS Hardware Offload
OvsHwOffload: True