aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/kvm.yml
diff options
context:
space:
mode:
authorGuillermo Herrero <guillermo.herrero@enea.com>2017-09-13 14:15:07 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-09-22 16:29:31 +0000
commit1b03bd3ec9ff4a3897e007dfcd95d49d017ec323 (patch)
treeedd044eb9a40424ce56dc61653886c7ecc32fe57 /mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/kvm.yml
parent0448121a5e0a3c1667e1af61fcfb8a51b17fdcfd (diff)
Pod Descriptor File compatible reclass structure
Implementation for baremetal-mcp-ocata-ovs-ha scenario JIRA: FUEL-275 Change-Id: Id6ab5697f993ac9faa019c3c10ba4ed4b7b6db01 Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com> (cherry picked from commit 5c0a09fbd0f377df56bfcfe94b262225a34f98ff)
Diffstat (limited to 'mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/kvm.yml')
-rw-r--r--mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/kvm.yml11
1 files changed, 5 insertions, 6 deletions
diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/kvm.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/kvm.yml
index 7550c1af8..5064cff7b 100644
--- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/kvm.yml
+++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/kvm.yml
@@ -143,17 +143,16 @@ parameters:
enabled: true
proto: dhcp
type: bridge
- name_servers:
- - 8.8.8.8
- - 8.8.4.4
+ name_servers: ${_param:opnfv_name_servers}
use_interfaces:
- ${_param:deploy_nic}
noifupdown: true
- vlan300:
+ mgmt-vlan:
+ name: vlan${_param:opnfv_net_mgmt_vlan}
enabled: true
proto: manual
type: vlan
- name: ${_param:deploy_nic}.300
+ name: ${_param:deploy_nic}.${_param:opnfv_net_mgmt_vlan}
use_interfaces:
- ${_param:deploy_nic}
br-ctl:
@@ -163,4 +162,4 @@ parameters:
address: ${_param:single_address}
netmask: 255.255.255.0
use_interfaces:
- - ${_param:deploy_nic}.300
+ - ${_param:deploy_nic}.${_param:opnfv_net_mgmt_vlan}