...
Code Block | ||
---|---|---|
| ||
'connection_info' => {
'transport' => 'Telnet',
'credential_set' => 'set3',
'personality' => 'ios',
'node' => 'asgard',
'host' => '192.168.88.254',
'priveleged_credential_set' => 'set3',
'force_active' => 'true'
} |
An explanation of connection_info:
Code Block |
---|
node => the name of the node in NMIS
host => the ip of the device/node
transport => SSH or Telnet
personality => catos, extremeos, foundry, hp, ios, junos, nortel, pixos, bash or csh
credential_set => any of the credential keys defined in credential_sets.nmis
priveleged_credential_set => as above but used for entering privileged mode
force_active => by default only nodes in NMIS that are "active" and "collect" are run, setting this to true forces the device/node to be run |
If a connection uses one set of credentials to login and another to enter privileged mode the connection will hold 2 keys, one for regular credentials (credential_set) and one for privileged credentials (priveleged_credential_set),
...