File tree Expand file tree Collapse file tree
roles/dtc/common/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 description: {{ 'nace_bgp_peer_template_dci_underlay_jython_' + link.source_device + '_' + link.source_interface + '_' + link.dest_device }}
1818 name: bgp_peer_template_dci_underlay_jython
1919 policy_vars:
20- BGP_PASSWORD: "{{ link.bgp_section.bgp_password | default('') }}"
21- BGP_PASSWORD_ENABLE: {{ link.bgp_section.bgp_password_enable | default(defaults.vxlan.topology.edge_connections.bgp_section.bgp_password_enable) }}
20+ {% if link .bgp_section is defined and link .bgp_section .bgp_password is defined and link .bgp_section .bgp_password is not none and link .bgp_section .bgp_password | length > 0 %}
21+ BGP_PASSWORD_ENABLE: true
22+ BGP_PASSWORD: "{{ link.bgp_section.bgp_password }}"
23+ {% else %}
24+ BGP_PASSWORD_ENABLE: false
25+ {% endif %}
2226 TEMPLATE_NAME: {{ data_model_extended.vxlan.fabric.name + '-' + link.dest_fabric + '-IPV4-EBGP' }}
2327 NEIGHBOR_ASN: "{{ link.bgp_section.neighbor_asn }}"
2428 OVERRIDE_LOCAL_ASN: false
You can’t perform that action at this time.
0 commit comments