netconf-wg / netconf-next

A repository to collection feature requests for NETCONF
0 stars 1 forks source link

Allow returning data for successful <edit-config> operations beyond just <ok> #34

Open BalazsLengyel opened 11 months ago

BalazsLengyel commented 11 months ago

In some cases an operation might have side effects. It would be good if these could be communicated in the message. Examples include:

abierman commented 11 months ago

Support this functionality, but it needs to be uniform for all operations, not just 'edit-config'.

In fact YANG already supports this feature using augment. Any RPC or action, whether it returns ok or data, can be augmented. A proper NC client will accept the augmented data instead of 'ok'