287 CHANNEL_WIDTH_UNKNOWN,
288 CHANNEL_WIDTH_20_NO_HT,
308 map<string, InterfaceSettings>
ifMap;
370 constant
int SUCCESS = 0;
373 constant
int ERR_DNS_TOO_MANY_SERVERS = 100;
374 constant
int ERR_DNS_INVALID_SERVER = 101;
375 constant
int ERR_DNS_TOO_MANY_SEARCH_SUFFIXES = 102;
376 constant
int ERR_DNS_INVALID_SEARCH_SUFFIX = 103;
379 constant
int ERR_ROUTING_IPV4_INVALID_DFLT_GATEWAY_ADDR = 200;
380 constant
int ERR_ROUTING_IPV6_INVALID_DFLT_GATEWAY_ADDR = 201;
381 constant
int ERR_ROUTING_IPV4_INVALID_DEST_ADDR = 202;
382 constant
int ERR_ROUTING_IPV6_INVALID_DEST_ADDR = 203;
383 constant
int ERR_ROUTING_IPV4_INVALID_DEST_PREFIX_LEN = 204;
384 constant
int ERR_ROUTING_IPV6_INVALID_DEST_PREFIX_LEN = 205;
385 constant
int ERR_ROUTING_IPV4_INVALID_NEXTHOP_ADDR = 206;
386 constant
int ERR_ROUTING_IPV6_INVALID_NEXTHOP_ADDR = 207;
387 constant
int ERR_ROUTING_IPV4_INVALID_INTERFACE = 208;
388 constant
int ERR_ROUTING_IPV6_INVALID_INTERFACE = 209;
389 constant
int ERR_ROUTING_IPV4_DEST_IS_NO_NETWORK_ADDR = 210;
390 constant
int ERR_ROUTING_IPV6_DEST_IS_NO_NETWORK_ADDR = 211;
391 constant
int ERR_ROUTING_IPV4_DEST_IS_DUPLICATE = 212;
392 constant
int ERR_ROUTING_IPV6_DEST_IS_DUPLICATE = 213;
393 constant
int ERR_ROUTING_IPV4_NO_NEXTHOP_OR_INTERFACE = 214;
394 constant
int ERR_ROUTING_IPV6_NO_NEXTHOP_OR_INTERFACE = 215;
395 constant
int ERR_ROUTING_IPV4_NEXTHOP_AND_INTERFACE_SET = 216;
396 constant
int ERR_ROUTING_IPV6_NEXTHOP_AND_INTERFACE_SET = 217;
399 constant
int ERR_PF_INVALID_PRIMARY_UNIT_DOWNSTREAM_INTERFACE = 300;
400 constant
int ERR_PF_NO_WORKING_PRIMARY_UNIT_UPSTREAM_INTERFACE= 301;
401 constant
int ERR_PF_NOT_SUPPORTED = 302;
404 constant
int ERR_IF_IPV4_INVALID_CONFIG_METHOD = 400;
405 constant
int ERR_IF_IPV6_INVALID_CONFIG_METHOD = 401;
406 constant
int ERR_IF_IPV4_INVALID_STATIC_ADDR = 402;
407 constant
int ERR_IF_IPV6_INVALID_STATIC_ADDR = 403;
408 constant
int ERR_IF_IPV4_INVALID_STATIC_PREFIX_LEN = 404;
409 constant
int ERR_IF_IPV6_INVALID_STATIC_PREFIX_LEN = 405;
410 constant
int ERR_IF_IPV4_INVALID_DHCP_PREF_HOSTNAME = 406;
411 constant
int ERR_IF_IPV6_INVALID_DHCP_PREF_HOSTNAME = 407;
412 constant
int ERR_IF_EAP_INVALID_IDENTITY = 408;
413 constant
int ERR_IF_EAP_INVALID_PASSWORD = 409;
414 constant
int ERR_IF_EAP_INVALID_CLIENT_CERT = 410;
415 constant
int ERR_IF_EAP_INVALID_CLIENT_PRIV_KEY_OR_PWD = 411;
416 constant
int ERR_IF_EAP_CLIENT_CERT_PRIV_KEY_MISMATCH = 412;
417 constant
int ERR_IF_EAP_INVALID_CA_CERT = 413;
418 constant
int ERR_IF_EAP_CA_CERT_VERIFY_FAILED = 414;
419 constant
int ERR_IF_EAP_INVALID_AUTH_SERVER_NAME = 415;
422 constant
int ERR_ETH_IF_UNSUPPORTED_LINKMODE = 500;
423 constant
int ERR_ETH_IF_INVALID_MTU = 501;
426 constant
int ERR_WLAN_IF_INVALID_SSID = 600;
427 constant
int ERR_WLAN_IF_INVALID_BSSID = 601;
428 constant
int ERR_WLAN_IF_INVALID_PSK = 602;
429 constant
int ERR_WLAN_IF_INVALID_MTU = 603;
430 constant
int ERR_WLAN_IF_NOT_SUPPORTED = 604;
433 constant
int ERR_BRIDGE_IF_NOT_SUPPORTED = 700;
Network configuration interface.
Settings getSettings()
Retrieve the current network interface settings.
vector< PortForwardingProtocolMapping > getPortForwardingProtocolMappings()
Retrieve the list of port forwarding protocol mappings.
int setSettings(in Settings settings)
Update the network interface settings.
Info getInfo()
Retrieve information about all network interfaces.
EthAuthType
Ethernet authentication type.
@ ETH_AUTH_NONE
No authentication.
@ ETH_AUTH_EAP
802::1x (EAP) authentication
EapStatus
EAP authentication status.
@ EAP_STATUS_FAILED
EAP authentication failed.
@ EAP_STATUS_PENDING
EAP authentication pending.
@ EAP_STATUS_SUCCESS
EAP authentication succeeded.
@ EAP_STATUS_DISABLED
EAP authentication disabled.
IpConfigMethod
IP configuration method.
@ STATIC
No automatic configuration.
@ DHCP
Use DHCP for automatic configuration (IPv4 only)
@ AUTO
Use automatic configuration (IPv6 only)
EthDuplexMode
Ethernet duplex mode.
@ DUPLEX_MODE_AUTO
Use auto-negotiation to set duplex mode.
@ DUPLEX_MODE_FULL
Full duplex.
@ DUPLEX_MODE_HALF
Half duplex.
WlanSecProtocol
WLAN security protocol.
@ WPA2
WPA2 security protocol.
@ SPEED_MBIT_100
100 MBit/s
@ SPEED_AUTO
Use auto-negotiation to set speed.
@ SPEED_MBIT_1000
1000 MBit/s (1 GBit/s)
PortForwardingRole
Role of the node when port forwarding is enabled.
@ PRIMARY_UNIT
Node is a port forwarding primary unit.
@ EXPANSION_UNIT
Node is a port forwarding expansion unit.
WlanChannelWidth
WLAN channel width.
WlanAuthType
WLAN authentication type.
@ WLAN_AUTH_NONE
No authentication.
@ WLAN_AUTH_EAP
802::1x (EAP) authentication
@ WLAN_AUTH_PSK
Pre-shared key authentication.
InterfaceOpState
Interface operational state.
@ UP
Interface is up and running.
@ NO_LINK
Interface has no link.
@ NOT_PRESENT
Interface is not present.
EapInnerAuthMethod
EAP inner authentication method.
@ INNER_EAP_TLS
TLS authentication.
@ INNER_EAP_MSCHAPv2
MSCHAPv2 authentication.
InterfaceType
The interface type.
@ BRIDGE
Bridge interface.
@ ETHERNET
Ethernet interface.
EapOuterAuthMethod
EAP outer authentication method.
@ EAP_PEAP
PEAP authentication.
@ EAP_TLS
TLS authentication.
Common base for all events.
Event that is send when common network info has changed.
CommonInfo commonInfo
Current common network info.
PortForwardingInfo portForwarding
Port forwarding info.
RoutingInfo routing
Routing info.
DnsSettings dns
DNS settings.
PortForwardingSettings portForwarding
Port forwarding settings.
RoutingSettings routing
Routing settings.
vector< string > serverAddrs
List of active domain name server addresses.
vector< string > searchSuffixes
List of active domain search suffixes.
boolean resolverPrefersIPv6
Resolver should prefer IPv6 addresses.
boolean resolverPrefersIPv6
Resolver should prefer IPv6 addresses.
vector< string > serverAddrs
List of domain name servers addresses (IPv4/IPv6)
vector< string > searchSuffixes
List of domain search suffixes.
EAP authentication settings.
string authServerName
Name of the RADIUS server (used to verify cert)
string clientPrivKeyPassword
password of client private key
string clientCertChain
client certificate chain
boolean allowOffTimeRangeCerts
allow expired and not yet valid TLS certs
boolean allowNotYetValidCertsIfTimeBeforeBuild
allow not yet valid TLS certs if
EapInnerAuthMethod innerMethod
Inner authentication method.
string password
EAP password (always empty on retrieval!)
string identity
EAP identity.
boolean clearClientPrivKey
Set to true to clear the client private key.
EapOuterAuthMethod outerMethod
Outer authentication method.
boolean clearPassword
Set to true when password should be cleared.
string caCertChain
CA certificate chain.
boolean forceTrustedCert
Enforce trusted certificates.
string clientPrivKey
client private key (always empty on retrieval!)
Event that is send when ethernet interface specific network info has changed.
string ifName
Ethernet interface name.
string ifLabel
interface label
EthInfo ethInfo
Current ethernet interface specific info.
boolean autonegEnabled
true if auto-negotiation is enabled
EthLinkMode linkMode
Current link mode.
boolean linkModeValid
true if linkMode is valid
boolean linkDetected
true if a link is detected
vector< EthLinkMode > supportedLinkModes
Supported link modes.
EapStatus eapStatus
status of EAP authentication
EthDuplexMode duplexMode
Interface duplex mode.
EthSpeed speed
Interface speed.
Ethernet interface settings.
boolean lldpEnabled
true if LLDP is enabled
EapAuthSettings eap
EAP Settings for 802::1x authentication.
EthLinkMode linkMode
Link mode.
int mtu
Maximum Transfer Unit (MTU)
EthAuthType authType
Authentication type.
CommonInfo common
Common network info.
map< string, EthInfo > ethMap
Ethernet specific interface info.
map< string, InterfaceInfo > ifMap
Common interface info.
map< string, WlanInfo > wlanMap
WLAN specific interface info.
Interface specific IPv4 info.
boolean enabled
true if IPv4 is enabled
string dhcpServerAddr
IPv4 address of DHCP server or empty.
string dhcpPreferredHostname
Preferred hostname (only used with DHCP)
IpConfigMethod configMethod
Interface configuration method.
vector< IpAddrCidr > addrsCidr
List of active IPv4 addresses with prefix length.
Interface specific IPv6 info.
IpConfigMethod configMethod
Interface configuration method.
string dhcpServerId
DHCPv6 server id or empty.
boolean raManaged
"Managed" flag set in router announcements
vector< IpAddrCidr > addrsCidr
List of active IPv6 addresses with prefix length.
string dhcpPreferredHostname
Preferred hostname (only used with DHCP)
boolean enabled
true if IPv6 is enabled
boolean raOtherConf
"OtherConf" flag set in router announcements
Event that is send when common interface specific network info has changed.
InterfaceInfo ifInfo
Current common interface specific info.
string name
Internal interface name.
InterfaceType type
Interface type.
string label
Interface label (used in user interfaces)
string macAddr
MAC address of the interface.
string controllingIfName
Controlling interface (set for bridged interfaces)
InterfaceIPv6Info ipv6
Interface specific IPv6 info.
int mtu
Maximum Transfer Unit (MTU)
InterfaceOpState state
Operational state of the interface.
InterfaceIPv4Info ipv4
Interface specific IPv4 info.
boolean enabled
The dynamic enabled state.
Interface specific IP settings.
string dhcpPreferredHostname
Preferred hostname (only used with DHCP)
boolean enabled
Controls if IPv4/IPv6 is enabled.
IpConfigMethod configMethod
Interface configuration method.
string staticDefaultGatewayAddr
Statically assigned default gateway address.
IpAddrCidr staticAddrCidr
Statically assigned IPv4/IPv6 address (CIDR)
Interface specific settings.
boolean enabled
Controls if interface is enabled.
InterfaceIpSettings ipv6
Interface specific IPv6 settings.
InterfaceIpSettings ipv4
Interface specific IPv4 settings.
IPv4/IPv6 address and prefix len.
IP protocol specific routing settings.
vector< IpRoute > staticRoutes
List of static routes.
Event that is send when the operational state of an interface changed.
string ifLabel
interface label
InterfaceOpState ifState
Current operational interface state.
string ifName
interface name
InterfaceType ifType
interface type
Event that is send when the presence state of a downstream port forwarding expansion unit changes.
boolean expansionUnitPresent
true when an expansion unit is present
string primaryUnitDownstreamIfName
Primary unit downstream interface (usb: any USB iface)
vector< PortForwardingPrimaryUnitAddrInfo > primaryUnitIPv6AddrInfos
Primary unit address info for IPv6.
boolean nodeIndexValid
true if nodeIndex is valid
vector< PortForwardingPrimaryUnitAddrInfo > primaryUnitIPv4AddrInfos
Primary unit address info for IPv4.
string linkLocalIPv6Address
link-local address of port forwarding interface
boolean enabled
true if port forwarding is enabled
boolean expansionUnitConnected
true if this node has an expansion unit connected
int nodeIndex
Index of the node in the port forwarding cascade.
Port forwarding primary unit address info for an interface.
string addr
IPv4/IPv6 address on the interface.
string ifName
interface name on primary unit
Mapping from application protocol id to name and transport protocol.
string transportProtoName
Transport protocol name.
string appProtoName
Application protocol name.
int appProtoId
Application protocol id.
Port forwarding settings.
boolean enabled
Controls if port forwarding is enabled.
PortForwardingRole role
The role of the node (primary unit or expansion unit)
string primaryUnitDownstreamIfName
Primary unit downstream interface (usb: any USB iface)
vector< IpRoute > ipv6Routes
List of active IPv6 routes.
vector< IpRoute > ipv4Routes
List of active IPv4 routes.
IpRoutingSettings ipv4
IPv4 routing settings.
IpRoutingSettings ipv6
IPv6 routing settings.
map< string, WlanSettings > wlanMap
WLAN specific interface settings.
map< string, InterfaceSettings > ifMap
Common interface settings.
map< string, EthSettings > ethMap
Ethernet specific interface settings.
CommonSettings common
Common network settings.
Event that is send when WLAN interface specific network info has changed.
WlanInfo wlanInfo
Current WLAN interface specific info.
string ifName
WLAN interface name.
boolean associated
true if assoiated to an access point
string ssid
SSID of the wireless network.
int channel
Channel number.
WlanChannelWidth channelWidth
Channel width (this is an id and no frequency!)
string bssid
BSSID of associated access point.
WlanSecProtocol secProtocol
Security protocol (WPA2)
string psk
Pre-shared key (always empty on retrieval!)
string ssid
SSID of the wireless network.
EapAuthSettings eap
EAP Settings for 802::1x authentication.
int mtu
Maximum Transfer Unit (MTU)
WlanAuthType authType
Authentication type.
string bssid
BSSID (empty for automatic AP selection)
boolean enableHT
Enable high throughput features (802::11n)
boolean clearPsk
Set to true when PSK should be cleared.