reclass: virtual: Factor out VM interface naming 73/41473/5
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sun, 10 Sep 2017 00:37:11 +0000 (02:37 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 11 Sep 2017 14:00:55 +0000 (16:00 +0200)
commit0546e310ce230a46dcf3a3795c6a0baefd7aaaf2
tree8a9b6ed5f9def89c034e12334726d346337a92ce
parent97b118133edd82d2558fc169ab3974cb0b5b3946
reclass: virtual: Factor out VM interface naming

Define two groups of VM interface naming:
- ens3..ens6 - used by infra VMs, virtual node VMs;
- ens2..ens3 - used by VCP VMs (spawned by salt.control);

Parametrize newly defined interface names throughout the cluster
models.

While at it, add AArch64 default values for above iface names.

NOTE: baremetal clusters will be parametrized later, after common
config is factored out into <baremetal-mcp-ocata-common>.

Change-Id: I89aba9aaf85b585cc510302eb76d7810fbf60679
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
mcp/reclass/classes/cluster/all-mcp-ocata-common/aarch64/init.yml
mcp/reclass/classes/cluster/all-mcp-ocata-common/x86_64/init.yml
mcp/reclass/classes/cluster/virtual-mcp-ocata-common/infra/config.yml
mcp/reclass/classes/cluster/virtual-mcp-ocata-common/openstack_compute.yml
mcp/reclass/classes/cluster/virtual-mcp-ocata-common/openstack_control.yml
mcp/reclass/classes/cluster/virtual-mcp-ocata-common/openstack_gateway.yml
mcp/reclass/classes/cluster/virtual-mcp-ocata-odl-router/opendaylight/control.yml
mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk/infra/config.yml