Skip to content
Snippets Groups Projects
Commit 03564d05 authored by PabloArmingolRobles's avatar PabloArmingolRobles
Browse files

L2VPN changes

parent b46dfba7
No related branches found
No related tags found
2 merge requests!54Release 2.0.0,!4Compute component:
......@@ -14,7 +14,11 @@
<config>
<index>{{index}}</index>
<description>{{description}}</description>
{% if vlan_id is not defined %}
<untagged-allowed xmlns="http://www.advaoptical.com/cim/adva-dnos-oc-interfaces">true</untagged-allowed>
{% endif%}
</config>
{% if vlan_id is defined %}
<vlan xmlns="http://openconfig.net/yang/vlan">
<match>
<single-tagged>
......@@ -24,6 +28,7 @@
</single-tagged>
</match>
</vlan>
{% endif%}
{% if address_ip is defined %}
<oc-ip:ipv4>
<oc-ip:addresses>
......
......@@ -20,7 +20,7 @@
{% endif %}
{% if type=='L2VSI' %}
{% if description is defined %}<description>{{description}}</description>{% endif %}
<enabled>false</enabled>
<enabled>true</enabled>
<mtu>1500</mtu>
</config>
<encapsulation>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment