Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 671 Bytes

getnodeinterfaces.adoc

File metadata and controls

39 lines (32 loc) · 671 Bytes

GetNodeInterfaces()

Important

Deprecated in 3.0.

Please use interfaces attribute in [class-node].

GetNodeInterfaces(node) => void

Get all interfaces for given node.

Table 1. Parameters

node

Object of class [class-node].

Return

Array of objects of class [class-interface], with first object placed at index 0.

Example
// Log names and ids of all interface objects for given node
interfaces = GetNodeInterfaces($node);
for(i : interfaces)
{
	trace(1, "Interface: name='" .. i.name .. "' id=" .. i.id);
}