On Wed, Nov 13, 2024 at 9:52 AM Joe Clarke (jclarke) <[email protected]> wrote:
> > > IMO the WG should try to support more than the basics (like ranges and > conditional logic). > > > > [JMC] I very much agree with this. I debated whether to add it as a > GitHub requirement as it moves away from something simpler. But in my > experience with YANG-based templates, programmatic constructs like > conditionals and simple loops have been very helpful. > > > The conditional part could be done with an XPath filter, similar to the 'where' parameter for NC/RC collections. Maybe a loop and a range are the same thing. A loop tests all the templates matching the target object, running the XPath test. Presentation #4 seemed to have a custom XPath. IMO regular XPath would be easier since servers probably support it already. Joe > Andy
_______________________________________________ netmod mailing list -- [email protected] To unsubscribe send an email to [email protected]
