Debian Codegraph @

tests/001_snat_ipv4_tcp_weight/input.json

raw
1 {
2 "farms" : [
3 {
4 "name" : "lb01",
5 "family" : "ipv4",
6 "virtual-addr" : "192.168.0.100",
7 "virtual-ports" : "80",
8 "mode" : "snat",
9 "protocol" : "tcp",
10 "scheduler" : "weight",
11 "state" : "up",
12 "backends" : [
13 {
14 "name" : "bck0",
15 "ip-addr" : "192.168.0.10",
16 "weight" : "5",
17 "priority" : "1",
18 "state" : "up"
19 },
20 {
21 "name" : "bck1",
22 "ip-addr" : "192.168.0.11",
23 "weight" : "5",
24 "priority" : "1",
25 "state" : "up"
26 }
27 ]
28 }
29 ]
30 }