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

edge_port: add encapsulation to the template

parent e6465ec9
No related branches found
No related tags found
1 merge request!202Fix/create l3 geant ip
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
<description>PHY {{ ep.edge_port_type }} {{ partner_name }} P_{{ ep.edge_port_name }} | {{ member.interface_description }}</description> <description>PHY {{ ep.edge_port_type }} {{ partner_name }} P_{{ ep.edge_port_name }} | {{ member.interface_description }}</description>
<ethernet> <ethernet>
<mode>access</mode> <mode>access</mode>
<encap-type>{{ ep.encapsulation }}</encap-type>
<mtu>{{ mtu_phy | default(9192) }}</mtu> <mtu>{{ mtu_phy | default(9192) }}</mtu>
{% if edge_port_lldp_enable_map[ep.edge_port_type] is true %} {% if edge_port_lldp_enable_map[ep.edge_port_type] is true %}
<lldp> <lldp>
...@@ -37,6 +38,7 @@ ...@@ -37,6 +38,7 @@
<lag 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"> <lag 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">
<lag-name>{{ ep.edge_port_name | lower }}</lag-name> <lag-name>{{ ep.edge_port_name | lower }}</lag-name>
<admin-state>enable</admin-state> <admin-state>enable</admin-state>
<encap-type>{{ ep.encapsulation }}</encap-type>
{% if ep.geant_ga_id is string %} {% if ep.geant_ga_id is string %}
<description>LAG {{ ep.edge_port_type }} {{ partner_name }} ${{ ep.geant_ga_id }} |</description> <description>LAG {{ ep.edge_port_type }} {{ partner_name }} ${{ ep.geant_ga_id }} |</description>
{% else %} {% else %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment