Debian Codegraph @

tests/025_dnat_ipv4_tcp_weight_bck_mark/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" : "dnat",
9 "protocol" : "tcp",
10 "scheduler" : "weight",
11 "mark" : "0xdead00",
12 "state" : "up",
13 "backends" : [
14 {
15 "name" : "bck0",
16 "ip-addr" : "192.168.0.10",
17 "weight" : "1",
18 "priority" : "1",
19 "mark" : "0x01",
20 "state" : "up"
21 },
22 {
23 "name" : "bck1",
24 "ip-addr" : "192.168.0.11",
25 "weight" : "1",
26 "priority" : "1",
27 "mark" : "0x02",
28 "state" : "up"
29 }
30 ]
31 }
32 ]
33 }