diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-01-25 18:33:54 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-01-25 18:33:54 +0000 |
commit | d8cf4a9b8fb25af7fed10b8b9e69f70b601ccbce (patch) | |
tree | 907e9f0452a4e057c8b7b11241124b5f090b1438 /mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/openstack_compute_pdf.yml.j2 | |
parent | 03e9296cebe0f38f459f7ae225ab7843fc37480e (diff) | |
parent | 7c79115c2a1b6716f23f73be244bd1840a9e6f82 (diff) |
Merge "Add support for different public network netmask"
Diffstat (limited to 'mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/openstack_compute_pdf.yml.j2')
-rw-r--r-- | mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/openstack_compute_pdf.yml.j2 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/openstack_compute_pdf.yml.j2 b/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/openstack_compute_pdf.yml.j2 index 6485fefb1..c1c1094cb 100644 --- a/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/openstack_compute_pdf.yml.j2 +++ b/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/openstack_compute_pdf.yml.j2 @@ -60,7 +60,11 @@ parameters: type: eth proto: manual address: 0.0.0.0 - netmask: 255.255.255.0 + {%- if nic == nic_public %} + netmask: ${_param:opnfv_net_public_mask} + {%- else %} + netmask: 255.255.255.0 + {%- endif %} mtu: ${_param:interface_mtu} name: {{ nic }} {%- endif %} |