Hello,I was able to insert variable in xpath using python maapi but not for all parameters as below:myname = 'cisco'myinterface = 'GigabitEthernet'mynumber = '1'with ncs.maapi.Maapi() as m: with ncs.maapi.Session(m, 'admin', 'python'): with...
Hello,I was able to insert variable in xpath using python maapi but not for all parameters as below:myname = 'cisco'myinterface = 'GigabitEthernet'mynumber = '1'with ncs.maapi.Maapi() as m: with ncs.maapi.Session(m, 'admin', 'python'): with...
Hi! Thought I share this here as I thought it was pretty cool. Its an ID allocator done in a template only service. Ive got a list of ID:s and my service should just pick the next available one. admin@ncs% show evi evi 100; evi 101; evi 105; ...
Using NSO how can I simple define or create a service for golden config? so I can interact with devices using a script, which if I run should default the devices back to the standard configuration.I have read a little bit about reactive Fastmap, but...
Hello, I can get the value of description on device interface using python maapi as below, but I couldnot get the value of ip address:import ncsimport ncs.maagic as maagicimport ncs.maapi as maapi with ncs.maapi.single_read_trans('admin', 'system', d...
Apology for the basic question, I am enabling Netconf on XR & XE platform but I am bit worried about security aspect of the Netconf so trying to grant least privilege access to the client. When configuring CoPP or any other way to restrict specific I...
Hi, I am trying to use NSO to manage Juniper SRX IPsec configuration, I am running latest juniper-junos-nc-4.5 NED on NSO 5.3, when I am trying to sync-from a Juniper vSRX running 18.4R1, I am getting the following error: admin@ncs(config)# devices s...
I installed nso as a local install following the instructions in https://developer.cisco.com/docs/nso/#!getting-nso/getting-started. I completed the following instruction:ncs-setup -package packages/neds/cisco-ios-cli-6.42 --package packages/neds/ci...
It would be appreciated if someone explained the NSO behavior described below to me. I am deploying a service instance which enables interface SVI on Cisco Neuxs, which causes the device to enable 'Vlan 1' SVI - this one is, however, not explicitly c...
Hello, We observed that NSO synchronization (netconf) could be very long for devices with more than 20Mb of configuration (15minutes for a sync-from and 5 minutes for a partial-sync over junos:configration/firewall). We have made some tests in th...
I know you can set the cli style to either juniper or cisco-xr in the ncs.conf for all users. Is the ability to do this per user an option? Was thinking something under the following 'user <user> session' and an added option of 'cli-style'. Then inst...
How to control the order of deletion of list entires when DELETE is issued for an entire list ?We have implemented get_next function which returns list keys in desired order. But, DELETE is called on list keys based on Alphabetical order.
Hi, I have a list with multiple keys in my model, like this: List list1 { key "key1, key2, key3" ... }I want to know how to make a query in restconf to get all list instance with key1= "A" and key2="B" (for any key3) Something like this: curl ...
Hi , i'm trying to list all the existing interfaces per device from CDB using Python API to be used further to get more info per interface . i got the interfaces without interfaces ID as shown below ! what should i add as a variable to list the in...
Dear NSO Community, Could some one give me a working example or direct me to the right source.. I want to try using Validation Callback with python. In development guide, there is info with Java. In the following thread, there is actually very detail...
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...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide
Subject | Author | Posted |
---|---|---|
04-24-2024 01:20 PM | ||
04-10-2024 08:38 PM | ||
03-19-2024 04:27 AM | ||
03-12-2024 02:44 AM | ||
02-27-2024 10:06 AM |