parent
b48b7a7bba
commit
ddea599022
|
@ -6,7 +6,7 @@ Domain ::= VisibleString
|
|||
|
||||
Partnum ::= INTEGER (0..150)
|
||||
|
||||
Action ::= ENUMERATED {queryID, join, leave, stabilise, ping}
|
||||
Action ::= ENUMERATED {queryID, join, leave, stabilise, ping, queryLoad}
|
||||
|
||||
Request ::= SEQUENCE {
|
||||
action Action,
|
||||
|
@ -19,7 +19,8 @@ Request ::= SEQUENCE {
|
|||
joinRequestPayload JoinRequestPayload,
|
||||
leaveRequestPayload LeaveRequestPayload,
|
||||
stabiliseRequestPayload StabiliseRequestPayload,
|
||||
pingRequestPayload PingRequestPayload
|
||||
pingRequestPayload PingRequestPayload,
|
||||
loadRequestPayload LoadRequestPayload
|
||||
} OPTIONAL -- just for symmetry reasons with response, requests without a payload have no meaning
|
||||
}
|
||||
|
||||
|
@ -38,7 +39,8 @@ Response ::= SEQUENCE {
|
|||
joinResponsePayload JoinResponsePayload,
|
||||
leaveResponsePayload LeaveResponsePayload,
|
||||
stabiliseResponsePayload StabiliseResponsePayload,
|
||||
pingResponsePayload PingResponsePayload
|
||||
pingResponsePayload PingResponsePayload,
|
||||
loadResponsePayload LoadResponsePayload
|
||||
} OPTIONAL -- no payload when just ACKing a previous request
|
||||
}
|
||||
|
||||
|
@ -101,5 +103,14 @@ PingRequestPayload ::= NULL -- do not include a node/ vserver ID, so that
|
|||
-- learning all active vserver IDs handled by the server at once
|
||||
PingResponsePayload ::= SEQUENCE OF NodeState
|
||||
|
||||
LoadRequestPayload ::= SEQUENCE {
|
||||
lowerBound NodeID,
|
||||
upperBound NodeID
|
||||
}
|
||||
|
||||
LoadResponsePayload ::= SEQUENCE {
|
||||
loadSum REAL,
|
||||
remainingLoadTarget REAL
|
||||
}
|
||||
|
||||
END
|
||||
|
|
Loading…
Reference in a new issue