On Tue, May 05, 2020 at 11:45:41AM +0200, Per Hedeland wrote:
> On 2020-05-05 11:00, Martin Björklund wrote:
> > Hi,
> >
> > If we were to redo YANG, I would prefer to have a single statement
> > "operation", either on the top-level, or tied to a node.
>
> So, no rpc statement, and thereby no possibility to extend NETCONF
> with new RPCs? (Or to be precise, YANG would extend NETCONF with
> exactly one RPC, called "operation"?)
>
OLD
rpc foo {}
list something { action bar {} }
NEW
operation foo {}
list something { operation bar {} }
Syntactic sugar if you will.
/js
--
Juergen Schoenwaelder Jacobs University Bremen gGmbH
Phone: +49 421 200 3587 Campus Ring 1 | 28759 Bremen | Germany
Fax: +49 421 200 3103 <https://www.jacobs-university.de/>
_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod