Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Hi, Given a config-template, for example,<config-template xmlns="http://tail-f.com/ns/config/1.0">
<devices xmlns="http://tail-f.com/ns/ncs">
<device>
<name>{$host_name}</name>
<config>
<configure xmlns="urn:nokia.com:sros:ns:ya...
Hello All,I have a Tcl file on 7600 that produces a file, and I would like to copy this file to a server using scp.This is how the file looks like :::cisco::eem::event_register_none maxrun 240#::cisco::eem::event_register_timer cron cron_entry "*/5 *...
Hello All,I would need your help about the following :let's say that I have a file stored on "disk0a:/usr/" and it's name is "_debug.dat"and I want to transfer that file using SSH to home directory "nikos" on the server "1.1.1.1" and the password wou...
Hello All,I have written a simple Tcl script that executes 10 times the command "show interfaces detail".The same script in 7600 gets executed in 2-3 sec, but in ASR9K it times out after 5min, because I have set it like that,meaning that it takes >5m...
Hello All,I am logged in in an ASR9K, and if I type the command "show operational DWDM" I get the following output :Port/Name=dwdm0/0/0/1 ---> how do I know to which interface this port corresponds to , TenGigE or TenGig or GigTransmitPower: -345Rece...
Thank you @vleijon @cohult for your help so far.I was exploring the above example around _ncs.maapi.load_config_cmds and I am not sure if I understand this correctly. More specifically, In case of ios-based operating systems, nso does not accept the ...
Thanks a lot @vleijon _ncs.maapi.CONFIG_MERGE did the trick There is also _ncs.maapi.CONFIG_REPLACE (https://github.com/NSO-developer/ntool/blob/master/ntool/ntool_modules/ntool_template.py) with an inherent "delete" operation I guess, with a purpos...
Thank you @vleijon for this example. it is enlightening!Would anyone be so kind to comment how the same can be accomplished, if possible using XML? For example,_ncs.maapi.load_config(mgmt.msock, trxn.th, _ncs.maapi.CONFIG_XML, "light.xml")
trxn.apply...
@uwankhed did you manage to supply the .xml config to a nso via an api call, so that it can apply it on a router? if yes, would you mind sharing more details about it?