| 1 |
{ |
| 2 |
"farms": [ |
| 3 |
{ |
| 4 |
"name": "lb01", |
| 5 |
"family": "ipv4", |
| 6 |
"virtual-addr": "192.168.0.100", |
| 7 |
"virtual-ports": "80", |
| 8 |
"source-addr": "", |
| 9 |
"mode": "dsr", |
| 10 |
"protocol": "tcp", |
| 11 |
"scheduler": "weight", |
| 12 |
"sched-param": "none", |
| 13 |
"persistence": "srcip srcport ", |
| 14 |
"persist-ttl": "50", |
| 15 |
"helper": "none", |
| 16 |
"log": "none", |
| 17 |
"log-rtlimit": "0/second", |
| 18 |
"mark": "0x0", |
| 19 |
"priority": "2", |
| 20 |
"state": "up", |
| 21 |
"limits-ttl": "120", |
| 22 |
"new-rtlimit": "0/second", |
| 23 |
"new-rtlimit-burst": "0", |
| 24 |
"rst-rtlimit": "0/second", |
| 25 |
"rst-rtlimit-burst": "0", |
| 26 |
"est-connlimit": "0", |
| 27 |
"tcp-strict": "off", |
| 28 |
"queue": "-1", |
| 29 |
"verdict": "log drop accept", |
| 30 |
"addresses": [ |
| 31 |
{ |
| 32 |
"name": "lb01-addr", |
| 33 |
"family": "ipv4", |
| 34 |
"ip-addr": "192.168.0.100", |
| 35 |
"ports": "80", |
| 36 |
"protocol": "tcp", |
| 37 |
"used": "1" |
| 38 |
} |
| 39 |
], |
| 40 |
"backends": [ |
| 41 |
{ |
| 42 |
"name": "bck0", |
| 43 |
"ip-addr": "192.168.0.10", |
| 44 |
"port": "10", |
| 45 |
"weight": "5", |
| 46 |
"priority": "1", |
| 47 |
"mark": "0x1", |
| 48 |
"est-connlimit": "0", |
| 49 |
"state": "up" |
| 50 |
}, |
| 51 |
{ |
| 52 |
"name": "bck1", |
| 53 |
"ip-addr": "192.168.0.11", |
| 54 |
"port": "20", |
| 55 |
"weight": "5", |
| 56 |
"priority": "1", |
| 57 |
"mark": "0x2", |
| 58 |
"est-connlimit": "0", |
| 59 |
"state": "down" |
| 60 |
} |
| 61 |
], |
| 62 |
"policies": [], |
| 63 |
"sessions": [ |
| 64 |
{ |
| 65 |
"client": "192.168.44.8 . 80", |
| 66 |
"backend": "bck0" |
| 67 |
}, |
| 68 |
{ |
| 69 |
"client": "192.168.44.9 . 81", |
| 70 |
"backend": "bck1" |
| 71 |
}, |
| 72 |
{ |
| 73 |
"client": "192.168.44.10 . 82", |
| 74 |
"backend": "bck0" |
| 75 |
}, |
| 76 |
{ |
| 77 |
"client": "192.168.44.11 . 83", |
| 78 |
"backend": "bck1" |
| 79 |
}, |
| 80 |
{ |
| 81 |
"client": "192.168.44.12 . 84", |
| 82 |
"backend": "bck0" |
| 83 |
} |
| 84 |
] |
| 85 |
} |
| 86 |
] |
| 87 |
} |