lease6-add.json 706 Bytes
Newer Older
Suzanne Goldlust's avatar
Suzanne Goldlust committed
1
2
{
    "name": "lease6-add",
Vicky Risk's avatar
Vicky Risk committed
3
    "brief": "The lease6-add command creates a new lease administratively.",
Suzanne Goldlust's avatar
Suzanne Goldlust committed
4
    "description": "See <xref linkend=\"idp64\"/>",
Vicky Risk's avatar
Vicky Risk committed
5
    "support": [ "kea-dhcp6" ],
Suzanne Goldlust's avatar
Suzanne Goldlust committed
6
7
8
9
10
11
12
13
14
15
16
17
18
    "avail": "1.3.0",
    "hook": "lease_cmds",
    "cmd-syntax": "{
    \"command\": \"lease6-add\",
    \"arguments\": {
        \"subnet-id\": 66,
        \"ip-address\": \"2001:db8::3\",
        \"duid\": \"1a:1b:1c:1d:1e:1f:20:21:22:23:24\",
        \"iaid\": 1234
    }
}",
    "cmd-comment": "lease6-add can be also used to add leases for IPv6 prefixes..",
    "resp-syntax": "{ \"result\": 0, \"text\": \"Lease added.\" }
19
20
    { \"result\": 1, \"text\": \"missing parameter 'ip-address' (<string>:3:19)\" }"
}