diff options
author | 2018-10-17 13:50:29 +0000 | |
---|---|---|
committer | 2018-10-17 13:50:29 +0000 | |
commit | 6272bd42dcac3ea9b9848d5487dbf2eff08ae0f8 (patch) | |
tree | 770e5a07ad8d0209db6e14d170cbd31a7c61c0a1 /mcp/reclass/classes/cluster/mcp-odl-noha/opendaylight/control_pdf.yml.j2 | |
parent | d730e4b011a5770ef29655028638b490fe34a339 (diff) | |
parent | 7f41e5fde88df7c312175a90c536550763d4c271 (diff) |
Merge "Add odl bgpvpn noha scenario to fuel"
Diffstat (limited to 'mcp/reclass/classes/cluster/mcp-odl-noha/opendaylight/control_pdf.yml.j2')
-rw-r--r-- | mcp/reclass/classes/cluster/mcp-odl-noha/opendaylight/control_pdf.yml.j2 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/mcp-odl-noha/opendaylight/control_pdf.yml.j2 b/mcp/reclass/classes/cluster/mcp-odl-noha/opendaylight/control_pdf.yml.j2 index 5e647d0c0..95f3ee385 100644 --- a/mcp/reclass/classes/cluster/mcp-odl-noha/opendaylight/control_pdf.yml.j2 +++ b/mcp/reclass/classes/cluster/mcp-odl-noha/opendaylight/control_pdf.yml.j2 @@ -27,6 +27,17 @@ parameters: gateway: {{ nm.net_admin_gw }} name_servers: - {{ nm.net_admin_gw }} +{%- if '-bgpvpn-' in conf.MCP_DEPLOY_SCENARIO %} + external: + enabled: true + name: {{ nm.ctl01.nic_public }} + proto: static + type: eth + address: ${_param:opnfv_opendaylight_server_external_address} + netmask: ${_param:opnfv_net_public_mask} + mtu: ${_param:interface_mtu} + noifupdown: true +{%- endif %} {#- prevent duplicates for tagged mgmt on the same physical interface as PXE/admin #} {%- if nm.ctl01.nic_admin in nics %} |