[baremetal] PDF-based network config 27/45427/5
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Tue, 17 Oct 2017 16:12:25 +0000 (18:12 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 18 Oct 2017 20:01:58 +0000 (22:01 +0200)
commitc360b972649028d2613fc8561899c2c8b7f71832
tree96fcde4c5ea5d189210f50aa3e0c91f336f769e9
parent92530f89c061b0070766e431f839feb368e2e4ac
[baremetal] PDF-based network config

This change extends current PDF/IDF support with:
- dynamic interface / vlan definition;
- dynamic interface and/or bridge allocation of installer networks on
  top of interfaces (physical or vlans);

This allows us to drop hardcoded interface names and vlan / bridge
configuration in favor of a runtime determined model based on PDF/IDF.

For now, we duplicate common jinja variable definitions in each
template, but this will later be moved to a common include file.

JIRA: FUEL-275

Change-Id: Ia80a66dbdf898b0bd0a4fb99d069ce9ebe33fa65
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
17 files changed:
ci/deploy.sh
mcp/config/labs/local/idf-pod1.yaml
mcp/patches/pharos/0002-PDF-generate_config-Fix-abspath-for-j-arg.patch [new file with mode: 0644]
mcp/reclass/classes/cluster/.gitignore [new file with mode: 0644]
mcp/reclass/classes/cluster/all-mcp-ocata-common/aarch64/init.yml
mcp/reclass/classes/cluster/all-mcp-ocata-common/opnfv/runtime.yml.template
mcp/reclass/classes/cluster/all-mcp-ocata-common/x86_64/init.yml
mcp/reclass/classes/cluster/baremetal-mcp-ocata-common/infra/kvm.yml
mcp/reclass/classes/cluster/baremetal-mcp-ocata-common/infra/kvm_init.yml.j2 [new file with mode: 0644]
mcp/reclass/classes/cluster/baremetal-mcp-ocata-common/openstack_compute.yml
mcp/reclass/classes/cluster/baremetal-mcp-ocata-common/openstack_compute_init.yml.j2 [new file with mode: 0644]
mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/compute.yml
mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/compute_init.yml.j2 [new file with mode: 0644]
mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-dpdk-ha/infra/config.yml
mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-dpdk-ha/infra/config_init.yml.j2 [new file with mode: 0644]
mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml
mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute_init.yml.j2 [new file with mode: 0644]