NXSL:GetInterfaceName
Revision as of 13:26, 22 October 2014 by Tomas Kirnak (talk | contribs) (Created page with "__NOTOC__ Get interface name by index. == Syntax == GetInterfaceName(''obj'', ''index''); == Parameters == {| class="wikitable" |- | ''obj'' || A node object. |- | ''ind...")
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