summaryrefslogtreecommitdiffstats
path: root/src/share/api/ha-sync.json
blob: b4e427719a89b02a66d0b76281377c1f1daf4657 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
    "access": "write",
    "avail": "1.4.0",
    "brief": [
        "This command instructs the server running in HA mode to synchronize its local lease database with the selected peer."
    ],
    "cmd-syntax": [
        "{",
        "    \"command\": \"ha-sync\",",
        "    \"service\": [ <service affected: 'dhcp4' or 'dhcp6'> ],",
        "    \"arguments\": {",
        "        \"server-name\": <name of the partner server>,",
        "        \"max-period\": <integer, in seconds>",
        "    }",
        "}"
    ],
    "description": "See <xref linkend=\"command-ha-sync\"/>",
    "hook": "high_availability",
    "name": "ha-sync",
    "support": [
        "kea-dhcp4",
        "kea-dhcp6"
    ]
}