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...
Hi, You can always convert "to string" the output from any NSO command but you need to navigate the maagic object to create the output that you decide. What I am sensing that you would like to have the same output as a CLI show command in Junos to th...
Hi,
If you are using the leafref as a way to have CLI completion and WebUI drop-downs, you can check to use "tailf:non-strict-leafref" extension. I did not check its performance in large lists.
You use it this way:
leaf name {
type stri...
Hi,
As it was said by others, your ask is not really clear. What you may be looking for is adding a must statement which would limit the possible completions in the second leaf like this example (you can use any Xpath1.0 expression). There are other ...
Hi Ron,
I am not sure I follow you but I do not think anything is missing in NSO 6.1. In particular, I have been able to compile the following dedicated UI in NSO 6.1: https://github.com/NSO-developer/tme-demo
The output includes a DataCenter demo. S...