| 1 | { |
| 2 | "farms" : [ |
| 3 | { |
| 4 | "name" : "lb01", |
| 5 | "family" : "ipv4", |
| 6 | "virtual-addr" : "192.168.1.22", |
| 7 | "ether-addr" : "01:01:01:01:01:01", |
| 8 | "virtual-ports" : "80", |
| 9 | "mode" : "dsr", |
| 10 | "protocol" : "tcp", |
| 11 | "scheduler" : "hash", |
| 12 | "state" : "up", |
| 13 | "backends" : [ |
| 14 | { |
| 15 | "name" : "bck0", |
| 16 | "ip-addr" : "2001:db8:0:1:1:1:1:2", |
| 17 | "ether-addr" : "02:02:02:02:02:02", |
| 18 | "weight" : "5", |
| 19 | "priority" : "1", |
| 20 | "state" : "up" |
| 21 | }, |
| 22 | { |
| 23 | "name" : "bck1", |
| 24 | "ip-addr" : "2001:db8:0:1:1:1:1:3", |
| 25 | "ether-addr" : "03:03:03:03:03:03", |
| 26 | "weight" : "5", |
| 27 | "priority" : "1", |
| 28 | "state" : "up" |
| 29 | } |
| 30 | ], |
| 31 | "iface" : "lo", |
| 32 | "oface" : "lo" |
| 33 | }, |
| 34 | { |
| 35 | "name" : "lb02", |
| 36 | "family" : "ipv6", |
| 37 | "iface" : "lo", |
| 38 | "oface" : "lo", |
| 39 | "virtual-addr" : "2001:db8:0:1:1:1:1:1", |
| 40 | "ether-addr" : "01:01:01:01:01:04", |
| 41 | "virtual-ports" : "80", |
| 42 | "mode" : "dsr", |
| 43 | "protocol" : "udp", |
| 44 | "scheduler" : "weight", |
| 45 | "state" : "up", |
| 46 | "backends" : [ |
| 47 | { |
| 48 | "name" : "bck0", |
| 49 | "ip-addr" : "2001:db8:0:1:1:1:1:2", |
| 50 | "ether-addr" : "02:02:02:02:02:02", |
| 51 | "weight" : "5", |
| 52 | "priority" : "1", |
| 53 | "state" : "up" |
| 54 | }, |
| 55 | { |
| 56 | "name" : "bck1", |
| 57 | "ip-addr" : "2001:db8:0:1:1:1:1:3", |
| 58 | "ether-addr" : "03:03:03:03:03:03", |
| 59 | "weight" : "5", |
| 60 | "priority" : "1", |
| 61 | "state" : "up" |
| 62 | } |
| 63 | ], |
| 64 | "iface" : "lo", |
| 65 | "oface" : "lo" |
| 66 | } |
| 67 | ] |
| 68 | } |