Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Hello everyone, is it possible to have multiple lists in the YANG-model? I have tried that and the YANG-model compiles without errors. But my problem appears when I want to create a service instance. Both lists are shown as an available option when u...
Hello everyone, is it possible to display only devices from a device group when configuring a service? Normally, when configuring a service, a list of all devices in NSO are shown when entering a "?" after the device-leaf in the CLI. But I would like...
I have a python-and-template service which simply creates a loopback interface on a device. The IP-Address for the Loopback-Interface is taken from an IP-Address-Pool on netbox. So when I apply the service to a device, a new entry in the netbox datab...
Hi everyone, I have the following problem:I created a simple loopback-service to get myself familiar with NSO. I created the necessary YANG and XML files (see below). I compiled the YANG file, and reloaded the packages in the NSO CLI, so there should...
Thanks for your answer, I am currently going with your suggested "two-step"-solution and it works just fine. Thanks for all your help, Best regards,Robin
Thanks for your answer, the "tailf:cli-flatten-container" option is exactly what I was looking for. However, it doesn't seem to work. I added the statement under both lists, like this: list hub {
tailf:cli-flatten-container;
key device;
...
Thank you very much, the first part was enough to do the trick for me, since I don't have nested device-groups. It now works like how I imagined it. Best Regards, Robin
Thanks for your answer, however I encounter the following error message when I try to change the path in the yang-model according to your proposed solution: "error: bad argument value “/ncs :devices/ncs :device-group[name=’Hubs’]/ncs :device-name“ sh...
Found already a solution, the problem was in my xml-file. The variables "loid", "ipadd" and "vrfname" are inside the list "Loopbacks" (see yang file), and when I want to reference those leafs in the xml file, I need to specify that list as well. For ...