class SystemNodeProvider implements NodeProviderInterface (View source)

SystemNodeProvider provides functionality to get the system node ID (MAC address) using external system calls

Methods

string
getNode()

Returns the system node ID

string
getIfconfig()

Returns the network interface configuration for the system

string|bool
getsysfs()

Returns mac address from the first system interface via the sysfs interface

Details

string getNode()

Returns the system node ID

Return Value

string System node ID as a hexadecimal string

protected string getIfconfig()

Returns the network interface configuration for the system

Return Value

string

protected string|bool getsysfs()

Returns mac address from the first system interface via the sysfs interface

Return Value

string|bool