Open Lighting Architecture
0.9.5
|
Gets global network information.
Public Member Functions | |
virtual const ola::network::InterfacePicker * | GetInterfacePicker () const =0 |
virtual rdm_dhcp_status | GetDHCPStatus (const ola::network::Interface &iface) const =0 |
virtual bool | GetIPV4DefaultRoute (int32_t *if_index, ola::network::IPV4Address *default_route) const =0 |
virtual const std::string | GetHostname () const =0 |
virtual const std::string | GetDomainName () const =0 |
virtual bool | GetNameServers (std::vector< ola::network::IPV4Address > *name_servers) const =0 |
|
pure virtual |
Get the DHCP status of an interface
iface | the interface to check the DHCP status of |
Implemented in ola::rdm::FakeNetworkManager, and ola::rdm::NetworkManager.
|
pure virtual |
Get the domain name
Implemented in ola::rdm::FakeNetworkManager, and ola::rdm::NetworkManager.
|
pure virtual |
Get the hostname
Implemented in ola::rdm::FakeNetworkManager, and ola::rdm::NetworkManager.
|
pure virtual |
Get the interface picker
Implemented in ola::rdm::FakeNetworkManager, and ola::rdm::NetworkManager.
|
pure virtual |
Get the IPv4 default route
[out] | if_index | the index of the interface the machine's default is on |
[out] | default_route | the machine's default route as an IPV4Address object |
Implemented in ola::rdm::FakeNetworkManager, and ola::rdm::NetworkManager.
|
pure virtual |
Get name servers
Implemented in ola::rdm::FakeNetworkManager, and ola::rdm::NetworkManager.