2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00

Add new file

This commit is contained in:
Suzanne Goldlust
2018-10-04 16:49:55 -04:00
committed by Tomek Mrugalski
parent 0ba801f547
commit 44681f6715

30
doc/api/subnet4-add.json Normal file
View File

@@ -0,0 +1,30 @@
{
"name": "subnet4-add",
"brief": "This command is used to create and add a new subnet to the existing server configuration.",
"description": "See <xref linkend=\"idp69\"/>",
"support": [ "kea-dhcp4", "kea-dhcp6" ],
"avail": "1.3.0",
"hook": "subnet_cmds",
"cmd-syntax": "{
\"command\": \"subnet4-add\",
\"arguments\": {
\"subnets\": [ {
\"id\": 123,
\"subnet\": \"10.20.30.0/24\",
...
} ]
}
}",
"resp-syntax": "{
\"result\": 0,
\"text\": \"IPv4 subnet added\",
\"arguments\": {
\"subnets\": [
{
\"id\": 123,
\"subnet\": \"10.20.30.0/24\"
}
]
}
}",
}