summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2018-06-25 21:42:26 +0400
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-06-27 15:10:22 +0200
commitc0161169de2a8e149818c277d19f00fe95d3b1fc (patch)
tree156f9c5e6ab438e87ee11ae3d62673ae0a91e6d2 /mcp/reclass/classes
parent56a5525a3ceafd6cbdeee239dc17c6e0a1a94f69 (diff)
[ha] Add fabric to maas admin subnet
Change-Id: Ida4cf736dfe60886384e7e180d3e43faf811bd58 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit 75cbbc689bd9428384f4828f970981da52e92a04)
Diffstat (limited to 'mcp/reclass/classes')
-rw-r--r--mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/maas_pdf.yml.j213
1 files changed, 8 insertions, 5 deletions
diff --git a/mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/maas_pdf.yml.j2 b/mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/maas_pdf.yml.j2
index 1838590e9..7d338dd02 100644
--- a/mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/maas_pdf.yml.j2
+++ b/mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/maas_pdf.yml.j2
@@ -22,15 +22,18 @@ parameters:
name: {{ net_admin }}
cidr: {{ net_admin }}
gateway_ip: ${_param:single_address}
+ fabric: fabric-2
iprange:
start: ${_param:opnfv_infra_maas_pxe_start_address}
end: ${_param:opnfv_infra_maas_pxe_end_address}
type: dynamic
- vlans:
- untagged:
- vid: 0
- dhcp_on: true
- primary_rack: ${_param:infra_maas_node01_hostname}
+ fabrics:
+ fabric-2:
+ description: "Fabric Admin"
+ vlan:
+ 0:
+ description: "VLAN 0"
+ dhcp: true
# Space-separated list of dpkg architectures to be supported by MaaS
opnfv_arches:{%- for arch in cluster_arch %} {{ arch | dpkg_arch }}{%- endfor %}
sshprefs: