diff options
Diffstat (limited to 'mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk/openstack')
3 files changed, 28 insertions, 20 deletions
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk/openstack/compute.yml b/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk/openstack/compute.yml index 6a70421df..b8fadb932 100644 --- a/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk/openstack/compute.yml +++ b/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk/openstack/compute.yml @@ -58,10 +58,9 @@ parameters: pci: ${_param:dpdk0_pci} driver: igb_uio enabled: true + bridge: br-prv type: dpdk_ovs_port n_rxq: 2 br-prv: enabled: true type: dpdk_ovs_bridge - address: ${_param:tenant_address} - netmask: 255.255.255.0 diff --git a/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk/openstack/gateway.yml b/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk/openstack/gateway.yml index e9f09ca0b..64e2245cb 100644 --- a/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk/openstack/gateway.yml +++ b/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk/openstack/gateway.yml @@ -29,37 +29,46 @@ parameters: type: eth tenant_interface: enabled: true + ovs_bridge: br-prv name: ${_param:tenant_interface} mtu: ${_param:interface_mtu} proto: manual type: eth - br_ctl: + external_interface: enabled: true - type: ovs_port - bridge: br-floating + name: ${_param:external_interface} + mtu: ${_param:interface_mtu} + proto: manual + type: eth + br-floating: + enabled: true + type: ovs_bridge + mtu: ${_param:interface_mtu} + br-mgmt: + enabled: true + type: bridge proto: static address: ${_param:single_address} netmask: 255.255.255.0 mtu: ${_param:interface_mtu} use_interfaces: - ${_param:primary_interface} - br-floating: - enabled: true - type: ovs_bridge br-prv: enabled: true type: ovs_bridge - address: ${_param:tenant_address} - netmask: 255.255.255.0 - floating-to-prv: + mtu: ${_param:interface_mtu} + float-to-ex: enabled: true type: ovs_port - port_type: patch + mtu: ${_param:interface_mtu} bridge: br-floating - peer: prv-to-floating - prv-to-floating: + br-ex: enabled: true - type: ovs_port - port_type: patch - bridge: br-prv - peer: floating-to-prv + type: bridge + mtu: ${_param:interface_mtu} + address: ${_param:external_address} + netmask: 255.255.255.0 + use_interfaces: + - ${_param:external_interface} + use_ovs_ports: + - float-to-ex diff --git a/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk/openstack/init.yml b/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk/openstack/init.yml index 6c846d6cc..b56a5a2fb 100644 --- a/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk/openstack/init.yml +++ b/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk/openstack/init.yml @@ -27,9 +27,9 @@ parameters: compute_hugepages_count: 1024 compute_hugepages_mount: /mnt/hugepages_2M compute_dpdk_driver: uio - compute_ovs_pmd_cpu_mask: "0x6" + compute_ovs_pmd_cpu_mask: "0x2" compute_ovs_dpdk_socket_mem: "1024" - compute_ovs_dpdk_lcore_mask: "0x400" + compute_ovs_dpdk_lcore_mask: "0x1" compute_ovs_memory_channels: "2" cluster_node01_hostname: ctl01 cluster_node01_address: 172.16.10.101 |