On Fri, 2018-04-27 at 16:47 +0200, Juergen Schoenwaelder wrote:
> On Fri, Apr 27, 2018 at 04:34:38PM +0200, Ladislav Lhotka wrote:
> 
> > [...] define a special datastore for it, such as "error-messages".
> 
> This seems worse than using, well, RFC 8040 yang-data. The proper

Why it seems worse?

> clear solution for RPCs and actions would be to enable the definition
> of error details right in the rpc/action definition (input, output,
> error).

Agreed.

> 
> But something like yang-data seems to have uses in other contexts.

So other datastores may be defined. I assume that YANG library data can be used
independently, not just on a NC/RC server, pretty much along the lines of draft-
lengyel-netmod-yang-instance-data.

Lada

> 
> /js
> 
-- 
Ladislav Lhotka
Head, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67

_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to