diff options
Diffstat (limited to 'tests/unit/fixtures/ha_running.json')
| -rw-r--r-- | tests/unit/fixtures/ha_running.json | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/tests/unit/fixtures/ha_running.json b/tests/unit/fixtures/ha_running.json new file mode 100644 index 0000000..ee7a257 --- /dev/null +++ b/tests/unit/fixtures/ha_running.json @@ -0,0 +1,44 @@ +{ + "disable": {}, + "virtual-server": { + "s1": { + "address": "10.10.10.5", + "algorithm": "round-robin", + "port": "80", + "protocol": "tcp", + "real-server": { + "10.10.50.2": { "port": "8443" } + } + } + }, + "vrrp": { + "global-parameters": { + "startup-delay": "30", + "garp": { "master-repeat": "6" } + }, + "snmp": {}, + "group": { + "g1": { + "interface": "eth0", + "vrid": "20", + "priority": "100", + "peer-address": "192.168.1.3", + "address": { "192.168.1.100/24": {} }, + "no-preempt": {}, + "track": { "interface": ["eth1", "eth2"] } + }, + "g2": { + "interface": "eth1", + "vrid": "21", + "priority": "50", + "address": "192.168.2.100/24" + } + }, + "sync-group": { + "sg1": { + "member": "g1", + "health-check": { "failure-count": "5", "ping": "192.168.1.1" } + } + } + } +} |
