NSO Developer Hub Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Forum Posts

Greetings,We're experiencing issues with Cisco ASR920 devices when applying configuration changes through NSO. NSO appears to get stuck with a device prompt during the commit phase. The configuration is then rolled back. This happens most frequently ...

Hi, I have some server with a leaf-list in it. I want to edit the elements in this leaf-list via RESTCONF. If I do something like this: curl -i -X PATCH http://X.X.X.X:YYY/restconf/data/services/myservice -H "Content-Type: application/yang-data+json"...

Gastonper by Level 1
  • 1267 Views
  • 4 replies
  • 0 Helpful votes

I am trying to upgrade to NSO 5.3.2.3 from 5.2.0.3 and I am getting failures starting the Java VM. Does anyone know what this is about?(ncs.log)<DEBUG> 10-Aug-2020::16:50:48.191 sv0a0171 ncs[90606]: - Loading file /apps/opt/ncs/ncs-5.3.2.3/etc/ncs/nc...

   I want to create as many loopbacks as defined, like 1 till 10, how can I accomplish that with YANG and XML, for instance in a  foreach loop, without code.leaf loopback_amount {tailf:info "Amount of loopbacks";type uint32 {range "1..10";}mandatory ...

Hi,   I have device c0, c1, c2, and want to configure c0 and c1 from NSO cli.  If I use the following wildcard, it would catch c2 as well which is unwanted:   admin@ncs(config)# devices device c* admin@ncs(config-device-c*)# config admin@ncs(config-c...

Simon Chow by Cisco Employee
  • 2014 Views
  • 5 replies
  • 0 Helpful votes

Hi All,   I'm developing a service and one of the requirements is: The primary IP address and mask is mandatory. If the user entered the secondary IP address, then the secondary mask must be provided also.   I'm trying to implement this requirement u...

lnunesdo by Cisco Employee
  • 1058 Views
  • 2 replies
  • 0 Helpful votes

Hello All,           I have create a "template-based" service from NSO and it's working fine.. I need to add run a linux Script ("./Action") from the linux machine that is hosting the NSO.. is there any way to this ? Benefits of this scenario, after ...

mohisla2 by Cisco Employee
  • 681 Views
  • 1 replies
  • 0 Helpful votes

Hi, I upgraded NSO from 5.3 to 5.4 version, ncs service is failed to start with the following error: Bad configuration: ncs.conf:304: rest cannot occur here as a child to 'ncs-config'. Could someone help me fix this issue?

sphoredd by Cisco Employee
  • 1342 Views
  • 3 replies
  • 0 Helpful votes

We are using NSO 5.3.1.1admin@8a4d49ee4c2a# show ncs-state version ncs-state version 5.3.1.1We attempted to apply a device template with a variable. This works fine. When doing it, we noticed that <node set> was an available option, which is an XPath...

I am working on a service template part of which will generate random strings and store them in an NSO container as tailf:aes-cfb-128-encrypted-string leafs. Is there a simple way inside of python MAAPI to generate the encrypted passwords? When I jus...

tcragg1 by Cisco Employee
  • 2170 Views
  • 9 replies
  • 0 Helpful votes