summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-dpdk-ha/infra/maas.yml
diff options
context:
space:
mode:
authorGuillermo Herrero <guillermo.herrero@enea.com>2017-10-03 10:30:47 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-10-11 17:54:12 +0000
commit186e1ca5b3ee1b0b76e5d6ddecfee0a94bae45fd (patch)
treedf1381df1b151ec27b22966d44f82ab20ab6100e /mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-dpdk-ha/infra/maas.yml
parent9128c75742f3c91d1f39741ded44ac7cec9e8809 (diff)
Parametrized network config: nic device names
Change-Id: I94d40529261f7753ec47a0c6a8c67ecc0fb15951 Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com> (cherry picked from commit 5ab45d25c8fd3e5528c411e09b105699c745457f)
Diffstat (limited to 'mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-dpdk-ha/infra/maas.yml')
-rw-r--r--mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-dpdk-ha/infra/maas.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-dpdk-ha/infra/maas.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-dpdk-ha/infra/maas.yml
index db48750d0..7d9cb6493 100644
--- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-dpdk-ha/infra/maas.yml
+++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-dpdk-ha/infra/maas.yml
@@ -5,9 +5,9 @@ classes:
- cluster.baremetal-mcp-ocata-ovs-dpdk-ha.infra
parameters:
_param:
- dhcp_interface: ens3
- primary_interface: ens4
- pxe_interface: ens5
+ dhcp_interface: ${_param:infra_primary_nic}
+ primary_interface: ${_param:infra_secondary_nic}
+ pxe_interface: ${_param:infra_tertiary_nic}
interface_mtu: 1500
# MaaS has issues using MTU > 1500 for PXE interface
pxe_interface_mtu: 1500