Do not send 'commit' to the devices without candidate 93/103693/6
authorSangwook Ha <sangwook.ha@verizon.com>
Fri, 16 Dec 2022 01:06:05 +0000 (17:06 -0800)
committerRobert Varga <nite@hq.sk>
Sun, 18 Dec 2022 17:45:33 +0000 (17:45 +0000)
commit3f566e5d24c17abd9643dd854b11d4345231a2e1
tree580b391b9ef3881dc354dd5885aabcc3ee278303
parent91aac6847451032eba82ba8c8ad4a09d35b5f2ae
Do not send 'commit' to the devices without candidate

The 'commit' RPC should not be sent to the devices only with
'writable-running' and without 'candidate' capability.

Override the commit method for the 'Running' NetconfDataTreeService
to immediately return a DomRpcResult without any errors.

JIRA: NETCONF-933
Change-Id: Ic0e51135e3ae347213d8ef8dbc03deb282d47af3
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
netconf/sal-netconf-connector/src/main/java/org/opendaylight/netconf/sal/connect/netconf/sal/AbstractNetconfDataTreeService.java