Hi Robert, Thank you for adding comments to the requirements on the GitHub issue tracker.
There will be a meeting in a few weeks for Template Enthusiasts to discuss/score the various requirements collected thus far. This is what was requested from the 121 Session 2 discussion. Kent // contributor > On Dec 2, 2024, at 6:37 AM, Robert Peschi (Nokia) <[email protected]> > wrote: > > Hi Kent, > > I am OK about requirements #12, #13 and #14 which I also further commented as > follows: > > #12 The <running> datastore contains the unexpanded template > >That said, per #10 <https://github.com/netmod-wg/template-reqs/issues/10>, > >it may be possible to ask the device to return a expanded version of > Yes, absolutely. > In case of NMDA, this would be done by the client querying the intended > datastore of the device Server > In case of non-NMDA, the device would maintain a YANG state tree reflecting > the data expanded, that can be queried by the client. > #13: The <intended> datastore contains the expanded template > Note that templates are also usable in non-NMDA devices: in a non-NMDA > device, the device application software would expand the template in its > private memory. This expanded data could be made visible to a YANG client by > defining a state tree reflecting it. > >The datastore is subject to validation, which means that all the templates > >need to be expanded/flattened > As commented in requirement #14, pre-validating a template might accelerate > the validation of the expanded data > > #14: Off-box validation of <running> containing templates must be possible > >Expectation is that clients would perform the template-expansion step prior > >to using a validator (just like the servers do) > Note also that since a template contains a configuration matching the one of > a typical actual sub-bsystem (as defined in > draft-rajaram-yang-config-template-framework-00), it could likely be > pre-validated alone, prior being applied to actual sub-system. This > "done-once-for-all" template validation might accelerate the validation of > each sub-system expanded data ? > > Robert
_______________________________________________ netmod mailing list -- [email protected] To unsubscribe send an email to [email protected]
