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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -205,7 +205,6 @@ def associate_If_to_NI(parameters, DEL):
                            with tag('interface')   :text(parameters['interface'])
                            with tag('subinterface'):text(parameters['subinterface'])
                            
                            
    result = indent(
        doc.getvalue(),
        indentation = ' '*2,
+1 −1
Original line number Diff line number Diff line
@@ -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>