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

trunk_interface Nokia templates

- Added trunk interface into protocols:
-- MPLS
-- RSVP
-- PIM
- Reverse delete in deprovision template
- General formatting
parent 39027bd8
No related branches found
No related tags found
1 merge request!88trunk_interface Nokia templates
Pipeline #85459 passed
......@@ -42,6 +42,21 @@
<interface-name>{{ local.ae_name }}.0</interface-name>
</interface>
</isis>
<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" alu:operation="replace">
<interface alu:operation="delete">
<interface-name>{{ local.ae_name | lower }}.0</interface-name>
</interface>
</mpls>
<pim 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" alu:operation="replace">
<interface alu:operation="delete">
<interface-name>{{ local.ae_name | lower }}.0</interface-name>
</interface>
</pim>
<rsvp 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" alu:operation="replace">
<interface alu:operation="delete">
<interface-name>{{ local.ae_name | lower }}.0</interface-name>
</interface>
</rsvp>
</router>
{% endif %}
......
......
......@@ -21,7 +21,6 @@
{% set trunk_direction_name_sorted = trunk_direction_name|sort %}
{##}
{% for member in local.members %}
<port 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" alu:operation="replace">
<port-id>{{ member.interface_name }}</port-id>
<admin-state>enable</admin-state>
......@@ -83,6 +82,22 @@
<network-policy>GEANT_BASIC</network-policy>
</qos>
</interface>
{# 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" alu:operation="replace">
<interface alu:operation="replace">
<interface-name>{{ local.ae_name | lower }}.0</interface-name>
</interface>
</mpls>
<pim 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" alu:operation="replace">
<interface alu:operation="replace">
<interface-name>{{ local.ae_name | lower }}.0</interface-name>
</interface>
</pim>
<rsvp 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" alu:operation="replace">
<interface alu:operation="replace">
<interface-name>{{ local.ae_name | lower }}.0</interface-name>
</interface>
</rsvp>
</router>
{% endif %}
{% endfor %}
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment