[noha] Bring in FDIO (VPP+DPDK) scenario 63/66063/8
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 8 Nov 2018 18:06:46 +0000 (19:06 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 10 Jan 2019 14:22:59 +0000 (15:22 +0100)
commit6eaeafea81f30ee66f2c187596815a0166f1132b
treeab296858aac68b09b2a905486aa072dc8c304e0c
parent920d7ef405e9fed9af7b0576b94f6d19fe265c81
[noha] Bring in FDIO (VPP+DPDK) scenario

- cmp, gtw: bump RAM allocation to accomodate hugepages/VPP;
  for now we overcommit, gtw01 resources can probably be lowered;
- submodule: add salt-formula-neutron so we can locally patch it;
- repo:
  * FD.IO repos for VPP packages;
  * networking-vpp PPA for python-networking-vpp Neutron driver;
- use vpp-router for L3, disable neutron-l3-agent;
- baremetal_init: apply repo config before network (otherwise UCA
  repo is missing when trying to install DPDK on baremetal nodes);
- arm64: iommu.passthrough=1 is required on ThunderX for VPP on
  newer kernels;

Design quirks:
- vpp service runs as 'neutron' user, which does not exist at the
  time VPP is installed and initially started, hence the need to
  restart it before starting the vpp-agent service;
- gtw01 node has DPDK, yet to configure it via IDF we use the
  compute-specific OVS-targeted parameters like
  `compute_ovs_dpdk_socket_mem`, which is a bit misleading;
- vpp-agent requires ml2_conf.ini on ALL compute AND network nodes
  to parse per-node physnet-to-real interface names;
- vpp process is bound to core '1' (not parameterized via IDF);

Change-Id: I659f7dbebcab7b154e7b1fb829cd7159b4372ec8
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 455b46a6be4bca145c047ed6957727c119285796)
21 files changed:
.gitmodules
mcp/config/scenario/os-nosdn-fdio-noha.yaml
mcp/config/states/baremetal_init
mcp/config/states/openstack_noha
mcp/patches/salt-formula-linux/0002-network-Bring-in-basic-VPP-support.patch [new file with mode: 0644]
mcp/patches/salt-formula-maas/0005-Implement-tags-support.patch
mcp/patches/salt-formula-neutron/0001-Bring-in-basic-VPP-support.patch [new file with mode: 0644]
mcp/reclass/classes/cluster/.gitignore
mcp/reclass/classes/cluster/all-mcp-arch-common/fdio_repo.yml [new file with mode: 0644]
mcp/reclass/classes/cluster/all-mcp-arch-common/infra/config_pdf.yml.j2
mcp/reclass/classes/cluster/mcp-common-noha/openstack_compute_pdf.yml.j2
mcp/reclass/classes/cluster/mcp-common-noha/openstack_gateway_pdf.yml.j2
mcp/reclass/classes/cluster/mcp-fdio-ha/openstack/init.yml
mcp/reclass/classes/cluster/mcp-fdio-noha/infra/config.yml [deleted file]
mcp/reclass/classes/cluster/mcp-fdio-noha/infra/config.yml.j2 [new file with mode: 0644]
mcp/reclass/classes/cluster/mcp-fdio-noha/openstack/compute.yml.j2
mcp/reclass/classes/cluster/mcp-fdio-noha/openstack/control.yml
mcp/reclass/classes/cluster/mcp-fdio-noha/openstack/gateway.yml [new file with mode: 0644]
mcp/reclass/classes/cluster/mcp-fdio-noha/openstack/gateway.yml.j2 [deleted file]
mcp/reclass/classes/cluster/mcp-fdio-noha/openstack/init.yml
mcp/salt-formulas/salt-formula-neutron [new submodule]