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...
This is unfortunately common. In general the NED should deal with this problem and I have see many cases (like IOS vlans ranges or other macros). So, my first take is to grab your traces and request the TAC to improve the fortigate NED with your use ...
Hi,
I checked the NED README file (always the best place to start looking for solutions) and did not find anything special.
I would recommend you to file a TAC ticket and let the NED developer know as probably your problem have solution. For example,...
Just to add to the previous reply, you can set the context when using the xpath tool to do the eval:
admin@ncs% xpath ctx devices eval device/name/devices/device[name='ASR9K1']/name :: ASR9K1/devices/device[name='ASR9K2']/name :: ASR9K2/devices/devic...