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

`trunk_interface.j2`: remove QoS from router/interface when version => 2.0

parent ec841f6f
No related branches found
No related tags found
1 merge request!273`trunk_interface.j2`: remove QoS from router/interface when version => 2.0
Pipeline #94491 passed
...@@ -137,9 +137,11 @@ ...@@ -137,9 +137,11 @@
<prefix-length>{{(local.ipv6_address| split('/'))[1]}}</prefix-length> <prefix-length>{{(local.ipv6_address| split('/'))[1]}}</prefix-length>
</address> </address>
</ipv6> </ipv6>
{% if trunk_version | float < 2.0 %}
<qos> <qos>
<network-policy>GEANT_BASIC</network-policy> <network-policy>GEANT_BASIC</network-policy>
</qos> </qos>
{% endif %}
</interface> </interface>
{# Add new LAG trunk into standard protocols #} {# Add new LAG trunk into standard protocols #}
<mpls 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"> <mpls 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">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment