Debian Codegraph @

tests/016_stlsdnat_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" : "stlsdnat",
9 "protocol" : "tcp",
10 "scheduler" : "weight",
11 "iface" : "lo",
12 "oface" : "lo",
13 "state" : "up",
14 "backends" : [
15 {
16 "name" : "bck0",
17 "ip-addr" : "192.168.0.10",
18 "ether-addr" : "02:02:02:02:02:02",
19 "weight" : "2",
20 "priority" : "1",
21 "state" : "up",
22 "oface" : "lo"
23 },
24 {
25 "name" : "bck1",
26 "ip-addr" : "192.168.0.11",
27 "ether-addr" : "03:03:03:03:03:03",
28 "weight" : "1",
29 "priority" : "1",
30 "state" : "up",
31 "oface" : "lo"
32 },
33 {
34 "name" : "bck2",
35 "ip-addr" : "192.168.0.12",
36 "ether-addr" : "04:04:04:04:04:04",
37 "weight" : "1",
38 "priority" : "1",
39 "state" : "up",
40 "oface" : "lo"
41 },
42 {
43 "name" : "bck3",
44 "ip-addr" : "192.168.0.13",
45 "ether-addr" : "05:05:05:05:05:05",
46 "weight" : "2",
47 "priority" : "1",
48 "state" : "up",
49 "oface" : "lo"
50 },
51 {
52 "name" : "bck4",
53 "ip-addr" : "192.168.0.14",
54 "ether-addr" : "06:06:06:06:06:06",
55 "weight" : "1",
56 "priority" : "1",
57 "state" : "up",
58 "oface" : "lo"
59 }
60 ],
61 "ether-addr" : "01:01:01:01:01:01"
62 }
63 ]
64 }