Class: Interface

Interface

Methods

create()

Activate an interface (i.e. call "ifup")
Source:
Throws:
Error

destroy()

Deactivate an interface (ie call "ifdown")
Source:
Throws:
Error

getConnection() → {Connection}

Returns the connection pointer associated with an interface
Source:
Throws:
Error
Returns:
Type
Connection

getMACString() → {String}

Returns the MAC for an interface as string
Source:
Throws:
Error
Returns:
Type
String

getName() → {String}

Returns the public name for that interface
Source:
Throws:
Error
Returns:
Type
String

getXMLDesc() → {String}

Returns the static configuration
Source:
Throws:
Error
Returns:
Type
String

isActive() → {Boolean}

Determine if the interface is currently running
Source:
Throws:
Error
Returns:
Type
Boolean

ref()

Increment the reference count on the interface
Source:
Throws:
Error

undefine()

Undefine an interface, ie remove it from the config
Source:
Throws:
Error