Raritan PX2/PX3 JSON-RPC API
|
Network configuration interface. More...
import"Net.idl";
Public Member Functions | |
int | setNetworkConfigIP (in NetworkConfigIP cfg) |
Set common IP parameters. More... | |
void | getNetworkConfigIP (out NetworkConfigIP cfg) |
Retrieve the common IP parameters. More... | |
int | setNetworkConfigIPv4 (in NetworkConfigIPv4 cfg4) |
Set the IPv4 configuration. More... | |
void | getNetworkConfigIPv4 (out NetworkConfigIPv4 cfg4, out NetworkConfigIPv4 cfg4current) |
Retrieve the IPv4 configuration. More... | |
void | getNetworkConfigRoutesIPv4 (out vector< IPv4RoutingEntry > static_routes, out vector< IPv4RoutingEntry > active_routes) |
int | setNetworkConfigRoutesIPv4 (in vector< IPv4RoutingEntry > static_routes) |
void | getNetworkConfigRoutesIPv6 (out vector< IPv6RoutingEntry > static_routes, out vector< IPv6RoutingEntry > active_routes) |
int | setNetworkConfigRoutesIPv6 (in vector< IPv6RoutingEntry > static_routes) |
int | setNetworkConfigIPv6 (in NetworkConfigIPv6 cfg6) |
Set the IPv6 configuration. More... | |
void | getNetworkConfigIPv6 (out NetworkConfigIPv6 cfg6, out NetworkActiveValuesIPv6 ipv6current) |
Retrieve the IPv6 configuration. More... | |
int | setNetworkConfigServices (in vector< ServiceConfig > services) |
Change the network service configuration. More... | |
void | getNetworkConfigServices (out vector< ServiceConfig > services) |
Retrieve the network service configuration. More... | |
void | getNetworkConfigInterface (out InterfaceState_2_0_0 state, out LanInterfaceSettings lan, out LanInterfaceParameters_2_0_0 lancurrent, out WirelessInterfaceSettings_2_0_0 wlan) |
Retrieve the current LAN interface configuration. More... | |
void | getMACs (out InterfaceState_2_0_0 state, out string ethmac, out string wlanmac) |
Get MAC-Addresses of lan interfaces. More... | |
int | setNetworkConfigLan (in LanInterfaceSettings lancfg) |
Set the LAN interface configuration, enable wired networking. More... | |
int | setNetworkConfigWLan (in WirelessInterfaceSettings_2_0_0 wlancfg) |
Set the wireless configuration, enable wireless networking. More... | |
int | getBridgeSlaveCount () |
Get the number of slave units that are directly sharing this unit's network connection. More... | |
Public Attributes | |
constant int | ERR_INVALID_PARAMS = 1 |
Invalid parameters. | |
Network configuration interface.
int net::Net_3_0_0::getBridgeSlaveCount | ( | ) |
Get the number of slave units that are directly sharing this unit's network connection.
void net::Net_3_0_0::getMACs | ( | out InterfaceState_2_0_0 | state, |
out string | ethmac, | ||
out string | wlanmac | ||
) |
Get MAC-Addresses of lan interfaces.
If wlan is not enabled or present, wlanmac may be set to empty string
void net::Net_3_0_0::getNetworkConfigInterface | ( | out InterfaceState_2_0_0 | state, |
out LanInterfaceSettings | lan, | ||
out LanInterfaceParameters_2_0_0 | lancurrent, | ||
out WirelessInterfaceSettings_2_0_0 | wlan | ||
) |
Retrieve the current LAN interface configuration.
state | Result: Wired or wireless interface? |
lan | Result: Wired interface settings |
lancurrent | Result: Current wired interface parameters |
wlan | Result: Wireless interface settings |
void net::Net_3_0_0::getNetworkConfigIP | ( | out NetworkConfigIP | cfg | ) |
Retrieve the common IP parameters.
cfg | Result: Configured IP settings |
void net::Net_3_0_0::getNetworkConfigIPv4 | ( | out NetworkConfigIPv4 | cfg4, |
out NetworkConfigIPv4 | cfg4current | ||
) |
Retrieve the IPv4 configuration.
cfg4 | Result: Configured IPv4 settings |
cfg4current | Result: Active values (e.g. in case of DHCP) |
void net::Net_3_0_0::getNetworkConfigIPv6 | ( | out NetworkConfigIPv6 | cfg6, |
out NetworkActiveValuesIPv6 | ipv6current | ||
) |
Retrieve the IPv6 configuration.
cfg6 | Result: Configured IPv6 settings |
ipv6current | Result: Active values (e.g. in case of DHCP, stateless config) |
void net::Net_3_0_0::getNetworkConfigServices | ( | out vector< ServiceConfig > | services | ) |
Retrieve the network service configuration.
services | List of all supported network services |
int net::Net_3_0_0::setNetworkConfigIP | ( | in NetworkConfigIP | cfg | ) |
Set common IP parameters.
cfg | New IP settings |
int net::Net_3_0_0::setNetworkConfigIPv4 | ( | in NetworkConfigIPv4 | cfg4 | ) |
Set the IPv4 configuration.
cfg4 | New IPv4 settings |
int net::Net_3_0_0::setNetworkConfigIPv6 | ( | in NetworkConfigIPv6 | cfg6 | ) |
Set the IPv6 configuration.
cfg6 | New IPv6 settings |
int net::Net_3_0_0::setNetworkConfigLan | ( | in LanInterfaceSettings | lancfg | ) |
Set the LAN interface configuration, enable wired networking.
lancfg | New LAN interface settings |
int net::Net_3_0_0::setNetworkConfigServices | ( | in vector< ServiceConfig > | services | ) |
Change the network service configuration.
This call changes the configuration of one or more network services identified by name. Other services are not affected. The resulting configuration of all enabled services must be consistent, i.e. there must be not port collisions.
services | List of network services to be changed |
int net::Net_3_0_0::setNetworkConfigWLan | ( | in WirelessInterfaceSettings_2_0_0 | wlancfg | ) |
Set the wireless configuration, enable wireless networking.
wlancfg | New wireless interface settings |