From: Suzanne Goldlust Date: Thu, 4 Oct 2018 20:49:55 +0000 (-0400) Subject: Add new file X-Git-Tag: 176-update-to-sysrepo-0-7-6-release_base~95 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44681f67159a0fea25f838c7852142b7d1676f86;p=thirdparty%2Fkea.git Add new file --- diff --git a/doc/api/subnet4-add.json b/doc/api/subnet4-add.json new file mode 100644 index 0000000000..580e72b0be --- /dev/null +++ b/doc/api/subnet4-add.json @@ -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 ", + "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