Skip to content

Instantly share code, notes, and snippets.

@saneax
Created June 10, 2021 03:47
Show Gist options
  • Select an option

  • Save saneax/35972b93b62c9e6e149aee564850fc47 to your computer and use it in GitHub Desktop.

Select an option

Save saneax/35972b93b62c9e6e149aee564850fc47 to your computer and use it in GitHub Desktop.
resource_registry:
# Specify the relative/absolute path to the config files you want to use for override the default.
OS::TripleO::ControllerSriov::Net::SoftwareConfig: nic-configs/controllersriov.yaml
OS::TripleO::ComputeOvsDpdkSriovR730::Net::SoftwareConfig: nic-configs/computeovsdpdksriovr730.yaml
OS::TripleO::ComputeOvsDpdkSriovR740::Net::SoftwareConfig: nic-configs/computeovsdpdksriovr740.yaml
parameter_defaults:
# Define the DNS servers (maximum 2) for the overcloud nodes
DnsServers:
- 10.46.0.31
- 10.46.0.32
# The tenant network type for Neutron (vlan or vxlan).
NeutronNetworkType: 'geneve,vlan'
# The tunnel type for the tenant network (vxlan or gre). Set to '' to disable tunneling.
NeutronTunnelTypes: 'geneve'
# The OVS logical->physical bridge mappings to use.
NeutronBridgeMappings: 'access:br-access,dpdk-mgmt:br-link0,dpdk-data0:br-dpdk0,dpdk-data1:br-dpdk1,sriov-1:br-sriov1,sriov-2:br-sriov2'
# The Neutron ML2 and OpenVSwitch vlan mapping range to support.
NeutronNetworkVLANRanges: 'access:428:428,dpdk-mgmt:144:149,dpdk-data0:144:149,dpdk-data1:144:149,sriov-1:144:149,sriov-2:144:149,sriov-part-1:144:149,sriov-part-2:144:149'
# Defines the flat networks to configure in neutron plugins.
NeutronFlatNetworks: 'access,dpdk-mgmt,dpdk-data0,dpdk-data1,sriov-1,sriov-2,sriov-part-1,sriov-part-2'
# Set to "br-access" when using floating IPs on the native VLAN.
NeutronExternalNetworkBridge: "'br-access'"
# Disable DVR for deployment
NeutronEnableDVR: 'False'
# NUMA aware vswitch
NeutronPhysnetNUMANodesMapping:
dpdk-data1: [1]
# NTP server configuration.
NtpServer: clock.redhat.com
# MTU global configuration
NeutronGlobalPhysnetMtu: 9000
NeutronPluginExtensions: "port_security,qos,segments,trunk,placement"
NeutronServicePlugins: "ovn-router,trunk,qos"
NeutronSriovAgentExtensions: "qos"
ControllerSriovParameters:
# Set OVN gateway router, required for external connectivity (SR-IOV)
OVNCMSOptions: "enable-chassis-as-gw"
# https://bugs.launchpad.net/nova/+bug/1289064
NovaEnableNUMALiveMigration: true
# Disable SSH query on the overcloud nodes to avoid connection latency
SshServerOptions:
UseDns: 'no'
# Enable log level DEBUG for supported components
Debug: True
############################
# Scheduler configuration #
############################
NovaSchedulerDefaultFilters:
- "RetryFilter"
- "AvailabilityZoneFilter"
- "ComputeFilter"
- "ComputeCapabilitiesFilter"
- "ImagePropertiesFilter"
- "ServerGroupAntiAffinityFilter"
- "ServerGroupAffinityFilter"
- "PciPassthroughFilter"
- "NUMATopologyFilter"
- "AggregateInstanceExtraSpecsFilter"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment