[baremetal] PDF-based network config 33/45633/1
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 22:30:22 +0000 (22:30 +0000)
commitf0dbe42bdb6739e30b018f4aff33d2fe75befc5a
tree039c68e9e7886e8198578973c6e6ee46f2bbedac
parent0d8c30e7544a801af6303fb037dfa90ec074c8fd
[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>
(cherry picked from commit c360b972649028d2613fc8561899c2c8b7f71832)
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]