Module List

FRESCO Module Description


Name:

FM_load_balance


Outline:

Parameter1: IP, Parameter: IP List

Input1: Boolean

Output: NONE

Event: INCOMMING_FLOW


Functional Description:

if the input1 is true, adopt round-robin algorithm to balance load for service IP address (parameter1) to its replicas (parameter2).
the parameter2 is used coma-delimted IP list. For example, "192.168.1.1, 192.168.1.2" means two service replicas with IP "192.168.1.1" and "192.168.1.2"


Usage Example:

{
"id" : "1",
"type" : "FM_load_balance",
"event" : "INCOMING_FLOW",
"parameters" : ["202.192.10.101", "192.168.1.1,192.168.1.2"],
"inputs" : ["1:1:1"]
}


COPYRIGHT 2016 SUCCESS LAB.