NXSL:GetInterfaceName

This Wiki is deprecated and we are are currrently migrating remaining pages into product documentation (Admin Guide, NXSL Guide)

Get interface name by index.


Syntax

GetInterfaceName(obj, index);


Parameters

obj A node object.
index An interface index.


Return Value

Name of the requested interface or null if not found.


Examples

GetInterfaceName($node, 2);	->	ether1
GetInterfaceName($node, 55);	->	null