[NETCONF-1000] Clean up NetconfMessage Created: 25/Apr/23  Updated: 26/Apr/23  Resolved: 26/Apr/23

Status: Resolved
Project: netconf
Component/s: netconf
Affects Version/s: None
Fix Version/s: 6.0.0

Type: Task Priority: Medium
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: pt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Reorganize netconf.git

 Description   

NetconfMessage is currently rather not nice – it very much expects to have a document, but for error handling purposes it was broken by FailedNetconfMessage.

Repair that damage by eliminating FailedNetconfMessage and instead reporting a proper failure up the stack.

While we are in the area, also move NetconfNotification to netconf-api, so we have well-known messages co-located.

As a further evolution, rename NetconfNotification to NotificationMessage and NetconfHelloMessage to HelloMessage – cutting down on verbosity.


Generated at Wed Feb 07 20:16:26 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.