Skip to content
Snippets Groups Projects
Commit f12c3622 authored by Aleksandr Kurbatov's avatar Aleksandr Kurbatov
Browse files

Add `ecmp` as an option to router Base and vprn

parent f750068d
No related branches found
No related tags found
1 merge request!167PE base config - integrated into `base_config` role.
Pipeline #88993 passed
<router xmlns="urn:nokia.com:sros:ns:yang:sr:conf" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:nokia-attr="urn:nokia.com:sros:ns:yang:sr:attributes">
<router-name>Base</router-name>
<autonomous-system xmlns="urn:nokia.com:sros:ns:yang:sr:conf" xmlns:nokia-attr="urn:nokia.com:sros:ns:yang:sr:attributes" alu:operation="replace">{{ geant_re_as_number }}</autonomous-system>
{% if router_role == 'pe' and pe_bgp_base.ecmp is defined %}
<ecmp>{{ pe_bgp_base.ecmp }}</ecmp>
{% endif %}
<router-id xmlns="urn:nokia.com:sros:ns:yang:sr:conf" xmlns:nokia-attr="urn:nokia.com:sros:ns:yang:sr:attributes" alu:operation="replace">{{ lo_ipv4_address }}</router-id>
<interface xmlns="urn:nokia.com:sros:ns:yang:sr:conf" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:nokia-attr="urn:nokia.com:sros:ns:yang:sr:attributes">
<interface-name>system</interface-name>
......
......@@ -8,6 +8,9 @@
<service-id>{{ vprn.service_id }}</service-id>
<customer>{{ vprn.customer_id }}</customer>
<autonomous-system>{{ vprn.asn }}</autonomous-system>
{% if vprn.ecmp is defined %}
<ecmp>{{ vprn.ecmp }}</ecmp>
{% endif %}
<bgp-ipvpn>
<mpls>
<admin-state>enable</admin-state>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment