6 #include <UserEvent.idl>
14 constant
int NO_ERROR = 0;
15 constant
int ERR_INVALID_PARAM = 1;
16 constant
int ERR_UNSUPPORTED_ON_PRIMARY_UNIT = 2;
17 constant
int ERR_UNSUPPORTED_ON_LINK_UNIT = 3;
18 constant
int ERR_LINK_ID_IN_USE = 4;
19 constant
int ERR_HOST_IN_USE = 5;
20 constant
int ERR_LINK_UNIT_UNREACHABLE = 6;
21 constant
int ERR_LINK_UNIT_ACCESS_DENIED = 7;
22 constant
int ERR_LINK_UNIT_REFUSED = 8;
23 constant
int ERR_UNIT_BUSY = 9;
24 constant
int ERR_NOT_SUPPORTED = 10;
25 constant
int ERR_PASSWORD_CHANGE_REQUIRED = 11;
26 constant
int ERR_PASSWORD_POLICY = 12;
27 constant
int ERR_LINK_UNIT_COMM_FAILED = 13;
28 constant
int ERR_LINK_UNIT_NOT_SUPPORTED = 14;
29 constant
int ERR_FIRMWARE_VERSION_MISMATCH = 15;
50 [unknown_fallback(
"UNKNOWN")]
186 int addLinkUnit(in
int linkId, in
string host, in
string login, in
string password, in
string newPassword);
265 int addCascadeLinkUnit(in
int linkId, in
int nodeIndex, in
string login, in
string password, in
boolean positionDependent);
JSON-RPC Cascade Manager.
Definition: CascadeManager.idl:12
int setPrimaryUnitSettings(in PrimaryUnitSettings primaryUnitSettings)
Set settings for the primary unit.
Status getStatus()
Retrieve the full cascading status for this unit.
int addLinkUnit(in int linkId, in string host, in string login, in string password, in string newPassword)
Put a new link unit under this primary unit's control.
PrimaryUnitSettings getPrimaryUnitSettings()
Retrieve settings for the primary unit.
int addLinkPortLinkUnit()
Add a neighbor that was discovered on the link port as link unit.
vector< Role > getSupportedRoles()
Check which cascading roles this unit supports.
int requestLink(in string token)
Request to make this unit a link unit and put it under the remote primary unit's control.
LinkPortStatus getLinkPortStatus()
Retrieve the current Link Port status.
Role
JSON-RPC Cascade Role.
Definition: CascadeManager.idl:38
@ STANDALONE
Standalone unit, not in cascade.
Definition: CascadeManager.idl:39
@ PRIMARY_UNIT
Primary unit controlling other devices.
Definition: CascadeManager.idl:40
void finalizeLink(in string token)
Finalize the link with this link unit.
vector< LinkUnitType > getSupportedLinkUnitTypes()
Check which type of link units this unit supports.
void unlink()
Release this link unit from the remote primary unit's control.
LinkUnitStatus
Link Unit Communication Status.
Definition: CascadeManager.idl:51
@ FIRMWARE_UPDATE
This link unit is performing a firmware update.
Definition: CascadeManager.idl:56
@ FIRMWARE_MISMATCH
This link unit's firmware version does not match that of the primary unit.
Definition: CascadeManager.idl:57
@ ACCESS_DENIED
The link unit denies access.
Definition: CascadeManager.idl:55
@ OK
The link unit operates normally.
Definition: CascadeManager.idl:53
@ UNKNOWN
The status of the link unit is unknown.
Definition: CascadeManager.idl:52
@ UNREACHABLE
The link unit is unreachable.
Definition: CascadeManager.idl:54
int addCascadeLinkUnit(in int linkId, in int nodeIndex, in string login, in string password, in boolean positionDependent)
Can be called on a network cascade primary unit to add expansion units of the network cascade as link...
LinkUnitType
Definition: CascadeManager.idl:44
@ NETWORK
High-level linking via JSON-RPC API.
Definition: CascadeManager.idl:45
int releaseLinkUnit(in int linkId)
Release a link unit from this primary unit's control.
int addSecureSerialLinkUnit(in int linkId, in string installKey)
Add a serial link unit (ScalePoint Base).
Raritan JSON-RPC.
Definition: CascadeManager.idl:9
Basic IDL definitions.
Definition: Event.idl:10
Link Port Status changed.
Definition: CascadeManager.idl:114
LinkPortStatus oldStatus
Old Link Port status.
Definition: CascadeManager.idl:115
LinkPortStatus newStatus
New Link Port status.
Definition: CascadeManager.idl:116
Status of the Link Port.
Definition: CascadeManager.idl:77
boolean isLinkingConfirmationNeeded
true, if confirmation for linking via Link Port is needed
Definition: CascadeManager.idl:80
boolean isSupported
true, if Link Port is supported on this device
Definition: CascadeManager.idl:78
boolean isLinkDetected
true, if a link on the Link Port was detected
Definition: CascadeManager.idl:79
Event: A new link unit has been added.
Definition: CascadeManager.idl:91
LinkUnitType type
Link unit type.
Definition: CascadeManager.idl:93
int linkId
Link ID.
Definition: CascadeManager.idl:92
string host
Host name, IP address or bus address.
Definition: CascadeManager.idl:94
Event: A link unit has been released.
Definition: CascadeManager.idl:98
int linkId
Link ID.
Definition: CascadeManager.idl:99
string host
Host name, IP address or bus address.
Definition: CascadeManager.idl:101
LinkUnitType type
Link unit type.
Definition: CascadeManager.idl:100
Event: A link unit's communication status has changed.
Definition: CascadeManager.idl:105
LinkUnitStatus oldStatus
Previous communication status.
Definition: CascadeManager.idl:109
string host
Host name, IP address or bus address.
Definition: CascadeManager.idl:108
LinkUnitStatus newStatus
New communication status.
Definition: CascadeManager.idl:110
int linkId
Link ID.
Definition: CascadeManager.idl:106
LinkUnitType type
Link unit type.
Definition: CascadeManager.idl:107
Link Unit Status.
Definition: CascadeManager.idl:62
LinkUnitType type
Link unit type.
Definition: CascadeManager.idl:63
LinkUnitStatus status
Communication status.
Definition: CascadeManager.idl:65
string fwVersion
Firmware version of the link unit.
Definition: CascadeManager.idl:66
string host
Link unit host name, IP address or bus address.
Definition: CascadeManager.idl:64
Settings for primary unit.
Definition: CascadeManager.idl:32
string caCertChain
CA certificate chain that signs the link unit TLS certs.
Definition: CascadeManager.idl:33
boolean allowOffTimeRangeCerts
allow expired and not yet valid TLS certs
Definition: CascadeManager.idl:34
Event: This unit's role in the cascade has changed.
Definition: CascadeManager.idl:84
string primaryUnit
Primary unit IP address (if new role is link unit)
Definition: CascadeManager.idl:87
Role oldRole
Previous role before the change.
Definition: CascadeManager.idl:85
Role newRole
New role after the change.
Definition: CascadeManager.idl:86
Full Cascading Status.
Definition: CascadeManager.idl:70
string primaryUnit
The primary unit IP address (if role is link unit)
Definition: CascadeManager.idl:72
map< int, LinkUnit > linkUnits
The list of link units (if role is primary unit)
Definition: CascadeManager.idl:73
Role role
This unit's role in the JSON-RPC cascade.
Definition: CascadeManager.idl:71
Common base for all events.
Definition: Event.idl:13