Created
July 5, 2021 12:46
-
-
Save saneax/6f04d92d41cdba589912b8473ec9b088 to your computer and use it in GitHub Desktop.
seed file for 16.2 geneve templates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Example config file for ospd-16.2-geneve-ovn-dpdk-sriov-ctlplane-dataplane-bonding-hybrid | |
| # nic-partitioning deployment topology | |
| # Triggers | |
| undercloud_conf: true | |
| instackenv: true | |
| nodes: true | |
| dpdk: true | |
| sriov: true | |
| iface_mapping: true | |
| api_policies: true # Used by qe testing | |
| tht_dir_name: ospd-16.2-geneve-ovn-dpdk-sriov-ctlplane-dataplane-bonding-hybrid | |
| osp_version: 16.2 | |
| undercloud_config: | |
| interface: eth0 | |
| cidr: 192.168.80.0/24 | |
| instackenv_nodes: | |
| - name: compute-0 | |
| mac: "80:18:44:f2:88:b1" | |
| pm_user: root | |
| pm_pass: calvin | |
| pm_addr: "tigon06-bmc.mgmt.lab4.tlv.redhat.com" | |
| root_device: "0x500a07511c43d3d8" | |
| - name: compute-1 | |
| mac: "e4:43:4b:48:5f:c1" | |
| pm_user: root | |
| pm_pass: calvin | |
| pm_addr: "tigon19-bmc.mgmt.lab4.tlv.redhat.com" | |
| root_device: "0x55cd2e4150476a19" | |
| network_api: | |
| - name: internal_api | |
| vlan: 140 | |
| ip_subnet: 10.10.140.0/24 | |
| - name: tenant | |
| vlan: 141 | |
| ip_subnet: 10.10.141.0/24 | |
| - name: storage | |
| vlan: 142 | |
| ip_subnet: 10.10.142.0/24 | |
| - name: storage_mgmt | |
| vlan: 143 | |
| ip_subnet: 10.10.143.0/24 | |
| - name: external | |
| vlan: 396 | |
| ip_subnet: 10.35.141.14/28 | |
| start: 10.35.141.1 | |
| end: 10.35.141.13 | |
| gw: 10.35.141.14 | |
| NeutronBridgeMappings: | |
| - 'access:br-access' | |
| - 'dpdk-mgmt:br-link0' | |
| - 'dpdk-data0:br-dpdk0' | |
| - 'dpdk-data1:br-dpdk1' | |
| - 'sriov-1:br-sriov1' | |
| - 'sriov-2:br-sriov2' | |
| 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' | |
| NeutronFlatNetworks: | |
| - 'access' | |
| - 'dpdk-mgmt' | |
| - 'dpdk-data0' | |
| - 'dpdk-data1' | |
| - 'sriov-1' | |
| - 'sriov-2' | |
| - 'sriov-part-1' | |
| - 'sriov-part-2' | |
| NeutronNetworkType: geneve,vlan | |
| NeutronTunnelTypes: geneve | |
| NeutronExternalNetworkBridge: br-access | |
| NeutronEnableDVR: False | |
| NtpServer: clock.redhat.com | |
| NeutronPhysnetNUMANodesMapping: "dpdk-data1: [1]" # optional | |
| NeutronGlobalPhysnetMtu: 9000 # optional | |
| NeutronPluginExtensions: port_security,qos,segments,trunk,placement | |
| NeutronServicePlugins: ovn-router,trunk,qos | |
| NeutronSriovAgentExtensions: qos | |
| DnsServers: | |
| - 10.46.0.31 | |
| - 10.46.0.32 | |
| deploy_config: | |
| # The name of the role is case sensitive | |
| - role_name: ControllerSriov | |
| hostname_format: controllersriov | |
| count: 3 | |
| flavor: controllersriov # The name of the flavor, by default, should be based on the name of the node from instackenv file. | |
| - role_name: ComputeOvsDpdkSriovR730 | |
| hostname_format: computeovndpdksriovR730 # Override overcloud nodehostname format. By default will take the name of the role. | |
| count: 1 | |
| flavor: computea | |
| common_opts: # all the suboptions are optional | |
| KernelArgs: "default_hugepagesz=1GB hugepagesz=1G hugepages=64 iommu=pt intel_iommu=on isolcpus=2-19,22-39" | |
| dpdk_opts: # all the suboptions are optional | |
| IsolCpusList: "2-19,22-39" | |
| # The "NovaComputeCpuDedicatedSet" param used in osp 16 and above. In osp 13, the "NovaVcpuPinSet" is used. | |
| # In the configuration, use the "NovaComputeCpuDedicatedSet" and during the generation of tht, | |
| # proper parameter will be placed. | |
| NovaComputeCpuDedicatedSet: "4,6-19,24,26-39" | |
| NovaReservedHostMemory: 2048 | |
| OvsDpdkSocketMemory: "4096,1024" | |
| OvsDpdkMemoryChannels: 4 | |
| OvsDpdkCoreList: "0,20,1,21" | |
| NovaComputeCpuSharedSet: "0,20,1,21" | |
| OvsPmdCoreList: "2,3" | |
| sriov_opts: # all the suboptions are optional | |
| sriov_mapping: | |
| # Those params are used to build two sriov params: | |
| # NovaPCIPassthrough and NeutronPhysicalDevMappings | |
| - devname: "enp4s0f0" | |
| physical_network: "sriov-1" | |
| trusted: "true" | |
| - devname: "enp4s0f1" | |
| physical_network: "sriov-2" | |
| trusted: "true" | |
| - role_name: ComputeOvsDpdkSriovR740 | |
| hostname_format: computeovndpdksriovR740 # Override overcloud nodehostname format. By default will take the name of the role. | |
| count: 1 | |
| flavor: computeb | |
| common_opts: # all the suboptions are optional | |
| KernelArgs: "default_hugepagesz=1GB hugepagesz=1G hugepages=64 iommu=pt intel_iommu=on isolcpus=2-19,22-39" | |
| dpdk_opts: # all the suboptions are optional | |
| IsolCpusList: "2-19,22-39" | |
| # The "NovaComputeCpuDedicatedSet" param used in osp 16 and above. In osp 13, the "NovaVcpuPinSet" is used. | |
| # In the configuration, use the "NovaComputeCpuDedicatedSet" and during the generation of tht, | |
| # proper parameter will be placed. | |
| NovaComputeCpuDedicatedSet: "4,6-19,24,26-39" | |
| NovaReservedHostMemory: 2048 | |
| OvsDpdkSocketMemory: "4096,1024" | |
| OvsDpdkMemoryChannels: 4 | |
| OvsDpdkCoreList: "0,20,1,21" | |
| NovaComputeCpuSharedSet: "0,20,1,21" | |
| OvsPmdCoreList: "2,3" | |
| sriov_opts: # all the suboptions are optional | |
| sriov_mapping: | |
| # Those params are used to build two sriov params: | |
| # NovaPCIPassthrough and NeutronPhysicalDevMappings | |
| - devname: "ens6f0" | |
| physical_network: "sriov-1" | |
| trusted: "true" | |
| - devname: "ens6f0" | |
| physical_network: "sriov-2" | |
| trusted: "true" | |
| node_config: | |
| # The name of the role is case sensitive | |
| - role_name: Controller | |
| nic_configs: | |
| - type: interface | |
| nic: nic1 | |
| route: provision | |
| - type: linux_bond | |
| name: bond_api | |
| bonding_nics: | |
| - nic: nic2 | |
| # The name of the api is case sensitive | |
| # The vlan based api will be attached. | |
| api: | |
| - InternalApi | |
| - Storage | |
| - StorageMgmt | |
| - type: ovs_bridge | |
| name: br-link0 | |
| nic: nic3 | |
| # The mtu on the bridge will override the NeutronGlobalPhysnetMtu | |
| mtu: 9000 | |
| api: | |
| - Tenant | |
| - type: ovs_bridge | |
| name: br-dpdk0 | |
| nic: nic4 | |
| - type: ovs_bridge | |
| name: br-dpdk1 | |
| nic: nic5 | |
| - type: ovs_bridge | |
| name: br-sriov1 | |
| nic: nic6 | |
| - type: ovs_bridge | |
| name: br-sriov2 | |
| nic: nic7 | |
| - type: interface | |
| nic: nic8 | |
| route: false | |
| - type: interface | |
| nic: nic9 | |
| route: false | |
| - type: ovs_bridge | |
| name: br-access | |
| nic: nic10 | |
| api: | |
| - External | |
| route: External | |
| defroute: true | |
| - role_name: ComputeOvsDpdkSriovR730 | |
| dmi_string: system-product-name # optional | |
| id: "PowerEdge R730" # optional | |
| nics: # os-net-config-mappings | |
| - nic: 1 | |
| name: eno1 | |
| - nic: 2 | |
| name: eno2 | |
| - nic: 3 | |
| name: enp130s0f0 | |
| - nic: 4 | |
| name: enp130s0f1 | |
| - nic: 5 | |
| name: enp130s0f2 | |
| - nic: 6 | |
| name: enp130s0f3 | |
| - nic: 7 | |
| name: enp6s0f0 | |
| - nic: 8 | |
| name: enp6s0f1 | |
| - nic: 9 | |
| name: enp6s0f2 | |
| - nic: 10 | |
| name: enp6s0f3 | |
| - nic: 11 | |
| name: enp4s0f0 | |
| - nic: 12 | |
| name: enp4s0f1 | |
| nic_configs: | |
| - type: interface | |
| nic: nic1 | |
| route: false | |
| - type: interface | |
| nic: nic2 | |
| route: provision | |
| defroute: true | |
| - type: linux_bond | |
| name: bond_api | |
| bonding_nics: | |
| - nic: nic3 | |
| - nic: nic4 | |
| # The name of the api is case sensitive | |
| api: | |
| - InternalApi | |
| - Storage | |
| - type: ovs_user_bridge | |
| name: br-dpdk0 | |
| nic: nic5 | |
| mtu: 9000 | |
| rxq: 1 | |
| - type: ovs_user_bridge | |
| name: br-dpdk1 | |
| nic: nic6 | |
| mtu: 9000 | |
| rxq: 1 | |
| - type: ovs_user_bridge | |
| name: br-link0 | |
| mtu: 9000 | |
| rxq: 1 | |
| bonding_nics: | |
| - nic: nic7 | |
| - nic: nic8 | |
| api: | |
| - Tenant | |
| - type: sriov_pf | |
| nic: nic9 | |
| mtu: 9000 | |
| numvfs: 10 | |
| route: false | |
| - type: sriov_pf | |
| nic: nic10 | |
| mtu: 9000 | |
| numvfs: 10 | |
| route: false | |
| - type: sriov_pf | |
| nic: nic11 | |
| mtu: 9000 | |
| numvfs: 10 | |
| route: false | |
| - type: sriov_pf | |
| nic: nic12 | |
| mtu: 9000 | |
| numvfs: 10 | |
| route: false | |
| - role_name: ComputeOvsDpdkSriovR740 | |
| dmi_string: system-product-name # optional | |
| id: "PowerEdge R740" # optional | |
| nics: # os-net-config-mappings | |
| - nic: 1 | |
| name: eno1 | |
| - nic: 2 | |
| name: eno2 | |
| - nic: 3 | |
| name: ens4f0 | |
| - nic: 4 | |
| name: ens4f1 | |
| - nic: 5 | |
| name: ens4f2 | |
| - nic: 6 | |
| name: ens4f3 | |
| - nic: 7 | |
| name: ens7f0 | |
| - nic: 8 | |
| name: ens7f1 | |
| - nic: 9 | |
| name: ens7f2 | |
| - nic: 10 | |
| name: ens7f3 | |
| - nic: 11 | |
| name: ens6f0 | |
| - nic: 12 | |
| name: ens6f1 | |
| nic_configs: | |
| - type: interface | |
| nic: nic1 | |
| route: false | |
| - type: interface | |
| nic: nic2 | |
| route: provision | |
| defroute: true | |
| - type: linux_bond | |
| name: bond_api | |
| bonding_nics: | |
| - nic: nic3 | |
| - nic: nic4 | |
| # The name of the api is case sensitive | |
| api: | |
| - InternalApi | |
| - Storage | |
| - type: ovs_user_bridge | |
| name: br-dpdk0 | |
| nic: nic5 | |
| mtu: 9000 | |
| rxq: 1 | |
| - type: ovs_user_bridge | |
| name: br-dpdk1 | |
| nic: nic6 | |
| mtu: 9000 | |
| rxq: 1 | |
| - type: ovs_user_bridge | |
| name: br-link0 | |
| mtu: 9000 | |
| rxq: 1 | |
| bonding_nics: | |
| - nic: nic7 | |
| - nic: nic8 | |
| api: | |
| - Tenant | |
| - type: sriov_pf | |
| nic: nic9 | |
| mtu: 9000 | |
| numvfs: 10 | |
| route: false | |
| - type: sriov_pf | |
| nic: nic10 | |
| mtu: 9000 | |
| numvfs: 10 | |
| route: false | |
| - type: sriov_pf | |
| nic: nic11 | |
| mtu: 9000 | |
| numvfs: 10 | |
| route: false | |
| - type: sriov_pf | |
| nic: nic12 | |
| mtu: 9000 | |
| numvfs: 10 | |
| route: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment