Configure OVNCMSOptions=enable-chassis-as-gw within neutron-ovn-sriov.yaml

In order to configure OVN+SRIOV, the following THT files need to be
imported:
  - neutron-ovn-ha.yaml
  - neutron-ovn-sriov.yaml

Change-Id: Ia918d8b92d9bb1efac9bec2017b88593bf362834
Resolves: rhbz#1913700
This commit is contained in:
Eduardo Olivares 2021-01-07 13:17:13 +01:00
parent da737aa20e
commit 831f5d65fa
3 changed files with 5 additions and 7 deletions

View File

@ -29,7 +29,5 @@ parameter_defaults:
NeutronPluginExtensions: "qos,port_security,dns" NeutronPluginExtensions: "qos,port_security,dns"
ControllerParameters: ControllerParameters:
OVNCMSOptions: "enable-chassis-as-gw" OVNCMSOptions: "enable-chassis-as-gw"
ControllerSriovParameters:
OVNCMSOptions: "enable-chassis-as-gw"
OVNDnsServers: [] OVNDnsServers: []
KernelIpNonLocalBind: 1 KernelIpNonLocalBind: 1

View File

@ -29,11 +29,7 @@ parameter_defaults:
NeutronBridgeMappings: "" NeutronBridgeMappings: ""
ControllerParameters: ControllerParameters:
OVNCMSOptions: "enable-chassis-as-gw" OVNCMSOptions: "enable-chassis-as-gw"
ControllerSriovParameters:
OVNCMSOptions: "enable-chassis-as-gw"
NetworkerParameters: NetworkerParameters:
OVNCMSOptions: "enable-chassis-as-gw" OVNCMSOptions: "enable-chassis-as-gw"
NetworkerSriovParameters:
OVNCMSOptions: "enable-chassis-as-gw"
OVNDnsServers: [] OVNDnsServers: []
KernelIpNonLocalBind: 1 KernelIpNonLocalBind: 1

View File

@ -4,7 +4,7 @@
# A Heat environment that can be used to enable SR-IOV support in neutron with OVN # A Heat environment that can be used to enable SR-IOV support in neutron with OVN
# mechanism driver. # mechanism driver.
# This environment file should be included after the main OVN environment # This environment file should be included after the main OVN environment
# file - neutron-ovn-ha.yaml/neutron-ovn-dvr(-ha).yaml is included. # file - neutron-ovn-ha.yaml is included.
resource_registry: resource_registry:
OS::TripleO::Services::NeutronSriovAgent: ../../deployment/neutron/neutron-sriov-agent-container-puppet.yaml OS::TripleO::Services::NeutronSriovAgent: ../../deployment/neutron/neutron-sriov-agent-container-puppet.yaml
@ -13,3 +13,7 @@ parameter_defaults:
NeutronMechanismDrivers: ['sriovnicswitch','ovn'] NeutronMechanismDrivers: ['sriovnicswitch','ovn']
NovaSchedulerEnabledFilters: ['AvailabilityZoneFilter','ComputeFilter','ComputeCapabilitiesFilter','ImagePropertiesFilter','ServerGroupAntiAffinityFilter','ServerGroupAffinityFilter','PciPassthroughFilter'] NovaSchedulerEnabledFilters: ['AvailabilityZoneFilter','ComputeFilter','ComputeCapabilitiesFilter','ImagePropertiesFilter','ServerGroupAntiAffinityFilter','ServerGroupAffinityFilter','PciPassthroughFilter']
NovaSchedulerAvailableFilters: ["nova.scheduler.filters.all_filters","nova.scheduler.filters.pci_passthrough_filter.PciPassthroughFilter"] NovaSchedulerAvailableFilters: ["nova.scheduler.filters.all_filters","nova.scheduler.filters.pci_passthrough_filter.PciPassthroughFilter"]
ControllerSriovParameters:
OVNCMSOptions: "enable-chassis-as-gw"
NetworkerSriovParameters:
OVNCMSOptions: "enable-chassis-as-gw"