> This is much simpler because the REST APIs are like RPC operations in YANG -- 
> they do not interact with each other.
> In fact, it is impossible in YANG to have the XPath/leafref cross-references 
> in 1 RPC access another RPC.
> 
> It is easy to support many revisions of an RPC operation.
> Not so easy for the contents of a YANG datastore.


The REST API was modeled using YANG, but each "object" was effectively 
yang-data.   This was for an NMS, so the objects were large.  For example, each 
NE device was an object, as was each application-level abstraction built on top 
of the device native models.

K.

_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to