CESNET / netopeer2

NETCONF toolset
BSD 3-Clause "New" or "Revised" License
291 stars 186 forks source link

edit-config usage #1602

Open pdafv opened 6 days ago

pdafv commented 6 days ago

Hi there!

I am wondering if I am using the correct XML to perform an edit-config that changes multiple elements within a module. Somehow the XML I am using only changes the first one, and I am not sure why.

This is the XML I am using:

<List_number_1 xmlns="urn:some:module">
    <key>0</key>
    <some_leaf>VALUE_TO_BE_CHANGED</some_leaf>
</List_number_1> 
<some_other_leaf xmlns="urn:some:module">ANOTHER_VALUE_TO_BE_CHANGED</some_other_leaf>

With this XML only VALUE_TO_BE_CHANGED is in fact, changed, whereas ANOTHER_VALUE_TO_BE_CHANGED is not. Would be great if I could get some answers as to why that is happening.

Thanks in advance, Pedro.