Skip to content
Snippets Groups Projects
Commit d2bc0964 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Device component - OpenConfig driver:

- Add MTU to subinterfaces
- Cosmetic improvements
parent 5643f06b
No related branches found
No related tags found
2 merge requests!294Release TeraFlowSDN 4.0,!196Resolve "(CTTC) Incorrect endpoint lookup in NBI ETSI BWM plugin"
......@@ -204,7 +204,6 @@ def associate_If_to_NI(parameters, DEL):
with tag('id') :text(parameters['id'])
with tag('interface') :text(parameters['interface'])
with tag('subinterface'):text(parameters['subinterface'])
result = indent(
doc.getvalue(),
......
......@@ -33,7 +33,7 @@
{% if address_ip is defined %}
<oc-ip:ipv4>
<oc-ip:config>
<oc-ip:mtu>1500</mtu>
{% if mtu is defined %}<mtu>{{mtu}}</mtu>{% endif%}
</oc-ip:config>
<oc-ip:addresses>
<oc-ip:address>
......
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