diff options
author | Guillermo Herrero <guillermo.herrero@enea.com> | 2017-10-03 10:30:47 +0200 |
---|---|---|
committer | Guillermo Herrero <guillermo.herrero@enea.com> | 2017-10-06 10:04:11 +0000 |
commit | 5ab45d25c8fd3e5528c411e09b105699c745457f (patch) | |
tree | 5122e82fed150880b9e320752a625e95230a2b85 /mcp/reclass/classes/cluster/all-mcp-ocata-common | |
parent | 9ac845bdfb5c4ec7fd8c0b0ba1bc8fec867be5aa (diff) |
Parametrized network config: nic device names
Change-Id: I94d40529261f7753ec47a0c6a8c67ecc0fb15951
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
Diffstat (limited to 'mcp/reclass/classes/cluster/all-mcp-ocata-common')
-rw-r--r-- | mcp/reclass/classes/cluster/all-mcp-ocata-common/aarch64/init.yml | 11 | ||||
-rw-r--r-- | mcp/reclass/classes/cluster/all-mcp-ocata-common/x86_64/init.yml | 10 |
2 files changed, 21 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/all-mcp-ocata-common/aarch64/init.yml b/mcp/reclass/classes/cluster/all-mcp-ocata-common/aarch64/init.yml index 4fb2adf55..18d39c4aa 100644 --- a/mcp/reclass/classes/cluster/all-mcp-ocata-common/aarch64/init.yml +++ b/mcp/reclass/classes/cluster/all-mcp-ocata-common/aarch64/init.yml @@ -14,3 +14,14 @@ parameters: # NOTE(armband): Only x86 VCP VMs spawned via salt.control names differ opnfv_vcp_vm_primary_interface: ${_param:opnfv_fn_vm_primary_interface} opnfv_vcp_vm_secondary_interface: ${_param:opnfv_fn_vm_secondary_interface} + + + infra_primary_nic: enp1s0 + infra_secondary_nic: enp2s0 + infra_tertiary_nic: enp3s0 + infra_quaternary_nic: enp4s0 + + openstack_primary_nic: eth0 + openstack_secondary_nic: eth1 + openstack_tertiary_nic: eth2 + openstack_quaternary_nic: eth3 diff --git a/mcp/reclass/classes/cluster/all-mcp-ocata-common/x86_64/init.yml b/mcp/reclass/classes/cluster/all-mcp-ocata-common/x86_64/init.yml index d7d3945aa..0b66920d0 100644 --- a/mcp/reclass/classes/cluster/all-mcp-ocata-common/x86_64/init.yml +++ b/mcp/reclass/classes/cluster/all-mcp-ocata-common/x86_64/init.yml @@ -14,3 +14,13 @@ parameters: # NOTE(armband): Only x86 VCP VMs spawned via salt.control names differ opnfv_vcp_vm_primary_interface: ens2 opnfv_vcp_vm_secondary_interface: ens3 + + infra_primary_nic: ens3 + infra_secondary_nic: ens4 + infra_tertiary_nic: ens5 + infra_quaternary_nic: ens6 + + openstack_primary_nic: enp6s0 + openstack_secondary_nic: enp7s0 + openstack_tertiary_nic: enp8s0 + openstack_quaternary_nic: enp9s0 |