As mentioned in Inventory Template, inventory template can be defined by using customized variables provided by NetBrain. For example, a variable can be defined as: interface = $interface. _visible_ interface, where the latter $interface._visible_interface is the variable provided by NetBrain.
When you enter $ in the Inventory Template editor, there will be an IntelliSense dialog that prompts indicating which variables can be used.
The following variables are currently supported by NetBrain Variable Intellisense:
Variable Name |
Description |
---|---|
$device.management_IP |
IP address of the device. |
$device.management_interface |
Match with device property management_interface- data from DB_Domain.Device |
$device.model |
Model of the device. |
$device.hostname |
Host name of the device. |
$device.serial_number |
Serial number of the device. |
$device.vendor |
Vendor of the device. (E.g., Cisco) |
$device.os_version |
OS version of the device (E.g., ios) |
$interface._all |
All available interface names for each device. |
$interface._visible |
Interface name that represents the visible interface of the devices displayed on the map. |
$interface.management_interface |
Match with device property management_interface- data from DB_Domain.Device |
$credential.username |
*Username of SDN Controller or legacy network device. |
$credential.password |
*Password of SDN Controller or legacy network device. |
$credential.enable_username |
*Enable device username settings (shared or private) for SDN Controller of legacy network device. |
$credential.enable_password |
*Enable device password settings (shared or private) for SDN Controller of legacy network device. |
$credential.SSH_port |
The port for SSH access. |
$credential.enable_cmd |
Command used to enter device's enable mode. |
$credential.quit_cmd |
Command used to quit device's enable mode. |
$sdn_controller.xxx |
All SDN Controllers available in the tenant. |
*Cross reference with access credential settings (Domain Management > Advanced Settings > Select Access Credential for Telnet/SSH CLI and Change Management).