summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/infra/kvm.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-odl-ha/infra/kvm.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-odl-ha/infra/kvm.yml')
-rw-r--r--mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/infra/kvm.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/infra/kvm.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/infra/kvm.yml
index 67a2c4da5..c13c47514 100644
--- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/infra/kvm.yml
+++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/infra/kvm.yml
@@ -25,7 +25,7 @@ parameters:
cluster_node03_address: ${_param:infra_kvm_node03_address}
keepalived_vip_interface: br-ctl
keepalived_vip_virtual_router_id: 69
- deploy_nic: enp6s0
+ deploy_nic: ${_param:openstack_primary_nic}
salt:
control:
size: # RAM 4096,8192,16384,32768,65536
@@ -115,10 +115,10 @@ parameters:
virt:
nic:
default:
- eth1:
+ - name: ${_param:deploy_nic}
bridge: br-mgmt
model: virtio
- eth0:
+ - name: ${_param:deploy_nic}.${_param:opnfv_net_mgmt_vlan}
bridge: br-ctl
model: virtio
glusterfs:
@@ -140,7 +140,7 @@ parameters:
linux:
network:
interface:
- eth3:
+ deploy:
enabled: true
type: eth
proto: manual