diff --git a/geant/gap_ansible/roles/promote_p_to_pe/templates/routers/nokia/router/vprn.j2 b/geant/gap_ansible/roles/promote_p_to_pe/templates/routers/nokia/router/vprn.j2 index c6c049644f15d58cb914a40b34030c847ad0402c..fa8b93629adf476092c007d3e7fd1ea16289c5a1 100644 --- a/geant/gap_ansible/roles/promote_p_to_pe/templates/routers/nokia/router/vprn.j2 +++ b/geant/gap_ansible/roles/promote_p_to_pe/templates/routers/nokia/router/vprn.j2 @@ -38,6 +38,28 @@ {% endfor %} </best-path-selection> {% endif %} + {% if vprn.bgp.multipath is defined %} + <multipath> + {% if vprn.bgp.multipath.ibgp is defined %} + <ibgp>{{ vprn.bgp.multipath.ibgp }}</ibgp> + {% endif %} + {% if vprn.bgp.multipath.ebgp is defined %} + <ebgp>{{ vprn.bgp.multipath.ebgp }}</ebgp> + {% endif %} + {% if vprn.bgp.multipath.ipv4 is defined %} + <family> + <family-type>ipv4</family-type> + <max-paths>{{ vprn.bgp.multipath.ipv4 }}</max-paths> + </family> + {% endif %} + {% if vprn.bgp.multipath.ipv6 is defined %} + <family> + <family-type>ipv6</family-type> + <max-paths>{{ vprn.bgp.multipath.ipv6 }}</max-paths> + </family> + {% endif %} + </multipath> + {% endif %} {% with bgp_obj=vprn.bgp, bgp_group_context='vprn' %} {% include 'router/bgp_group.j2' %} {% endwith %}