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 @@ ...@@ -14,7 +14,11 @@
<config> <config>
<index>{{index}}</index> <index>{{index}}</index>
<description>{{description}}</description> <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> </config>
{% if vlan_id is defined %}
<vlan xmlns="http://openconfig.net/yang/vlan"> <vlan xmlns="http://openconfig.net/yang/vlan">
<match> <match>
<single-tagged> <single-tagged>
...@@ -24,6 +28,7 @@ ...@@ -24,6 +28,7 @@
</single-tagged> </single-tagged>
</match> </match>
</vlan> </vlan>
{% endif%}
{% if address_ip is defined %} {% if address_ip is defined %}
<oc-ip:ipv4> <oc-ip:ipv4>
<oc-ip:addresses> <oc-ip:addresses>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
{% endif %} {% endif %}
{% if type=='L2VSI' %} {% if type=='L2VSI' %}
{% if description is defined %}<description>{{description}}</description>{% endif %} {% if description is defined %}<description>{{description}}</description>{% endif %}
<enabled>false</enabled> <enabled>true</enabled>
<mtu>1500</mtu> <mtu>1500</mtu>
</config> </config>
<encapsulation> <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