Hi everyone, I am trying to build a simple qos service template. Just wondering about passing variables to the template xml from Yang using the choice
module qos {
augment /ncs:services {
list qos { key vpn-name; uses ncs:service-data; ncs:servi...
So my original question of using some of logic to fill the XML template still remains. If I have two configuration snipet (1 for each Choice), how do I do this?If choice = vpn-trunk, xml template will use vpn-trunk configuration. If choice = vpn=acce...
I figured it out. I can just use //vlan-id. The Xpath definition for // = Selects nodes in the document from the current node that match the selection no matter where they are.Since the choice will only leave 1 configurable sub container, the vlan-id...