<interfaces xmlns="http://openconfig.net/yang/interfaces">
    <interface>
        <name>{{name}}</name>
        {% if operation is not defined or operation != 'delete' %}
        <config>
            <name>{{name}}</name>
            {% if 1==0 %}
            <description>{{description}}</description>
            <mtu>{{mtu}}</mtu>
            {% endif %}
        </config>
        {% endif %}
        <subinterfaces>
            <subinterface{% if operation is defined %} xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" nc:operation="{{operation}}"{% endif %}>
                <index>{{index}}</index>
                {% if operation is not defined or operation != 'delete' %}
                <config>
                    <index>{{index}}</index>
                </config>
                {% endif %}
                <vlan xmlns="http://openconfig.net/yang/vlan">
                    <config>
                        <vlan-id>{{index}}</vlan-id>
                    </config>
                </vlan>
            </subinterface>
        </subinterfaces>
    </interface>
</interfaces>
