cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
191
Views
0
Helpful
5
Replies
Highlighted
Beginner

HOW CAN I ADD HUGE NUMBER OF DEVICES TO NSO 300 DEVICE AS EXAMPLE BUT NOT MANUALLY?

I NEED AN AUTOMATED WAY TO ADD HUGE NUMBER OF DEVICES TO NSO WHAT IS YOUR RECOMMENDATIONS?

 

Everyone's tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions
Beginner

Re: HOW CAN I ADD HUGE NUMBER OF DEVICES TO NSO 300 DEVICE AS EXAMPLE BUT NOT MANUALLY?

we developed a python script and used REST API to excute to NSO and worked fine .
5 REPLIES 5
Beginner

Re: HOW CAN I ADD HUGE NUMBER OF DEVICES TO NSO 300 DEVICE AS EXAMPLE BUT NOT MANUALLY?

is it normal to add all these devices manually ?

Cisco Employee

Re: HOW CAN I ADD HUGE NUMBER OF DEVICES TO NSO 300 DEVICE AS EXAMPLE BUT NOT MANUALLY?

Hi,

not sure what you´re trying to accomplish here. If you just want to add emtpy devices, you can pick up the config from a sample device, and repeat this config with a script that changes the device names , then load merge into your NSO config.

 

If these are netsim devices you are trying to create, you can also generate a script to create the netsim config lines, then load the netsim config into NSO, but you will likely hit memory limit before you get to 300 (much earlier than that depending on device type)

 

 

Beginner

Re: HOW CAN I ADD HUGE NUMBER OF DEVICES TO NSO 300 DEVICE AS EXAMPLE BUT NOT MANUALLY?

I want to integrate NSO with say 300 pe routers is it normal to add them one by one manually ? I am working now on python script to read fro excel sheet that contains these router's data and then i think i should send rest call to nso to add them . Did you face this issue before so you can share your thoughts or outputs with us ? Thanks in advance for your help
Cisco Employee

Re: HOW CAN I ADD HUGE NUMBER OF DEVICES TO NSO 300 DEVICE AS EXAMPLE BUT NOT MANUALLY?

This tool might be a little bit interesting: https://github.com/NSO-developer/ndtplgen but there are many ways to accomplish this.
Beginner

Re: HOW CAN I ADD HUGE NUMBER OF DEVICES TO NSO 300 DEVICE AS EXAMPLE BUT NOT MANUALLY?

we developed a python script and used REST API to excute to NSO and worked fine .