cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
833
Views
0
Helpful
0
Replies

How to set a default value like none to all parameters in template with python

yongz2
Cisco Employee
Cisco Employee

There are more than 300+ parameters in one template and some of them are useless as high level condition is always false. But I can't delete them base on customer demand. Thereby my questions comes. How can i set all variables to "none" firstly and then gives needed variable. Seems nso required a value to each variable which defined in template. In java there is template.getvariable() but i can not find in python.

Really appreciate for your help.

 

0 Replies 0
Polls
AI-powered tools for network troubleshooting are likely to be part of everyone’s workflow sooner or later. What is the single biggest challenge or concern you see with adopting these tools in your organization?