aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2017-09-08 15:26:17 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2017-09-08 15:35:10 +0400
commit32b75cc293bf0402302ee674a0a0064456d219c7 (patch)
tree7dac7cdef19aaed3212b89c0f5b95937b5ee551a /mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk
parentac7bb381c5376c28b0eeac880af90b50a2801f38 (diff)
[ovs/dpdk] Mend dpdk settings
* add vcpus to virtual compute * re-pin dpdk core & pmds * switch to UCA repos * disable apt-daily cron job Change-Id: Ia23100b846d8954e3d5e8a264a6b8518402b2fa6 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk')
-rw-r--r--mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk/openstack/compute.yml10
-rw-r--r--mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk/openstack/init.yml4
2 files changed, 12 insertions, 2 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 4396e315a..c747c0d85 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
@@ -8,7 +8,17 @@ parameters:
compute:
backend:
tenant_network_types: ${_param:neutron_tenant_network_types}
+ nova:
+ compute:
+ libvirt_service: libvirtd
linux:
+ system:
+ repo:
+ uca:
+ source: "deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/ocata main"
+ architectures: amd64
+ key_id: EC4926EA
+ key_server: keyserver.ubuntu.com
network:
interface:
dpdk0:
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 c034ddfad..14501050f 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
@@ -7,7 +7,7 @@ parameters:
compute_hugepages_count: 1024
compute_hugepages_mount: /mnt/hugepages_2M
compute_dpdk_driver: uio
- compute_ovs_pmd_cpu_mask: "0x2"
+ compute_ovs_pmd_cpu_mask: "0x6"
compute_ovs_dpdk_socket_mem: "1024"
- compute_ovs_dpdk_lcore_mask: "0x1"
+ compute_ovs_dpdk_lcore_mask: "0x8"
compute_ovs_memory_channels: "2"