I would like to send nso commands like "show ncs-state version" and get the output from a python code. I can't really find an example, and the guides are only showing how to send commands to the devices themselves.
I would like to send nso commands like "show ncs-state version" and get the output from a python code. I can't really find an example, and the guides are only showing how to send commands to the devices themselves.
Hi, In a junos device, you can use "deactivate" to disable a given configuration leaf. NSO handles "deactivate" by adding the XML attribute "inactive". I can do this in CLI but how can I do it in python? Thanks, Roque CLI output: admin@ncs(co...
Hi,packages package NAME redeploy we all know this one.I would like to augment CLI to add more options where redeploy is.Tried the plug-and-play command scripting but I can't figure out how to daisy chain command and params together in correct hierar...
Hello,I developed an NSO service to configure a keychains on CiscoXR router "CiscoXR 7.4.2 version". NED is not allowing me to send the keystring as cleartext.'''<keychain><chain-name>{chain_name}</chain-name><keys><key><key-id>1</key-id><key-string>...
Hi there, After attending the NSO Developer Days in Stockholm I started working on my own services. After a few simple template based services, I started using Python to generate configs based on input from different sources. I love the options NSO o...
HelloWe have to do "commit reconcile" on a set of NSO services from python. We are using:1) We open a write transaction "t"2) We do touch in one or several service instances:root.services.xxx.touch()3) We do commit reconcile:cp = ncs.maapi.CommitPara...
Hi,I have a question about NSO rollback.Can I do rollback programmatically?if I have a service model touches device then later user wants to rollback. Canuser send a request to NSO and NSO rollback the configuration programmatically?THXsm000x
Here is my yang module: module pydp { namespace "http://tail-f.com/ns/example/pydp"; prefix pydp; yang-version 1.1; import tailf-common {prefix tailf;} import ietf-inet-types {prefix inet;} list cont { key name; leaf name { type...
Hello, I want to block all modifications on interfaces that have "BL" in their description, only allow read access. The NACM rule looks like this: rule deny-interfaces-with-BL-descriptionmodule-name*path /devices/device/config/configuration/interface...
Hello Community,I am working with the TAC & BU to develop a custom NSO NED. When they provide updates, they request confirmation regarding the functionality of specific commands.Example Commands: -- (line 40) : 'hostname bulbasaur01' -- (line 41) : '...
Using Navu or Maapi API for live status command has issue if command has non-unique elements. Example : "admin copy harddisk:/ApolloDIAGSoftware-0.7.0.tar.gz location D1/CB0/CPU0/VM1 harddisk:/ApolloDIAGSoftware-0.7.0.tar.gz" In the above command so...
Is it possible to create an NSO action to check sync status, similar with the example below, but with RESTCONF while using Ansible nso_action: url: "{{ nso.url }}" username: "{{ nso.username }}" password: "{{ nso.password }}" path: "/ncs:devices/...
Hi all, I am encountering a issue during compiliation of Juniper-Junos-NED in Docker container.junos.fxs is linked in load-dir directory, but junos.fxs is missed after make clean allBut junos-rpc.fxs is compiled and exists in load-dir directory.Other...
Hello, I would like to perform over JUNIPER devices : rguilloux@ncs(config)# deactivate devices device ysty.... I wants to use ncs maapi/maagic python API to perform it but I don't find any command in root object for it : with ncs.maapi.M...
First of all, I went through the post Python DataCallback daemon but my case is more complicated than this.I have a yang module defined as module pydp { namespace "http://tail-f.com/ns/example/pydp"; prefix pydp; yang-version 1.1; import tail...
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 |
---|---|---|
05-11-2025 05:36 PM | ||
05-11-2025 05:23 PM | ||
04-23-2025 07:36 AM | ||
03-12-2025 10:50 PM | ||
11-28-2024 06:53 AM |