This is the documentation for the development version.
There are no official binaries for it; build it from the source code in git.
Download links on these pages work only after the release.
For the current release, see version 7.0.
GetInterfaceObject()
GetInterfaceObject(node, interfaceIndex) => Interface
Get interface object by index
node |
node object |
|
interfaceIndex |
Integer |
interface index |
Return
Node’s interface with given index, or null if not found or not accessible.
interface = GetInterfaceObject($node, 1); //Will return interface with index 1 println(interface.ifIndex); //Will print "1"