On 08/02/2016 16:20, Juergen Schoenwaelder wrote:
On Mon, Feb 08, 2016 at 01:21:52PM +0000, Robert Wilton wrote:
So, IIRC, your concern is specifically that a generic YANG client
library cannot validate that the RPC reply is well formed against the
schema without knowledge about the request. Is that correct?
None of the existing tools that assume YANG defined data is XML
encoded according to RFC 6020 will not be able to process data in a
new encoding.
OK.
As Lou indicates, the proposed protocol schema encoding could also be
generated by tooling (i.e. a pyang plugin).
I.e. a client can take the source YANG models (e.g. as defined by IETF)
and apply a transformation to them that would generate a set of YANG
models that are the same except that they have the extra applied
configuration nodes added to them.
An opstate aware client could use the generated YANG models to both
internally manage the manageability data, and also to validate that the
messages sent to/from the server conform with the extended schema.
Rob
/js
_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod