1#ifndef __RADM_POWER_DEVICE_IDL__
2#define __RADM_POWER_DEVICE_IDL__
5#include <OutletPort.idl>
42 enumeration DeviceType {
constant int ERR_SNMP_COMM_FAILURE
SNMP communication failed.
@ AES192_3DES
AES-192 with key extension (3DES)
@ AES256_3DES
AES-256 with key extension (3DES)
constant int ERR_SNMP_INTERNAL_PROBLEM
An internal error was encountered during SNMP communication.
constant int ERR_READONLY_VALUE
A read-only value was changed.
constant int ERR_SNMP_AUTHORIZATION
SNMP authorization error.
@ AUTH_NO_PRIV
authentication, no privacy
@ AUTH_PRIV
authentication, privacy
@ NO_AUTH_NO_PRIV
no authentication, no privacy
Settings getSettings()
Get device settings.
constant int ERR_SNMP_NOACCESS
No access to SNMP resource.
constant int ERR_SNMP_TIMEOUT
SNMP response timeout.
int resume()
Resume communication to this PDU.
constant int ERR_SNMP_MIB_MISMATCH
The PDU's SNMP MIB is incompatible.
vector< OutletPort > getOutletPorts()
Get outlets belonging to this PDU.
int setSettings(in Settings settings)
Set settings for this device.
Event: Device settings have changed.
Settings oldSettings
Settings before change.
Settings newSettings
Settings after change.
string authPass
SNMP authentication password (only valid for SNMP v3)
string privPass
SNMP privacy password (only valid for SNMP v3)
string host
Network host name of PDU, read-only after initial creation.
int port
SNMP network port.
SnmpPrivProtocol privProtocol
SNMP privacy protocol (only valid for SNMP v3)
boolean useSnmpV3
Whether to use SNMPv3 instead of SNMP v1/2c.
DeviceType type
Type of PDU.
SnmpAuthProtocol authProtocol
SNMP authentication protocol (only valid for SNMP v3)
SnmpSecurityLevel secLevel
SNMP security level (only valid for SNMP v3)
string community
SNMP write community string (only valid for SNMP v1/2c)
string userName
SNMP v3 user name (only valid for SNMP v3)