52 constant
int SUCCESS = 0;
53 constant
int ERR_PF_AUTO_SETUP_NOT_A_PRIMARY_UNIT = 1;
54 constant
int ERR_PF_AUTO_SETUP_ALREADY_RUNNING = 2;
55 constant
int ERR_PF_AUTO_SETUP_INVALID_PARAM = 3;
79 int start(in
int numberOfExpansionUnits, in
string username,
80 in
string password, in
string newPassword, in
boolean disableStrongPasswordReq);
Interface for running the port-forwarding auto-setup.
PortForwardingAutoSetupStatus getStatus()
Get the status of a port-forwarding auto-setup.
int start(in int numberOfExpansionUnits, in string username, in string password, in string newPassword, in boolean disableStrongPasswordReq)
Start the port-forwarding auto-setup.
void cancel()
Cancel a running port-forwarding auto-setup.
PortForwardingAutoSetupExpansionUnitState
The state of a specific expansion unit during a port-forwarding auto-setup run.
@ PF_AUTO_SETUP_UNIT_ADDED
Expansion unit was successfully added.
@ PF_AUTO_SETUP_UNIT_ERROR
Could not add this expansion unit.
@ PF_AUTO_SETUP_UNIT_PENDING
Currently trying to discover and setup this unit.
@ PF_AUTO_SETUP_UNIT_ALREADY_EXISTS
Expansion unit already exists, no further setup needed.
PortForwardingAutoSetupRunningState
The state of a port-forwarding auto-setup run.
@ PF_AUTO_SETUP_FINISHED_SUCCESSFULLY
Port-forwarding auto-setup finished successfully.
@ PF_AUTO_SETUP_CANCELED
Port-forwarding auto-setup was canceled.
@ PF_AUTO_SETUP_NONE
No port-forwarding auto-setup run available.
@ PF_AUTO_SETUP_RUNNING
Port-forwarding auto-setup is currently running.
@ PF_AUTO_SETUP_FINISHED_WITH_ERROR
Port-forwarding auto-setup finished with an error.
Common base for all events.
string errMsg
If state is PF_AUTO_SETUP_UNIT_ERROR this describes the error.
PortForwardingAutoSetupExpansionUnitState state
The state of this unit in this auto-setup.
The status of the auto-setup changed.
PortForwardingAutoSetupStatus newStatus
The new port-forwarding auto-setup status.
The status and expansion units of a port-forwarding auto-setup run.
map< int, PortForwardingAutoSetupExpansionUnit > expansionUnits
Results per expansion unit, mapped by their node index.
PortForwardingAutoSetupRunningState runningState
The state of the last available auto-setup run.
time startTime
UNIX timestamp (UTC) when the auto-setup was started.
int remainingExpansionUnits
Number of expansion units that still need to be discovered.