Hi,
I have this must statement which I want to use to check if a leaf-list contains a certain value:
must "contains(route-target, '15525')";
In the xpath trace I see this:
18-Jun-2019::13:38:17.870 evaluating: /vrf:vrf[device='xr-1'][vrf-name='...
I'm trying to copy a set of nodes defined by a grouping from one point in the data model to another (both defined by the same grouping, which for now is just a bunch of dummy leafs).
I've been trying to do it from both within service create method wi...
Hi,
I'm writing an action (Python) that, among other things, is going to create a list entry in CDB that has a very similar data model as in the action input.
I was hoping to use a template that will map the inputs directly, using xpath, from the...
Implementing an upgrade component for an NSO package, can we somehow query the current package version field and the target package version field (package-version field in package-meta-data.xml) from within the Java code of the upgrade component?Than...
Hi,I'm trying to use the Pioneer package in order to build a netconf package for a csp2100 device.I'm following the instructions on the readme.md file in github, but still facing some issues.I've compiled and loaded the Pioneer package, and then adde...
There are certain limitations to the Python ternary expression (a = x if b else y) - e.g. it cannot contain elif.
but this is just one way to assign value to the string representing the template name. You can come up with many other ways to go about ...
You didn't mention what's not working (is something not working?).
Are you setting values to loopback_id_1/2 in your python code?
Trying debugging with commit dry-run | debug template
One simple way to go about it is to make your configs for one device and before you commit do "top ; show conf | display xml", then copy the output to notepad, and duplicate the <device> block per the devices you want (setting the device names accord...
You're trying to use the 'foreach' processing instruction, but you're not using the correct syntax.
Have a look at the NSO Development Guide - search for section "Processing instructions". You can find the syntax for the statement.
You were using s...