When functions are added to NCM for templates please also add them to the config generator. I have been using the config generator as a test bed for template creation.
Please add items that you have in NCM Now.
String Manipulation (I have to use a comma separator in user interactive questions to separate /CIDR)
User interactive integers cannot be used to add and subtract.
Please add ***********(I realize this is a free tool. Add more functionality and have it unlock as part of the ET or NCM upon licensing would be fine with me, I have both.) ***************
Custom Attributes so I can match production.
Save some information about the devices. Like IP and SNMP strings. And if Custom attributes are saved please save them on exit.
Custom function calls so we may reuse code.
Example: Grab Network, IP Address and Mask from user entries. 184.108.40.206/27
Repeating Code without a custom function call:
//Finalize IP Address
string @ipOCT2 = getoctet (@dNetwork,2)
string @ipOCT3 = getoctet (@dNetwork,3)
string @ipOCT4 = getoctet (@dNetwork,4)
//Set Subnet Mask from CIDR Entry from Array String @v700IPAddress
if (@dNetMask == '/30')
@NetworkMask = '255.255.255.252'
if (@dNetMask == '/29')
@NetworkMask = '255.255.255.248'
if (@dNetMask == '/28')
@NetworkMask = '255.255.255.240'
if (@dNetMask == '/27')
@NetworkMask = '255.255.255.224'
if (@dNetMask == '/26')
@NetworkMask = '255.255.255.192'
if (@dNetMask == '/25')
@NetworkMask = '255.255.255.128'
if (@dNetMask == '/24')
@NetworkMask = '255.255.255.0'
if (@dNetMask == '/23')
@NetworkMask = '255.255.254.0'
if (@dNetMask == '/22')
@NetworkMask = '255.255.252.0'
if (@dNetMask == '/21')
@NetworkMask = '255.255.248.0'
I would also like to see the default values to be set. Example - Go get all current ports that are setup for access. Trunk, or WAP.
Suppression of user input based on a dependent question such as WAP Setup Y/N would suppress the requirement to have a selection on the WAP interface.
I know you may not intend on people using this as a dev before we work on templates in NCM, but it is so much easier to control on a per switch test setup than NCM in a SOX environment. I would appreciate and be excited to see the team that is responsible for this application see the tools as I now do. Dev for NCM templates.
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 150,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.