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

Device:

OpenConfig Driver:
- updated delete operation for interfaces to just remove its description
parent 8b4fe999
No related branches found
No related tags found
1 merge request!54Release 2.0.0
<interfaces xmlns="http://openconfig.net/yang/interfaces">
<interface{% if operation is defined %} xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" nc:operation="{{operation}}"{% endif %}>
<interface{% if operation is defined and operation != 'delete' %} xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" nc:operation="{{operation}}"{% endif %}>
<name>{{name}}</name>
{% if operation is not defined or operation != 'delete' %}
<config>
<name>{{name}}</name>
{% if operation is defined and operation == 'delete' %}
<description></description>
{% else %}
<description>{{description}}</description>
<mtu>{{mtu}}</mtu>
{% endif %}
</config>
{% endif %}
</interface>
</interfaces>
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