You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem was found by performing "bad" edit-config XML.
What steps will reproduce the problem?
1. Content of datastore:
<nacm xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-acm">
<rule-list>
<rule>
<name>permit-all-last</name>
<module-name>*</module-name>
<access-operations>*</access-operations>
<action>permit</action>
</rule>
<rule>
<name>permit-all-last2</name>
<module-name>*</module-name>
<access-operations>*</access-operations>
<action>permit</action>
</rule>
</rule-list>
</nacm>
2. edit-config with the wrong key attribute that tries to move item "before
itself":
<nacm xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-acm"
xmlns:yang="urn:ietf:params:xml:ns:yang:1">
<rule-list>
<rule yang:insert="before" yang:key="[name='permit-all-last']">
<name>permit-all-last</name>
</rule>
</rule-list>
</nacm>
What is the expected output? What do you see instead?
In the output permit-all-last is completely missing.
Original issue reported on code.google.com by tom.cejka@gmail.com on 20 Nov 2013 at 4:07
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
tom.cejka@gmail.com
on 20 Nov 2013 at 4:07The text was updated successfully, but these errors were encountered: