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-21 23:34:26 +0200
commit5c0a09fbd0f377df56bfcfe94b262225a34f98ff (patch)
treeedd044eb9a40424ce56dc61653886c7ecc32fe57 /mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/kvm.yml
parent80024618fbda8422ba758d667073ad07c6f69542 (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>
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}