--- /dev/null
+{
+ "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\"
+ }
+ ]
+ }
+}",
+}
\ No newline at end of file