Important
|
Deprecated in 3.4. Please use getInterface(), getInterfaceByIndex(), getInterfaceByMACAddress() or getInterfaceByName() methods of Node class instead. |
GetInterfaceObject(node, interfaceIndex) => Interface
Get interface object by index
node |
node object |
|
interfaceIndex |
Integer |
interface index |
Return
Get node’s interface by it’s index
Example
interface = GetInterfaceObject($node, 1); //Will return interface with index 1 println(interface.ifIndex); //Will print "1"