From: Razvan Becheriu Date: Wed, 6 Apr 2022 21:10:59 +0000 (+0300) Subject: [#2259] added missing files X-Git-Tag: Kea-2.1.5~70 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b18bfbb3e07bc8dc61c62aae6cc0b325d7697fe1;p=thirdparty%2Fkea.git [#2259] added missing files --- diff --git a/doc/sphinx/api-files.txt b/doc/sphinx/api-files.txt index 4c822ebd05..95adccb838 100644 --- a/doc/sphinx/api-files.txt +++ b/doc/sphinx/api-files.txt @@ -29,6 +29,8 @@ src/share/api/gss-tsig-key-get.json src/share/api/gss-tsig-list.json src/share/api/gss-tsig-purge-all.json src/share/api/gss-tsig-purge.json +src/share/api/gss-tsig-rekey-all.json +src/share/api/gss-tsig-rekey.json src/share/api/ha-continue.json src/share/api/ha-heartbeat.json src/share/api/ha-maintenance-cancel.json diff --git a/doc/sphinx/arm/ext-gss-tsig.rst b/doc/sphinx/arm/ext-gss-tsig.rst index 2b93a5ee5b..5bc727f650 100644 --- a/doc/sphinx/arm/ext-gss-tsig.rst +++ b/doc/sphinx/arm/ext-gss-tsig.rst @@ -1187,8 +1187,7 @@ Here is an example of a response indicating that two GSS-TSIG keys for server "f The ``gss-tsig-rekey-all`` Command ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -The command unconditionally creates new GSS-TSIG keys for (rekeys) -all DNS servers. +This command unconditionally creates new GSS-TSIG keys (rekeys) for all DNS servers. An example command invocation looks like this: @@ -1215,15 +1214,14 @@ reconnected to the network. The ``gss-tsig-rekey`` Command ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -The command unconditionally creates new GSS-TSIG keys for (rekeys) -a specified DNS server. +This command unconditionally creates new GSS-TSIG keys (rekeys) for a specified DNS server. An example command invocation looks like this: .. code-block:: json { - "command": "gss-tsig-purge", + "command": "gss-tsig-rekey", "arguments": { "server-id": "foo" } diff --git a/src/share/api/api_files.mk b/src/share/api/api_files.mk index 354c5a6dd0..3c4d470ba1 100644 --- a/src/share/api/api_files.mk +++ b/src/share/api/api_files.mk @@ -29,6 +29,8 @@ api_files += $(top_srcdir)/src/share/api/gss-tsig-key-get.json api_files += $(top_srcdir)/src/share/api/gss-tsig-list.json api_files += $(top_srcdir)/src/share/api/gss-tsig-purge-all.json api_files += $(top_srcdir)/src/share/api/gss-tsig-purge.json +api_files += $(top_srcdir)/src/share/api/gss-tsig-rekey-all.json +api_files += $(top_srcdir)/src/share/api/gss-tsig-rekey.json api_files += $(top_srcdir)/src/share/api/ha-continue.json api_files += $(top_srcdir)/src/share/api/ha-heartbeat.json api_files += $(top_srcdir)/src/share/api/ha-maintenance-cancel.json diff --git a/src/share/api/gss-tsig-purge-all.json b/src/share/api/gss-tsig-purge-all.json index 75275371aa..638b6fda50 100644 --- a/src/share/api/gss-tsig-purge-all.json +++ b/src/share/api/gss-tsig-purge-all.json @@ -7,7 +7,7 @@ " \"command\": \"gss-tsig-purge-all\"", "}" ], - "description": [ "See " ], + "description": [ "See " ], "hook": "gss_tsig", "name": "gss-tsig-purge-all", "support": [ "kea-dhcp-ddns" ], diff --git a/src/share/api/gss-tsig-purge.json b/src/share/api/gss-tsig-purge.json index 8b23086cb3..4ebc4641a4 100644 --- a/src/share/api/gss-tsig-purge.json +++ b/src/share/api/gss-tsig-purge.json @@ -1,8 +1,7 @@ { "access": "write", "avail": "2.0.0", - "brief": [ "This command removes not usable GSS-TSIG keys for the specified server." - ], + "brief": [ "This command removes not usable GSS-TSIG keys for the specified server." ], "cmd-syntax": [ "{", " \"command\": \"gss-tsig-purge\",", diff --git a/src/share/api/gss-tsig-rekey-all.json b/src/share/api/gss-tsig-rekey-all.json new file mode 100644 index 0000000000..844fa85155 --- /dev/null +++ b/src/share/api/gss-tsig-rekey-all.json @@ -0,0 +1,20 @@ +{ + "access": "write", + "avail": "2.0.0", + "brief": [ "This command unconditionally creates new GSS-TSIG keys (rekeys) for all DNS servers." ], + "cmd-syntax": [ + "{", + " \"command\": \"gss-tsig-rekey-all\"", + "}" + ], + "description": [ "See " ], + "hook": "gss_tsig", + "name": "gss-tsig-rekey-all", + "support": [ "kea-dhcp-ddns" ], + "resp-syntax": [ + "{", + " \"result\": 0,", + " \"text\": \"rekeyed\"", + "}" + ] +} diff --git a/src/share/api/gss-tsig-rekey.json b/src/share/api/gss-tsig-rekey.json new file mode 100644 index 0000000000..6198973250 --- /dev/null +++ b/src/share/api/gss-tsig-rekey.json @@ -0,0 +1,24 @@ +{ + "access": "write", + "avail": "2.0.0", + "brief": [ "The command unconditionally creates new GSS-TSIG keys for (rekeys) a specified DNS server." + ], + "cmd-syntax": [ + "{", + " \"command\": \"gss-tsig-rekey\",", + " \"arguments\": {", + " \"server-id\": \"foo\"", + " }", + "}" + ], + "description": [ "See " ], + "hook": "gss_tsig", + "name": "gss-tsig-rekey", + "support": [ "kea-dhcp-ddns" ], + "resp-syntax": [ + "{", + " \"result\": 0,", + " \"text\": \"GSS-TSIG server[foo] rekeyed\"", + "}" + ] +}