Fixes to virtual-offline-pike-ovs-dpdk/ssl model
- align dpdk lcore mask with available cpus
- add hugepages
- add dpdk interface on compute
- delete unused nginx from cfg node
Change-Id: I476e3e785eef2790ad8cc7c522c25b12466ac1a2
Closes-Bug: PROD-21450
diff --git a/classes/cluster/virtual-offline-pike-ovs-dpdk/openstack/compute.yml b/classes/cluster/virtual-offline-pike-ovs-dpdk/openstack/compute.yml
index e8a17b5..df61570 100644
--- a/classes/cluster/virtual-offline-pike-ovs-dpdk/openstack/compute.yml
+++ b/classes/cluster/virtual-offline-pike-ovs-dpdk/openstack/compute.yml
@@ -9,6 +9,7 @@
- system.ceilometer.agent.cluster
- system.prometheus.exporters.libvirt
- cluster.virtual-offline-pike-ovs-dpdk
+- system.nova.compute.nfv.hugepages
- system.nova.compute.nfv.cpu_pinning
- system.nova.compute.nfv.sriov
- system.neutron.compute.nfv.dpdk
@@ -25,14 +26,16 @@
sriov_nic01_numvfs: 16
sriov_nic01_physical_network: physnet3
sriov_unsafe_interrupts: False
- dpdk0_pci: '"0000:04:00"'
nova_cpu_pinning: 0,1,2
compute_dpdk_driver: uio
compute_kernel_isolcpu: ${_param:nova_cpu_pinning}
compute_ovs_pmd_cpu_mask: "0x6"
compute_ovs_dpdk_socket_mem: "1024"
- compute_ovs_dpdk_lcore_mask: "0x400"
+ compute_ovs_dpdk_lcore_mask: "0x1"
compute_ovs_memory_channels: "2"
+ compute_hugepages_size: 2M
+ compute_hugepages_count: 600
+ compute_hugepages_mount: /mnt/hugepages_2M
nova:
compute:
@@ -93,9 +96,14 @@
- ${_param:primary_interface}
br-mesh:
enabled: true
- type: bridge
- proto: static
+ type: dpdk_ovs_bridge
address: ${_param:tenant_address}
netmask: 255.255.255.0
- use_interfaces:
- - ${_param:tenant_interface}
+ dpdk0:
+ name: ${_param:dpdk0_name}
+ pci: ${_param:dpdk0_pci}
+ driver: igb_uio
+ bridge: br-mesh
+ enabled: true
+ type: dpdk_ovs_port
+ n_rxq: 2