Raritan Computer CC-WSAPI-0B-v5.1.0-E Marine Radio User Manual


 
Chapter 2: API Definitions
17
getNodePower
Returns the power status of each interface of the node, including the
status of the latest power operation. The user must have permission to
access the node.
In addition to the normal states, the availability state of each interface will
be set to “Processing” if the state is pending a change because of a
power operation.
parameters
String sessionID
String nodeName Return the status of the interfaces of the
node with this name.
return value
NodePowerStatus
setNodePower
Initiate a power operation on the interfaces of a node. This command
requires the user to possess node permissions allowing power control of
the node.
Note: Power operations are in progress after setNodePower() returns.
The session must remain valid during the lifetime of the operation,
otherwise, the operation will fail. Do not call signOff() until the operation
is complete (see getNodePower()).
parameters
String sessionID
String nodeName The name of the node on which to operate.
String[]powerInterfaceID An array of each of the node's
interfaces on which to perform the power operation. Each
interface must be a member of the node.
String powerOperation The power operation to perform on the
interfaces. It must be one of the following strings, as supported
by the specified power interface. All operations are not
supported by all power interfaces. See Raritan's
CommandCenter Secure Gateway Administrators Guide.