Debian Codegraph @

tests/013_dnat_ipv4_tcp_weighted_rr/input.json

raw
1 {
2 "farms" : [
3 {
4 "name" : "lb01",
5 "family" : "ipv4",
6 "virtual-addr" : "192.168.56.101",
7 "virtual-ports" : "80",
8 "mode" : "dnat",
9 "protocol" : "tcp",
10 "scheduler" : "weight",
11 "state" : "up",
12 "backends" : [
13 {
14 "name" : "bck0",
15 "ip-addr" : "192.168.0.10",
16 "weight" : "2",
17 "priority" : "1",
18 "state" : "up"
19 },
20 {
21 "name" : "bck1",
22 "ip-addr" : "192.168.0.11",
23 "weight" : "1",
24 "priority" : "1",
25 "state" : "up"
26 },
27 {
28 "name" : "bck2",
29 "ip-addr" : "192.168.0.12",
30 "weight" : "1",
31 "priority" : "1",
32 "state" : "up"
33 },
34 {
35 "name" : "bck3",
36 "ip-addr" : "192.168.0.13",
37 "weight" : "2",
38 "priority" : "1",
39 "state" : "up"
40 },
41 {
42 "name" : "bck4",
43 "ip-addr" : "192.168.0.14",
44 "weight" : "1",
45 "priority" : "1",
46 "state" : "up"
47 }
48 ]
49 }
50 ]
51 }