getlbactionResult Structure Definition

The getlbactionResult structure defines the return type for getlbaction API.

Syntax



Members

rc

If the method succeeds, rc is 0 else rc > 0. Values above 0x8000 indicate Warnings.

message

If the method succeeds, message is NULL else message contains Error/Warning message.

lbactionList

List of lbactions


lbaction Structure Definition

The lbaction structure defines the actual return type values for getlbaction API.

Syntax



Members

name

Name for the LB action.

type

Type of an LB action. Available settings function as follows: * NOLBACTION - Does not consider LB action in making LB decision. * SELECTIONORDER - services bound to vserver with order specified in value parameter is considerd for lb/gslb decision.

value

The selection order list used during lb/gslb decision. Preference of services during lb/gslb decision is as follows - services corresponding to first order specified in the sequence is considered first, services corresponding to second order specified in the sequence is considered next and so on. For example, if -value 2 1 3 is specified here and service-1 bound to a vserver with order 1, service-2 bound to a vserver with order 2 and service-3 bound to a vserver with order 3. Then preference of selecting services in LB decision is as follows: service-2, service-1, service-3.

hits

The number of times the action has been taken.

referencecount

The number of references to the action.

undefhits

The number of times the action resulted in UNDEF.

comment

Comment. Any type of information about this LB action.

builtin

Flag to determine whether LB action is built-in or not

_nextgenapiresource


See Also