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, I have the following yang model: module cr-art {
namespace "http://example.com/cr-art";
prefix cr-art;
...
list cr-art {
key DEVICE;
uses ncs:service-data; ncs:servicepoint cr-art-servicepoint;
leaf DEVICE {
type leafr...
Hello, This is more a best practice or architectural question. I have seen several services that configure a PE and their corresponding CEs. In those scenarios, you have one instance of the service associated to each of the PEs. In each of those inst...
Hello, I have the following yang file, where I am trying to model the connection between a device and its neighbors: module cr-art {
list cr-art {
key DEVICE;
leaf DEVICE {
type leafref {
path "/ncs:devices/ncs:device/ncs:name...
Hello, I was wondering if there is a way to access the data introduced at on-boarding time in order to populate a template. Let's say we have provisioned these devices: admin@ncs# show devices listNAME ADDRESS DESCRIPTION NED ID ...
Hi. I am having trouble filling a service template using the values of variables defined in another service.Let's say I have defined a service (tlfr3) where I store variables that will be used by other services. For the time being I have added this v...
Great! It works. Where can I learn about other methods available for List objects in NSO? Is there any document or man page where I can find them? Thanks,Fran
Thanks, That worked! In fact, what I was trying to do is to check if a value is in the list of devices configured for the service. Something like: for rv in service.ROUTER_VECINO:
if rv.NOMBRE in root.cr_art.DEVICE:
self...
Hi, Thanks four your answer. I will try your suggestion regarding tailf:no-leafref-check / tailf:non-strict-leafref. I do not think the second approach will work, since I am not able to even configure the first device without having configured its ne...
I have explored the other way, the template one, and it works!! Just in case it might help someone, this is my template: <interfaces>
<interface>
<name>{/ROUTER_VECINO/INT_AGREGADO_CONEXION/NOMBRE_INT_AGREGADO}</na...