[NETCONF-482] Extra superfluous edit-config RPC sent just prior to correct edit-config RPC for top-level lists Created: 03/Nov/17 Updated: 25/Aug/20 Resolved: 25/Aug/20 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | netconf, restconf-nb |
| Affects Version/s: | None |
| Fix Version/s: | Nitrogen SR1, Carbon SR3, Aluminium, 1.13.0, Magnesium SR3 |
| Type: | Bug | Priority: | High |
| Reporter: | Jeff Hartley | Assignee: | Jamo Luhrsen |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Boron SR-3 Netconf-mounted network element with a list at the top level. Examples include Juniper JUNOS 17.4 interfaces, Juniper JDM 17.4 virtual-network-functions, and others. |
||
| Description |
|
Symptom: What's actually happening: Solution: If the target is a mounted network element, don't create the empty subtree at all. Regardless of whether or not the standard allows it, most vendor netconf implementations reject this behavior. See MakePut in BrokerFacade for the root cause, and also see corresponding post method.. One example of the failure: : Error reply from remote device, request: <rpc message-id="m-7538" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> |
| Comments |
| Comment by Kit Lou [ 04/Nov/17 ] |
|
This looks like an existing issue for Boron and Carbon. Does it apply to Nitrogen also? Is this truly a blocker for the upcoming release of Nitrogen-SR1? Thanks! |
| Comment by Atul Gosain [ 07/Nov/17 ] |
|
As per the Juniper engineers, the edit config used to have a different behavior pre Boron SR3. |
| Comment by Atul Gosain [ 07/Nov/17 ] |
|
Submitted a patch for Nitrogen https://git.opendaylight.org/gerrit/#/c/65281/ |
| Comment by Balaji Varadaraju [ 07/Nov/17 ] |
|
The extra massaging for the requests such as creating the parent structures and empty payload etc are not needed for mounted Netconf devices. They may be only needed for ODL's internal operations. So not doing those extra operations on mount points is good. Not all devices take kindly to those extra edit-configs. |
| Comment by Atul Gosain [ 08/Nov/17 ] |
|
Submitted patch for Carbon - https://git.opendaylight.org/gerrit/#/c/65293/ |
| Comment by Kit Lou [ 09/Feb/18 ] |
|
agosain - please mark this issue as resolved as both patches have been merged. Thanks! |
| Comment by Jamo Luhrsen [ 12/Jun/20 ] |
|
this did not make it to master... along with some other patches so was lost in Fluorine and beyond |
| Comment by Jamo Luhrsen [ 14/Aug/20 ] |
|
tcere or rovarga, can you take a look at this patch please? This work was done, probably in a rush or during a release window, and was only merged to stable/oxygen and cherry picked The patch is essentially the same work, but it was not a straight cherry-pick for me. I tested locally |