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.
Recently, new classes were added to NSO Python API that makes it easier to play with commit/re-deploy parameters. Let me show you some examples on how you can make your life easier:Setting CommitParams:General Steps:1) Create RW Maapi session and tra...
Hi,
I am using yanger to create the swagger documentation. I do not find a way to force the BaseURL to be https and not http and I need to change that by script.
Am I missing anything?
Roque
When querying via RESTCONF to NSO for an empty list, NSO returns with 204 NoContent. I was not able to find this behavior in the RFC8040 and I am getting challenged on why not to send 200OK and an empty JSON/XML.
Do we have any clear reference for ...
Hi,
Is there any pre-cooked way to get the size of a list via RESTCONF? For example, I need to get the number of devices in NSO.
I am now using the query API. but I wonder if we could use xpath in any clever way.
Roque
curl -X POST \
https:...
Hi,
I want to apply a boolean operation in the if-ned-id function, in particular an OR for two types of NEDs.
Is this supported?
Tried without success:
<?if-ned-id zte-nc-1-nc-1.0:zte-nc-1-nc-1.0 or if-ned-id hw-nc-1.0:hw-nc-1.0?>
<?(if-ned-id zt...
An Action input is a maagic.Node object.
You should be able to use the ncs.maagic.as_pyval(node) method and then print the python object as it fits you.
Relative example follows.
In [7]: node = root.ncs__devices.global_settings
In [8]: ncs.maagic.as_...
First, I did not test it in XE but for OpenConfig in XR I tried the following NSO template:
```
<config-template xmlns="http://tail-f.com/ns/config/1.0">
<?set MTU={/mtu}?>
<devices xmlns="http://tail-f.com/ns/ncs">
<?foreach {/device}?>
...
Hi, we are adding a wider set of capabilities on how to deal with these brownfield environments in NSO6.5. We should have a session in May's developers day. Please join us in Stockholm in May.
In the mean time, what can you do? For sure you can creat...
Hi, one possibility is that the ssh key is failing just because there is a key algorithm mismatch. This is a common problem due to recent security tightening rules both in NSO and the devices. So, please check the ned traces an test that it works fro...
I believe your problem comes from your pre-condition setting:
ncs:pre-condition {
ncs:monitor
"$SERVICE/plan/component[type='my-nano:cpe']/state[name='my-nano:cpe-created']" {
ncs:trigger-expr "status = 'reached'";
}
...