Bring in FDIO (VPP+DPDK) scenario 71/66271/5
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 8 Nov 2018 18:06:46 +0000 (19:06 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 9 Jan 2019 14:39:05 +0000 (15:39 +0100)
commit455b46a6be4bca145c047ed6957727c119285796
tree717062888465d74227a45d724fab21e9c8fd5957
parentad2bdf2eb08c0991757f30d370c90d5c9d814d3e
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>
20 files changed:
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-neutron/0001-Bring-in-basic-VPP-support.patch [new file with mode: 0644]
mcp/patches/salt-formula-neutron/0002-Support-rocky-version.patch [moved from mcp/patches/salt-formula-neutron/0001-Support-rocky-version.patch with 100% similarity]
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