summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/virtual-mcp-ocata-common/openstack_compute.yml
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-09-10 02:37:11 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-09-11 16:00:55 +0200
commit0546e310ce230a46dcf3a3795c6a0baefd7aaaf2 (patch)
tree8a9b6ed5f9def89c034e12334726d346337a92ce /mcp/reclass/classes/cluster/virtual-mcp-ocata-common/openstack_compute.yml
parent97b118133edd82d2558fc169ab3974cb0b5b3946 (diff)
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>
Diffstat (limited to 'mcp/reclass/classes/cluster/virtual-mcp-ocata-common/openstack_compute.yml')
-rw-r--r--mcp/reclass/classes/cluster/virtual-mcp-ocata-common/openstack_compute.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-ocata-common/openstack_compute.yml b/mcp/reclass/classes/cluster/virtual-mcp-ocata-common/openstack_compute.yml
index 0cb7ccb01..2485d1ff2 100644
--- a/mcp/reclass/classes/cluster/virtual-mcp-ocata-common/openstack_compute.yml
+++ b/mcp/reclass/classes/cluster/virtual-mcp-ocata-common/openstack_compute.yml
@@ -12,9 +12,9 @@ classes:
- system.ceilometer.client.cinder_volume
parameters:
_param:
- primary_interface: ens4
- tenant_interface: ens5
- external_interface: ens6
+ primary_interface: ${_param:opnfv_fn_vm_secondary_interface}
+ tenant_interface: ${_param:opnfv_fn_vm_tertiary_interface}
+ external_interface: ${_param:opnfv_fn_vm_quaternary_interface}
interface_mtu: 9000
linux_system_codename: xenial
loopback_device_size: 10
@@ -50,7 +50,7 @@ parameters:
interface:
dhcp_int:
enabled: true
- name: ens3
+ name: ${_param:opnfv_fn_vm_primary_interface}
proto: dhcp
type: eth
mtu: ${_param:interface_mtu}