]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2259] added missing files
authorRazvan Becheriu <razvan@isc.org>
Wed, 6 Apr 2022 21:10:59 +0000 (00:10 +0300)
committerRazvan Becheriu <razvan@isc.org>
Thu, 7 Apr 2022 20:05:02 +0000 (23:05 +0300)
doc/sphinx/api-files.txt
doc/sphinx/arm/ext-gss-tsig.rst
src/share/api/api_files.mk
src/share/api/gss-tsig-purge-all.json
src/share/api/gss-tsig-purge.json
src/share/api/gss-tsig-rekey-all.json [new file with mode: 0644]
src/share/api/gss-tsig-rekey.json [new file with mode: 0644]

index 4c822ebd05b95f2c6668db4348ced7439ef352d8..95adccb8381e0592163183984144c7eec68a2635 100644 (file)
@@ -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
index 2b93a5ee5b5fa28059975e48a1d5087f248e76e8..5bc727f6507f2ef4d0dd3f75a7b90edaaabe8dfe 100644 (file)
@@ -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"
         }
index 354c5a6dd0a58b48cbd8d4c04b0f0a84e4eda335..3c4d470ba1aab890da4d8853985473ce90982aae 100644 (file)
@@ -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
index 75275371aadd1fb4bc0ae7eddcc900b906391d1c..638b6fda50a3a7368c222c4fb4574305f85376e8 100644 (file)
@@ -7,7 +7,7 @@
         "    \"command\": \"gss-tsig-purge-all\"",
         "}"
     ],
-    "description": [ "See <xref linkend=\"command-gss-tsig--purge-all\"/>" ],
+    "description": [ "See <xref linkend=\"command-gss-tsig-purge-all\"/>" ],
     "hook": "gss_tsig",
     "name": "gss-tsig-purge-all",
     "support": [ "kea-dhcp-ddns" ],
index 8b23086cb3a4a06934713635db66f87814ee1c70..4ebc4641a45ab587816a355ea0f8d24939f78512 100644 (file)
@@ -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 (file)
index 0000000..844fa85
--- /dev/null
@@ -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 <xref linkend=\"command-gss-tsig-rekey-all\"/>" ],
+    "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 (file)
index 0000000..6198973
--- /dev/null
@@ -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 <xref linkend=\"command-gss-tsig-rekey\"/>" ],
+    "hook": "gss_tsig",
+    "name": "gss-tsig-rekey",
+    "support": [ "kea-dhcp-ddns" ],
+    "resp-syntax": [
+        "{",
+        "    \"result\": 0,",
+        "    \"text\": \"GSS-TSIG server[foo] rekeyed\"",
+        "}"
+    ]
+}