Net.idl
/* SPDX-License-Identifier: BSD-3-Clause */
/*
* Copyright 2016 Raritan Inc. All rights reserved.
*/
#include <Event.idl>
/**
* Network Configuration
*/
module net {
/** IPv4/IPv6 address and prefix len */
structure IpAddrCidr {
string addr; // IP address
int prefixLen; // Length of network prefix in the IP address
};
/** IPv4/IPv6 route */
structure IpRoute {
IpAddrCidr destNetAddrCidr; // Destination network address (CIDR)
string nextHopAddr; // Address of the next hop (empty when ifName is set)
string ifName; // Destination interface (empty if nextHopAddr is set)
};
/** Role of the node when port forwarding is enabled */
enumeration PortForwardingRole {
MASTER, ///< Node is the port forwarding master
SLAVE ///< Node is a port forwarding slave
};
/** Port forwarding settings */
structure PortForwardingSettings_2_0_0 {
boolean enabled; ///< Controls if port forwarding is enabled
PortForwardingRole role; ///< The role of the node (master or slave)
string masterDownstreamIfName; ///< Master downstream interface (usb: any USB iface)
};
/** DNS settings */
structure DnsSettings_2_0_0 {
vector<string> serverAddrs; ///< List of domain name servers addresses (IPv4/IPv6)
vector<string> searchSuffixes; ///< List of domain search suffixes
boolean resolverPrefersIPv6; ///< Resolver should prefer IPv6 addresses
};
/** IP protocol specific routing settings */
structure IpRoutingSettings_2_0_0 {
string defaultGatewayAddr; ///< Default gateway address
vector<IpRoute> staticRoutes; ///< List of static routes
};
/** Routing settings */
structure RoutingSettings_2_0_0 {
IpRoutingSettings_2_0_0 ipv4; ///< IPv4 routing settings
IpRoutingSettings_2_0_0 ipv6; ///< IPv6 routing settings
};
/** Common settings */
structure CommonSettings_2_0_0 {
DnsSettings_2_0_0 dns; ///< DNS settings
RoutingSettings_2_0_0 routing; ///< Routing settings
PortForwardingSettings_2_0_0 portForwarding; ///< Port forwarding settings
};
/** Port forwarding master address info for an interface */
structure PortForwardingMasterAddrInfo {
string ifName; ///< interface name on master
string addr; ///< IPv4/IPv6 address on the interface
};
/** Port forwarding info */
structure PortForwardingInfo {
boolean enabled; ///< \c true if port forwarding is enabled
boolean nodeIndexValid; ///< \c true if nodeIndex is valid
int nodeIndex; ///< Index of the node in the port forwarding cascade
boolean slaveConnected; ///< \c true if this node has a slave connected
string masterDownstreamIfName; ///< Master downstream interface (usb: any USB iface)
///< the first entry of each vector has the default route set (if default route is set at all)
vector<PortForwardingMasterAddrInfo> masterIPv4AddrInfos; ///< Master address info for IPv4
vector<PortForwardingMasterAddrInfo> masterIPv6AddrInfos; ///< Master address info for IPv6
};
/** DNS info */
structure DnsInfo {
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
};
/** Routing info */
structure RoutingInfo {
vector<IpRoute> ipv4Routes; ///< List of active IPv4 routes
vector<IpRoute> ipv6Routes; ///< List of active IPv6 routes
};
/** Common info */
structure CommonInfo {
DnsInfo dns; ///< DNS info
RoutingInfo routing; ///< Routing info
PortForwardingInfo portForwarding; ///< Port forwarding info
};
/** IP configuration method */
enumeration IpConfigMethod {
STATIC, ///< No automatic configuration
DHCP, ///< Use DHCP for automatic configuration (IPv4 only)
AUTO ///< Use automatic configuration (IPv6 only)
};
/** Interface specific IP settings */
structure InterfaceIpSettings_2_0_0 {
boolean enabled; ///< Controls if IPv4/IPv6 is enabled
IpConfigMethod configMethod; ///< Interface configuration method
IpAddrCidr staticAddrCidr; ///< Statically assigned IPv4/IPv6 address (CIDR)
string dhcpPreferredHostname; ///< Preferred hostname (only used with DHCP)
};
/** Interface specific IPv4 info */
structure InterfaceIPv4Info {
boolean enabled; ///< \c true if IPv4 is enabled
IpConfigMethod configMethod; ///< Interface configuration method
vector<IpAddrCidr> addrsCidr; ///< List of active IPv4 addresses with prefix length
string dhcpServerAddr; ///< IPv4 address of DHCP server or empty
string dhcpPreferredHostname; ///< Preferred hostname (only used with DHCP)
};
/** Interface specific IPv6 info */
structure InterfaceIPv6Info {
boolean enabled; ///< \c true if IPv6 is enabled
IpConfigMethod configMethod; ///< Interface configuration method
vector<IpAddrCidr> addrsCidr; ///< List of active IPv6 addresses with prefix length
string dhcpServerId; ///< DHCPv6 server id or empty
string dhcpPreferredHostname; ///< Preferred hostname (only used with DHCP)
boolean raManaged; ///< "Managed" flag set in router announcements
boolean raOtherConf; ///< "OtherConf" flag set in router announcements
};
/** Interface specific settings */
structure InterfaceSettings_2_0_0 {
boolean enabled; ///< Controls if interface is enabled
InterfaceIpSettings_2_0_0 ipv4; ///< Interface specific IPv4 settings
InterfaceIpSettings_2_0_0 ipv6; ///< Interface specific IPv6 settings
};
/** The interface type */
enumeration InterfaceType {
ETHERNET, ///< Ethernet interface
WLAN, ///< WLAN interface
BRIDGE ///< Bride interface
};
/** Interface operational state */
enumeration InterfaceOpState {
NOT_PRESENT, ///< Interface is not present
DOWN, ///< Interface is down
NO_LINK, ///< Interface has no link
UP ///< Interface is up and running
};
/** Interface specific info */
structure InterfaceInfo {
string name; ///< Internal interface name
string label; ///< Interface label (used in user interfaces)
InterfaceType type; ///< Interface type
boolean enabled; ///< The dynamic enabled state
string masterIfName; ///< Master interface (set for bridged interfaces)
InterfaceOpState state; ///< Operational state of the interface
string macAddr; ///< MAC address of the interface
InterfaceIPv4Info ipv4; ///< Interface specific IPv4 info
InterfaceIPv6Info ipv6; ///< Interface specific IPv6 info
};
/** EAP outer authentication method */
enumeration EapOuterAuthMethod_2_0_0 {
EAP_PEAP, ///< PEAP authentication
EAP_TLS ///< TLS authentication
};
/** EAP inner authentication method */
enumeration EapInnerAuthMethod_2_0_0 {
INNER_EAP_MSCHAPv2, ///< MSCHAPv2 authentication
INNER_EAP_TLS ///< TLS authentication
};
/** EAP authentication status */
enumeration EapStatus {
EAP_STATUS_DISABLED, ///< EAP authentication disabled
EAP_STATUS_PENDING, ///< EAP authentication pending
EAP_STATUS_FAILED, ///< EAP authentication failed
EAP_STATUS_SUCCESS ///< EAP authentication succeeded
};
/** EAP authentication settings */
structure EapAuthSettings_3_0_0 {
string identity; ///< EAP identity
string password; ///< EAP password (always empty on retrieval!)
boolean clearPassword; ///< Set to \c true when password should be cleared
string clientCertChain; ///< client certificate chain
string clientPrivKey; ///< client private key (always empty on retrieval!)
boolean clearClientPrivKey; ///< Set to \c true to clear the client private key
string clientPrivKeyPassword; ///< password of client private key
EapOuterAuthMethod_2_0_0 outerMethod; ///< Outer authentication method
EapInnerAuthMethod_2_0_0 innerMethod; ///< Inner authentication method
string caCertChain; ///< CA certificate chain
boolean forceTrustedCert; ///< Enforce trusted certificates
boolean allowOffTimeRangeCerts; ///< allow expired and not yet valid TLS certs
boolean allowNotYetValidCertsIfTimeBeforeBuild; ///< allow not yet valid TLS certs if
///< the system time is before the build time
string authServerName; ///< Name of the RADIUS server (used to verify cert)
};
/** Ethernet speed */
enumeration EthSpeed {
SPEED_AUTO, ///< Use auto-negotiation to set speed
SPEED_MBIT_10, ///< 10 MBit/s
SPEED_MBIT_100, ///< 100 MBit/s
SPEED_MBIT_1000 ///< 1000 MBit/s (1 GBit/s)
};
/** Ethernet duplex mode */
enumeration EthDuplexMode {
DUPLEX_MODE_AUTO, ///< Use auto-negotiation to set duplex mode
DUPLEX_MODE_HALF, ///< Half duplex
DUPLEX_MODE_FULL ///< Full duplex
};
/** Ethernet authentication type */
enumeration EthAuthType {
ETH_AUTH_NONE, ///< No authentication
ETH_AUTH_EAP ///< 802.1x (EAP) authentication
};
/** Ethernet link mode */
structure EthLinkMode {
EthSpeed speed; ///< Interface speed
EthDuplexMode duplexMode; ///< Interface duplex mode
};
/** Ethernet interface settings */
structure EthSettings_2_0_0 {
EthLinkMode linkMode; ///< Link mode
EthAuthType authType; ///< Authentication type
EapAuthSettings_3_0_0 eap; ///< EAP Settings for 802.1x authentication
};
/** Ethernet interface info */
structure EthInfo_1_0_1 {
EapStatus eapStatus; ///< \c status of EAP authentication
EthLinkMode linkMode; ///< Current link mode
boolean linkModeValid; ///< \c true if linkMode is valid
boolean autonegEnabled; ///< \c true if auto-negotiation is enabled
boolean linkDetected; ///< \c true if a link is detected
vector<EthLinkMode> supportedLinkModes; ///< Supported link modes
};
/** WLAN security protocol */
enumeration WlanSecProtocol {
WPA2 ///< WPA2 security protocol
};
/** WLAN authentication type */
enumeration WlanAuthType_2_0_0 {
WLAN_AUTH_NONE, ///< No authentication
WLAN_AUTH_PSK, ///< Pre-shared key authentication
WLAN_AUTH_EAP ///< 802.1x (EAP) authentication
};
/** WLAN interface settings */
structure WlanSettings_3_0_0 {
boolean enableHT; ///< Enable high throughput features (802.11n)
string ssid; ///< SSID of the wireless network
string bssid; ///< BSSID (empty for automatic AP selection)
WlanSecProtocol secProtocol; ///< Security protocol (WPA2)
WlanAuthType_2_0_0 authType; ///< Authentication type
string psk; ///< Pre-shared key (always empty on retrieval!)
boolean clearPsk; ///< Set to \c true when PSK should be cleared
EapAuthSettings_3_0_0 eap; ///< EAP Settings for 802.1x authentication
};
/** WLAN channel width */
enumeration WlanChannelWidth {
CHANNEL_WIDTH_UNKNOWN,
CHANNEL_WIDTH_20_NO_HT,
CHANNEL_WIDTH_20,
CHANNEL_WIDTH_40,
CHANNEL_WIDTH_80,
CHANNEL_WIDTH_80P80,
CHANNEL_WIDTH_160
};
/** WLAN interface info */
structure WlanInfo {
boolean associated; ///< \c true if assoiated to an access point
string ssid; ///< SSID of the wireless network
string bssid; ///< BSSID of associated access point
int channel; ///< Channel number
WlanChannelWidth channelWidth; ///< Channel width (this is an id and no frequency!)
};
/** Network settings */
structure Settings_3_0_0 {
CommonSettings_2_0_0 common; ///< Common network settings
map<string, InterfaceSettings_2_0_0> ifMap; ///< Common interface settings
map<string, EthSettings_2_0_0> ethMap; ///< Ethernet specific interface settings
map<string, WlanSettings_3_0_0> wlanMap;///< WLAN specific interface settings
};
/** Network info */
structure Info_1_0_1 {
CommonInfo common; ///< Common network info
map<string, InterfaceInfo> ifMap; ///< Common interface info
map<string, EthInfo_1_0_1> ethMap; ///< Ethernet specific interface info
map<string, WlanInfo> wlanMap; ///< WLAN specific interface info
};
/** Mapping from application protocol id to name and transport protocol */
structure PortForwardingProtocolMapping {
int appProtoId; ///< Application protocol id
string appProtoName; ///< Application protocol name
string transportProtoName; ///< Transport protocol name
};
/* ---- event definitions ---- */
/** Event that is send when common network info has changed */
valueobject CommonInfoChangedEvent extends idl.Event {
CommonInfo commonInfo; ///< Current common network info
};
/** Event that is send when common interface specific network info has changed */
valueobject InterfaceInfoChangedEvent extends idl.Event {
InterfaceInfo ifInfo; ///< Current common interface specific info
};
/** Event that is send when ethernet interface specific network info has changed */
valueobject EthInfoChangedEvent_1_0_1 extends idl.Event {
string ifName; ///< Ethernet interface name
string ifLabel; ///< interface label
EthInfo_1_0_1 ethInfo; ///< Current ethernet interface specific info
};
/** Event that is send when WLAN interface specific network info has changed */
valueobject WlanInfoChangedEvent extends idl.Event {
string ifName; ///< WLAN interface name
WlanInfo wlanInfo; ///< Current WLAN interface specific info
};
/** Event that is send when the operational state of an interface changed */
valueobject LinkStateChangedEvent extends idl.Event {
string ifName; ///< interface name
string ifLabel; ///< interface label
InterfaceType ifType; ///< interface type
InterfaceOpState ifState; ///< Current operational interface state
};
/** Event that is send when the presence state of a downstream port forwarding slave changes */
valueobject PortForwardingSlavePresenceStateChangedEvent extends idl.Event {
boolean slavePresent; ///< \c true when a slave is present
};
/** Network configuration interface */
interface Net_5_0_0 {
/** Success code */
constant int SUCCESS = 0;
/** DNS parameter errors */
constant int ERR_DNS_TOO_MANY_SERVERS = 100;
constant int ERR_DNS_INVALID_SERVER = 101;
constant int ERR_DNS_TOO_MANY_SEARCH_SUFFIXES = 102;
constant int ERR_DNS_INVALID_SEARCH_SUFFIX = 103;
/** routing parameter errors */
constant int ERR_ROUTING_IPV4_INVALID_DFLT_GATEWAY_ADDR = 200;
constant int ERR_ROUTING_IPV6_INVALID_DFLT_GATEWAY_ADDR = 201;
constant int ERR_ROUTING_IPV4_INVALID_DEST_ADDR = 202;
constant int ERR_ROUTING_IPV6_INVALID_DEST_ADDR = 203;
constant int ERR_ROUTING_IPV4_INVALID_DEST_PREFIX_LEN = 204;
constant int ERR_ROUTING_IPV6_INVALID_DEST_PREFIX_LEN = 205;
constant int ERR_ROUTING_IPV4_INVALID_NEXTHOP_ADDR = 206;
constant int ERR_ROUTING_IPV6_INVALID_NEXTHOP_ADDR = 207;
constant int ERR_ROUTING_IPV4_INVALID_INTERFACE = 208;
constant int ERR_ROUTING_IPV6_INVALID_INTERFACE = 209;
constant int ERR_ROUTING_IPV4_DEST_IS_NO_NETWORK_ADDR = 210;
constant int ERR_ROUTING_IPV6_DEST_IS_NO_NETWORK_ADDR = 211;
constant int ERR_ROUTING_IPV4_DEST_IS_DUPLICATE = 212;
constant int ERR_ROUTING_IPV6_DEST_IS_DUPLICATE = 213;
constant int ERR_ROUTING_IPV4_NO_NEXTHOP_OR_INTERFACE = 214;
constant int ERR_ROUTING_IPV6_NO_NEXTHOP_OR_INTERFACE = 215;
constant int ERR_ROUTING_IPV4_NEXTHOP_AND_INTERFACE_SET = 216;
constant int ERR_ROUTING_IPV6_NEXTHOP_AND_INTERFACE_SET = 217;
/** port forwarding parameter errors */
constant int ERR_PF_INVALID_MASTER_DOWNSTREAM_INTERFACE = 300;
constant int ERR_PF_NO_WORKING_MASTER_UPSTREAM_INTERFACE= 301;
/** interface common parameter errors */
constant int ERR_IF_IPV4_INVALID_CONFIG_METHOD = 400;
constant int ERR_IF_IPV6_INVALID_CONFIG_METHOD = 401;
constant int ERR_IF_IPV4_INVALID_STATIC_ADDR = 402;
constant int ERR_IF_IPV6_INVALID_STATIC_ADDR = 403;
constant int ERR_IF_IPV4_INVALID_STATIC_PREFIX_LEN = 404;
constant int ERR_IF_IPV6_INVALID_STATIC_PREFIX_LEN = 405;
constant int ERR_IF_IPV4_INVALID_DHCP_PREF_HOSTNAME = 406;
constant int ERR_IF_IPV6_INVALID_DHCP_PREF_HOSTNAME = 407;
constant int ERR_IF_EAP_INVALID_IDENTITY = 408;
constant int ERR_IF_EAP_INVALID_PASSWORD = 409;
constant int ERR_IF_EAP_INVALID_CLIENT_CERT = 410;
constant int ERR_IF_EAP_INVALID_CLIENT_PRIV_KEY_OR_PWD = 411;
constant int ERR_IF_EAP_CLIENT_CERT_PRIV_KEY_MISMATCH = 412;
constant int ERR_IF_EAP_INVALID_CA_CERT = 413;
constant int ERR_IF_EAP_CA_CERT_VERIFY_FAILED = 414; /* not used anymore */
constant int ERR_IF_EAP_INVALID_AUTH_SERVER_NAME = 415;
/** Ethernet interface parameter errors */
constant int ERR_ETH_IF_UNSUPPORTED_LINKMODE = 500;
/** WLAN interface parameter errors */
constant int ERR_WLAN_IF_INVALID_SSID = 600;
constant int ERR_WLAN_IF_INVALID_BSSID = 601;
constant int ERR_WLAN_IF_INVALID_PSK = 602;
/**
* Retrieve information about all network interfaces.
*
* @return Current network information
*/
Info_1_0_1 getInfo();
/**
* Retrieve the current network interface settings.
*
* @return Settings for all supported network interfaces
*/
Settings_3_0_0 getSettings();
/**
* Update the network interface settings.
*
* @param settings New network settings
*
* @return 0 if OK
* @return non-zero in case of error (see error constants above)
*/
int setSettings(in Settings_3_0_0 settings);
/**
* Retrieve the list of port forwarding protocol mappings.
*
* @return Port forwarding protocol mappings
*/
vector<PortForwardingProtocolMapping> getPortForwardingProtocolMappings();
};
}
net::CommonInfo::portForwarding
PortForwardingInfo portForwarding
Port forwarding info.
Definition: Net.idl:100
net::ifState
InterfaceOpState ifState
Current operational interface state.
Definition: Net.idl:353
net::WlanSettings_3_0_0::authType
WlanAuthType_2_0_0 authType
Authentication type.
Definition: Net.idl:274
net::EAP_STATUS_FAILED
EAP authentication failed.
Definition: Net.idl:189
net::Settings_3_0_0::common
CommonSettings_2_0_0 common
Common network settings.
Definition: Net.idl:302
net::DnsInfo::resolverPrefersIPv6
boolean resolverPrefersIPv6
Resolver should prefer IPv6 addresses.
Definition: Net.idl:87
net::DnsSettings_2_0_0::searchSuffixes
vector< string > searchSuffixes
List of domain search suffixes.
Definition: Net.idl:42
net::EapAuthSettings_3_0_0::clientPrivKey
string clientPrivKey
client private key (always empty on retrieval!)
Definition: Net.idl:199
net::PortForwardingSettings_2_0_0::role
PortForwardingRole role
The role of the node (master or slave)
Definition: Net.idl:35
net::UP
Interface is up and running.
Definition: Net.idl:157
net::SPEED_AUTO
Use auto-negotiation to set speed.
Definition: Net.idl:214
net::DUPLEX_MODE_HALF
Half duplex.
Definition: Net.idl:223
net::INNER_EAP_MSCHAPv2
MSCHAPv2 authentication.
Definition: Net.idl:181
net::ETHERNET
Ethernet interface.
Definition: Net.idl:147
net::WlanSettings_3_0_0::clearPsk
boolean clearPsk
Set to true when PSK should be cleared.
Definition: Net.idl:276
net::ETH_AUTH_NONE
No authentication.
Definition: Net.idl:229
net::InterfaceIpSettings_2_0_0
Interface specific IP settings.
Definition: Net.idl:111
net::EapAuthSettings_3_0_0::password
string password
EAP password (always empty on retrieval!)
Definition: Net.idl:196
net::EapAuthSettings_3_0_0::outerMethod
EapOuterAuthMethod_2_0_0 outerMethod
Outer authentication method.
Definition: Net.idl:202
net::InterfaceIPv4Info::addrsCidr
vector< IpAddrCidr > addrsCidr
List of active IPv4 addresses with prefix length.
Definition: Net.idl:122
net::EapAuthSettings_3_0_0::identity
string identity
EAP identity.
Definition: Net.idl:195
net::EthSettings_2_0_0
Ethernet interface settings.
Definition: Net.idl:240
net::Info_1_0_1
Network info.
Definition: Net.idl:309
net::WlanInfo::bssid
string bssid
BSSID of associated access point.
Definition: Net.idl:295
net::wlanInfo
WlanInfo wlanInfo
Current WLAN interface specific info.
Definition: Net.idl:345
net::EapAuthSettings_3_0_0::forceTrustedCert
boolean forceTrustedCert
Enforce trusted certificates.
Definition: Net.idl:205
net::PortForwardingMasterAddrInfo::ifName
string ifName
interface name on master
Definition: Net.idl:67
net::PortForwardingProtocolMapping::transportProtoName
string transportProtoName
Transport protocol name.
Definition: Net.idl:320
net::WlanSettings_3_0_0::psk
string psk
Pre-shared key (always empty on retrieval!)
Definition: Net.idl:275
net::InterfaceSettings_2_0_0
Interface specific settings.
Definition: Net.idl:139
net::InterfaceIpSettings_2_0_0::staticAddrCidr
IpAddrCidr staticAddrCidr
Statically assigned IPv4/IPv6 address (CIDR)
Definition: Net.idl:114
net::InterfaceIPv6Info::configMethod
IpConfigMethod configMethod
Interface configuration method.
Definition: Net.idl:130
net::InterfaceIpSettings_2_0_0::configMethod
IpConfigMethod configMethod
Interface configuration method.
Definition: Net.idl:113
net::EapAuthSettings_3_0_0::caCertChain
string caCertChain
CA certificate chain.
Definition: Net.idl:204
net::EAP_STATUS_SUCCESS
EAP authentication succeeded.
Definition: Net.idl:190
net::InterfaceIPv6Info::dhcpPreferredHostname
string dhcpPreferredHostname
Preferred hostname (only used with DHCP)
Definition: Net.idl:133
net::InterfaceIpSettings_2_0_0::dhcpPreferredHostname
string dhcpPreferredHostname
Preferred hostname (only used with DHCP)
Definition: Net.idl:115
net::DUPLEX_MODE_AUTO
Use auto-negotiation to set duplex mode.
Definition: Net.idl:222
net::PortForwardingInfo
Port forwarding info.
Definition: Net.idl:72
net::EthLinkMode::duplexMode
EthDuplexMode duplexMode
Interface duplex mode.
Definition: Net.idl:236
net::EthLinkMode
Ethernet link mode.
Definition: Net.idl:234
net::InterfaceSettings_2_0_0::ipv4
InterfaceIpSettings_2_0_0 ipv4
Interface specific IPv4 settings.
Definition: Net.idl:141
net::Info_1_0_1::wlanMap
map< string, WlanInfo > wlanMap
WLAN specific interface info.
Definition: Net.idl:313
net::IpRoute
IPv4/IPv6 route.
Definition: Net.idl:20
net::Settings_3_0_0
Network settings.
Definition: Net.idl:301
net::DUPLEX_MODE_FULL
Full duplex.
Definition: Net.idl:224
net::InterfaceInfo::macAddr
string macAddr
MAC address of the interface.
Definition: Net.idl:168
net::WlanInfo::ssid
string ssid
SSID of the wireless network.
Definition: Net.idl:294
net::EthInfo_1_0_1::linkMode
EthLinkMode linkMode
Current link mode.
Definition: Net.idl:249
net::DnsInfo
DNS info.
Definition: Net.idl:84
net::PortForwardingInfo::nodeIndex
int nodeIndex
Index of the node in the port forwarding cascade.
Definition: Net.idl:75
net::InterfaceIPv4Info::configMethod
IpConfigMethod configMethod
Interface configuration method.
Definition: Net.idl:121
net::PortForwardingProtocolMapping::appProtoId
int appProtoId
Application protocol id.
Definition: Net.idl:318
net::RoutingSettings_2_0_0
Routing settings.
Definition: Net.idl:53
net::DnsSettings_2_0_0::resolverPrefersIPv6
boolean resolverPrefersIPv6
Resolver should prefer IPv6 addresses.
Definition: Net.idl:43
net::EthSettings_2_0_0::eap
EapAuthSettings_3_0_0 eap
EAP Settings for 802::1x authentication.
Definition: Net.idl:243
net::InterfaceIPv6Info
Interface specific IPv6 info.
Definition: Net.idl:128
net::EAP_TLS
TLS authentication.
Definition: Net.idl:176
net::WLAN_AUTH_EAP
802::1x (EAP) authentication
Definition: Net.idl:265
net::EapAuthSettings_3_0_0::allowOffTimeRangeCerts
boolean allowOffTimeRangeCerts
allow expired and not yet valid TLS certs
Definition: Net.idl:206
net::WlanSettings_3_0_0::bssid
string bssid
BSSID (empty for automatic AP selection)
Definition: Net.idl:272
net::SPEED_MBIT_1000
1000 MBit/s (1 GBit/s)
Definition: Net.idl:217
net::EapAuthSettings_3_0_0::authServerName
string authServerName
Name of the RADIUS server (used to verify cert)
Definition: Net.idl:209
net::CommonInfo::dns
DnsInfo dns
DNS info.
Definition: Net.idl:98
net::WLAN
WLAN interface.
Definition: Net.idl:148
net::InterfaceType
InterfaceType
The interface type.
Definition: Net.idl:146
net::BRIDGE
Bride interface.
Definition: Net.idl:149
net::EthInfo_1_0_1::linkDetected
boolean linkDetected
true if a link is detected
Definition: Net.idl:252
net::InterfaceIPv6Info::dhcpServerId
string dhcpServerId
DHCPv6 server id or empty.
Definition: Net.idl:132
net::PortForwardingProtocolMapping::appProtoName
string appProtoName
Application protocol name.
Definition: Net.idl:319
net::WlanInfo::associated
boolean associated
true if assoiated to an access point
Definition: Net.idl:293
net::CommonSettings_2_0_0::dns
DnsSettings_2_0_0 dns
DNS settings.
Definition: Net.idl:60
net::InterfaceInfo::type
InterfaceType type
Interface type.
Definition: Net.idl:164
net::PortForwardingInfo::nodeIndexValid
boolean nodeIndexValid
true if nodeIndex is valid
Definition: Net.idl:74
net::RoutingSettings_2_0_0::ipv6
IpRoutingSettings_2_0_0 ipv6
IPv6 routing settings.
Definition: Net.idl:55
net::WlanSecProtocol
WlanSecProtocol
WLAN security protocol.
Definition: Net.idl:257
net::InterfaceInfo::enabled
boolean enabled
The dynamic enabled state.
Definition: Net.idl:165
net::EAP_STATUS_PENDING
EAP authentication pending.
Definition: Net.idl:188
net::EapAuthSettings_3_0_0::clientCertChain
string clientCertChain
client certificate chain
Definition: Net.idl:198
net::Info_1_0_1::ifMap
map< string, InterfaceInfo > ifMap
Common interface info.
Definition: Net.idl:311
net::STATIC
No automatic configuration.
Definition: Net.idl:105
net::WlanChannelWidth
WlanChannelWidth
WLAN channel width.
Definition: Net.idl:281
net::IpRoutingSettings_2_0_0
IP protocol specific routing settings.
Definition: Net.idl:47
net::CommonInfo::routing
RoutingInfo routing
Routing info.
Definition: Net.idl:99
net::PortForwardingInfo::slaveConnected
boolean slaveConnected
true if this node has a slave connected
Definition: Net.idl:76
net::DnsSettings_2_0_0::serverAddrs
vector< string > serverAddrs
List of domain name servers addresses (IPv4/IPv6)
Definition: Net.idl:41
net::EapAuthSettings_3_0_0
EAP authentication settings.
Definition: Net.idl:194
idl
Basic IDL definitions.
Definition: Event.idl:10
net::InterfaceIPv6Info::raOtherConf
boolean raOtherConf
"OtherConf" flag set in router announcements
Definition: Net.idl:135
net::NOT_PRESENT
Interface is not present.
Definition: Net.idl:154
net::WlanInfo::channel
int channel
Channel number.
Definition: Net.idl:296
net::WlanSettings_3_0_0::eap
EapAuthSettings_3_0_0 eap
EAP Settings for 802::1x authentication.
Definition: Net.idl:277
net::Info_1_0_1::ethMap
map< string, EthInfo_1_0_1 > ethMap
Ethernet specific interface info.
Definition: Net.idl:312
net::InterfaceIPv4Info::dhcpPreferredHostname
string dhcpPreferredHostname
Preferred hostname (only used with DHCP)
Definition: Net.idl:124
net::IpRoutingSettings_2_0_0::defaultGatewayAddr
string defaultGatewayAddr
Default gateway address.
Definition: Net.idl:48
net::InterfaceIPv4Info
Interface specific IPv4 info.
Definition: Net.idl:119
net::InterfaceIPv6Info::raManaged
boolean raManaged
"Managed" flag set in router announcements
Definition: Net.idl:134
net
Network Configuration.
Definition: Diagnostics.idl:9
net::EthSettings_2_0_0::linkMode
EthLinkMode linkMode
Link mode.
Definition: Net.idl:241
net::RoutingInfo
Routing info.
Definition: Net.idl:91
net::ETH_AUTH_EAP
802::1x (EAP) authentication
Definition: Net.idl:230
net::RoutingSettings_2_0_0::ipv4
IpRoutingSettings_2_0_0 ipv4
IPv4 routing settings.
Definition: Net.idl:54
net::EthInfo_1_0_1::eapStatus
EapStatus eapStatus
status of EAP authentication
Definition: Net.idl:248
net::PortForwardingSettings_2_0_0
Port forwarding settings.
Definition: Net.idl:33
net::WlanSettings_3_0_0
WLAN interface settings.
Definition: Net.idl:269
net::EAP_STATUS_DISABLED
EAP authentication disabled.
Definition: Net.idl:187
net::InterfaceSettings_2_0_0::ipv6
InterfaceIpSettings_2_0_0 ipv6
Interface specific IPv6 settings.
Definition: Net.idl:142
net::EthSpeed
EthSpeed
Ethernet speed.
Definition: Net.idl:213
net::PortForwardingInfo::enabled
boolean enabled
true if port forwarding is enabled
Definition: Net.idl:73
net::WlanInfo
WLAN interface info.
Definition: Net.idl:292
net::RoutingInfo::ipv4Routes
vector< IpRoute > ipv4Routes
List of active IPv4 routes.
Definition: Net.idl:92
net::WlanSettings_3_0_0::enableHT
boolean enableHT
Enable high throughput features (802::11n)
Definition: Net.idl:270
net::EthInfo_1_0_1::autonegEnabled
boolean autonegEnabled
true if auto-negotiation is enabled
Definition: Net.idl:251
net::EapStatus
EapStatus
EAP authentication status.
Definition: Net.idl:186
net::MASTER
Node is the port forwarding master.
Definition: Net.idl:28
net::PortForwardingInfo::masterIPv4AddrInfos
vector< PortForwardingMasterAddrInfo > masterIPv4AddrInfos
Master address info for IPv4.
Definition: Net.idl:79
net::InterfaceIPv4Info::dhcpServerAddr
string dhcpServerAddr
IPv4 address of DHCP server or empty.
Definition: Net.idl:123
net::WlanAuthType_2_0_0
WlanAuthType_2_0_0
WLAN authentication type.
Definition: Net.idl:262
net::ethInfo
EthInfo_1_0_1 ethInfo
Current ethernet interface specific info.
Definition: Net.idl:339
net::WlanSettings_3_0_0::ssid
string ssid
SSID of the wireless network.
Definition: Net.idl:271
net::SPEED_MBIT_10
10 MBit/s
Definition: Net.idl:215
net::WLAN_AUTH_NONE
No authentication.
Definition: Net.idl:263
net::EthLinkMode::speed
EthSpeed speed
Interface speed.
Definition: Net.idl:235
net::EthInfo_1_0_1::supportedLinkModes
vector< EthLinkMode > supportedLinkModes
Supported link modes.
Definition: Net.idl:253
net::PortForwardingRole
PortForwardingRole
Role of the node when port forwarding is enabled.
Definition: Net.idl:27
net::Info_1_0_1::common
CommonInfo common
Common network info.
Definition: Net.idl:310
net::DHCP
Use DHCP for automatic configuration (IPv4 only)
Definition: Net.idl:106
net::PortForwardingInfo::masterDownstreamIfName
string masterDownstreamIfName
Master downstream interface (usb: any USB iface)
Definition: Net.idl:77
net::NO_LINK
Interface has no link.
Definition: Net.idl:156
net::ifType
InterfaceType ifType
interface type
Definition: Net.idl:352
net::EAP_PEAP
PEAP authentication.
Definition: Net.idl:175
net::EapInnerAuthMethod_2_0_0
EapInnerAuthMethod_2_0_0
EAP inner authentication method.
Definition: Net.idl:180
net::EthAuthType
EthAuthType
Ethernet authentication type.
Definition: Net.idl:228
net::InterfaceInfo::masterIfName
string masterIfName
Master interface (set for bridged interfaces)
Definition: Net.idl:166
net::Settings_3_0_0::wlanMap
map< string, WlanSettings_3_0_0 > wlanMap
WLAN specific interface settings.
Definition: Net.idl:305
net::DnsInfo::searchSuffixes
vector< string > searchSuffixes
List of active domain search suffixes.
Definition: Net.idl:86
net::SLAVE
Node is a port forwarding slave.
Definition: Net.idl:29
net::WLAN_AUTH_PSK
Pre-shared key authentication.
Definition: Net.idl:264
net::InterfaceInfo::state
InterfaceOpState state
Operational state of the interface.
Definition: Net.idl:167
net::InterfaceIPv6Info::addrsCidr
vector< IpAddrCidr > addrsCidr
List of active IPv6 addresses with prefix length.
Definition: Net.idl:131
net::PortForwardingSettings_2_0_0::enabled
boolean enabled
Controls if port forwarding is enabled.
Definition: Net.idl:34
net::WlanInfo::channelWidth
WlanChannelWidth channelWidth
Channel width (this is an id and no frequency!)
Definition: Net.idl:297
net::CommonSettings_2_0_0
Common settings.
Definition: Net.idl:59
net::InterfaceInfo::label
string label
Interface label (used in user interfaces)
Definition: Net.idl:163
net::EthSettings_2_0_0::authType
EthAuthType authType
Authentication type.
Definition: Net.idl:242
net::InterfaceInfo::name
string name
Internal interface name.
Definition: Net.idl:162
net::PortForwardingProtocolMapping
Mapping from application protocol id to name and transport protocol.
Definition: Net.idl:317
net::EapAuthSettings_3_0_0::clearClientPrivKey
boolean clearClientPrivKey
Set to true to clear the client private key.
Definition: Net.idl:200
net::InterfaceSettings_2_0_0::enabled
boolean enabled
Controls if interface is enabled.
Definition: Net.idl:140
net::EthDuplexMode
EthDuplexMode
Ethernet duplex mode.
Definition: Net.idl:221
net::WlanSettings_3_0_0::secProtocol
WlanSecProtocol secProtocol
Security protocol (WPA2)
Definition: Net.idl:273
net::EapAuthSettings_3_0_0::innerMethod
EapInnerAuthMethod_2_0_0 innerMethod
Inner authentication method.
Definition: Net.idl:203
net::CommonInfoChangedEvent
valueobject CommonInfoChangedEvent
Event that is send when common network info has changed.
Definition: Net.idl:327
net::Net_5_0_0
Network configuration interface.
Definition: Net.idl:362
net::InterfaceIPv6Info::enabled
boolean enabled
true if IPv6 is enabled
Definition: Net.idl:129
net::EapAuthSettings_3_0_0::clearPassword
boolean clearPassword
Set to true when password should be cleared.
Definition: Net.idl:197
net::InterfaceInfo::ipv4
InterfaceIPv4Info ipv4
Interface specific IPv4 info.
Definition: Net.idl:169
net::CommonInfo
Common info.
Definition: Net.idl:97
net::InterfaceInfo
Interface specific info.
Definition: Net.idl:161
net::IpAddrCidr
IPv4/IPv6 address and prefix len.
Definition: Net.idl:14
net::PortForwardingMasterAddrInfo
Port forwarding master address info for an interface.
Definition: Net.idl:66
net::DnsInfo::serverAddrs
vector< string > serverAddrs
List of active domain name server addresses.
Definition: Net.idl:85
net::EapOuterAuthMethod_2_0_0
EapOuterAuthMethod_2_0_0
EAP outer authentication method.
Definition: Net.idl:174
net::Settings_3_0_0::ifMap
map< string, InterfaceSettings_2_0_0 > ifMap
Common interface settings.
Definition: Net.idl:303
net::InterfaceIPv4Info::enabled
boolean enabled
true if IPv4 is enabled
Definition: Net.idl:120
net::InterfaceOpState
InterfaceOpState
Interface operational state.
Definition: Net.idl:153
net::IpRoutingSettings_2_0_0::staticRoutes
vector< IpRoute > staticRoutes
List of static routes.
Definition: Net.idl:49
net::EapAuthSettings_3_0_0::clientPrivKeyPassword
string clientPrivKeyPassword
password of client private key
Definition: Net.idl:201
net::AUTO
Use automatic configuration (IPv6 only)
Definition: Net.idl:107
net::INNER_EAP_TLS
TLS authentication.
Definition: Net.idl:182
net::InterfaceInfo::ipv6
InterfaceIPv6Info ipv6
Interface specific IPv6 info.
Definition: Net.idl:170
net::CommonSettings_2_0_0::routing
RoutingSettings_2_0_0 routing
Routing settings.
Definition: Net.idl:61
net::PortForwardingMasterAddrInfo::addr
string addr
IPv4/IPv6 address on the interface.
Definition: Net.idl:68
net::PortForwardingInfo::masterIPv6AddrInfos
vector< PortForwardingMasterAddrInfo > masterIPv6AddrInfos
Master address info for IPv6.
Definition: Net.idl:80
net::DOWN
Interface is down.
Definition: Net.idl:155
net::IpConfigMethod
IpConfigMethod
IP configuration method.
Definition: Net.idl:104
net::DnsSettings_2_0_0
DNS settings.
Definition: Net.idl:40
net::Settings_3_0_0::ethMap
map< string, EthSettings_2_0_0 > ethMap
Ethernet specific interface settings.
Definition: Net.idl:304
net::RoutingInfo::ipv6Routes
vector< IpRoute > ipv6Routes
List of active IPv6 routes.
Definition: Net.idl:93
net::InterfaceIpSettings_2_0_0::enabled
boolean enabled
Controls if IPv4/IPv6 is enabled.
Definition: Net.idl:112
net::EthInfo_1_0_1::linkModeValid
boolean linkModeValid
true if linkMode is valid
Definition: Net.idl:250
net::EthInfo_1_0_1
Ethernet interface info.
Definition: Net.idl:247
net::PortForwardingSettings_2_0_0::masterDownstreamIfName
string masterDownstreamIfName
Master downstream interface (usb: any USB iface)
Definition: Net.idl:36
net::EapAuthSettings_3_0_0::allowNotYetValidCertsIfTimeBeforeBuild
boolean allowNotYetValidCertsIfTimeBeforeBuild
allow not yet valid TLS certs if
Definition: Net.idl:207
net::WPA2
WPA2 security protocol.
Definition: Net.idl:258
net::ifLabel
string ifLabel
interface label
Definition: Net.idl:338
net::CommonSettings_2_0_0::portForwarding
PortForwardingSettings_2_0_0 portForwarding
Port forwarding settings.
Definition: Net.idl:62
net::SPEED_MBIT_100
100 MBit/s
Definition: Net.idl:216