06-11-2014 07:58 AM
does anyone know how to create a device group in Network Automation based on a custom field?
Let's say I have a custom field 'MyCustomField' which can have, among others, a value of 'MyValue'
How can a create a group with all devices having MyCustomField set to MyValue?
07-17-2014 08:00 PM
Currently that is not supported.
02-23-2016 10:14 PM
NetMRI version 7.0.x supports this feature now. The following is taken from the Admin Guide
To do so, you prefix every Device Group Criteria reference to a device custom field with a syntax constant:
Consider the creation of a device custom field called “business_unit.” (For information on how to create custom fields in Network Automation, see Defining and Using Custom Fields.) Editing the Device Group Criteria field for a device group called “Consumer Banking Group” to support a device custom field, typical syntax is as follows:
$Assurance > 65 and $Type in ["Router","Switch-Router",”Switch”,”Firewall”] and
$custom_business_unit = "Consumer Banking"
You prepend the constant $custom_ to the value “business_unit” to create the expression $custom_business_unit = “Consumer Banking”. Doing so in the Device Group Criteria ensures that any device that possesses a matching field value will match the “Consumer Banking Group” device group
02-24-2016 02:55 PM
It's great, you can only do it on Device Custom fields not Interfaces, I filed an RFE for it.