Raritan EMX JSON-RPC API
|
test routines for RJ45 Ethernet port This is low level interface using ethtool that does not persist any of the settings made (TODO: this interface may be combined with a 'decent' network interface. More...
import"testrpc.idl";
Public Types | |
enum | Speed { SPD_10, SPD_100, SPD_1000 } |
Ethernet Speed. More... | |
enum | Duplex { DPX_HALF, DPX_FULL } |
Ethernet Duplex Mode. More... | |
Public Member Functions | |
vector< string > | getDevices () |
returns a a list of valid network interface devices | |
int | setParameters (in string device, in Speed speed, in Duplex duplex, in boolean isAutoNeg) |
transiently sets the interface to the desired parameters More... | |
test routines for RJ45 Ethernet port This is low level interface using ethtool that does not persist any of the settings made (TODO: this interface may be combined with a 'decent' network interface.
Currently the network interface is dedicated to special use cases)
Ethernet Duplex Mode.
Enumerator | |
---|---|
DPX_HALF |
Half Duplex. |
DPX_FULL |
Full Duplex. |
Ethernet Speed.
Enumerator | |
---|---|
SPD_10 |
10 Mbit/s |
SPD_100 |
100 Mbit/s |
SPD_1000 |
1 Gbit/s |
int test::Ethernet::setParameters | ( | in string | device, |
in Speed | speed, | ||
in Duplex | duplex, | ||
in boolean | isAutoNeg | ||
) |
transiently sets the interface to the desired parameters