]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[731-Kea_statistics_enhancements]
authorFranciszek Gorski <fagorski9@gmail.com>
Fri, 26 Jul 2019 09:30:48 +0000 (11:30 +0200)
committerRazvan Becheriu <razvan@isc.org>
Mon, 5 Aug 2019 17:34:27 +0000 (20:34 +0300)
doc/api/statistic-set-max-sample-age-all.json [new file with mode: 0644]
doc/api/statistic-set-max-sample-age.json [new file with mode: 0644]
doc/api/statistic-set-max-sample-count-all.json [new file with mode: 0644]
doc/api/statistic-set-max-sample-count.json [new file with mode: 0644]
doc/sphinx/api/cmds-list

diff --git a/doc/api/statistic-set-max-sample-age-all.json b/doc/api/statistic-set-max-sample-age-all.json
new file mode 100644 (file)
index 0000000..6a4513d
--- /dev/null
@@ -0,0 +1,14 @@
+{
+    "name": "statistic-set-max-sample-age-all",
+    "brief": "The statistic-set-max-sample-age-all command sets time based limit for all statistics. It takes a single integer parameter called duration.",
+    "description": "See <xref linkend=\"command-statistic-set-max-sample-age-all\"/>",
+    "support": [ "kea-dhcp4", "kea-dhcp6" ],
+    "avail": "1.6.0",
+    "cmd-syntax": "{
+    \"command\": \"statistic-set-max-sample-age-all\",
+    \"arguments\": {
+        \"duration\": 1245
+    }
+}",
+    "cmd-comment": "The server will respond with message about successfully setted limits for all statistics, with a result set to 0 indicating success and an empty parameters field."
+}
diff --git a/doc/api/statistic-set-max-sample-age.json b/doc/api/statistic-set-max-sample-age.json
new file mode 100644 (file)
index 0000000..eb8418e
--- /dev/null
@@ -0,0 +1,15 @@
+{
+    "name": "statistic-set-max-sample-age",
+    "brief": "The statistic-set-max-sample-age command sets time based limit for single statistic. It takes two parameters: a string called name and an integer value called duration.",
+    "description": "See <xref linkend=\"command-statistic-set-max-sample-age\"/>",
+    "support": [ "kea-dhcp4", "kea-dhcp6" ],
+    "avail": "1.6.0",
+    "cmd-syntax": "{
+    \"command\": \"statistic-set-max-sample-age\",
+    \"arguments\": {
+        \"name\": \"pkt4-received\",
+        \"duration\": 1245
+    }
+}",
+    "cmd-comment": "The server will respond with message about successfully setted limit for the given statistic, with a result set to 0 indicating success and an empty parameters field."
+}
diff --git a/doc/api/statistic-set-max-sample-count-all.json b/doc/api/statistic-set-max-sample-count-all.json
new file mode 100644 (file)
index 0000000..3b62140
--- /dev/null
@@ -0,0 +1,14 @@
+{
+    "name": "statistic-set-max-sample-count-all",
+    "brief": "The statistic-set-max-sample-count-all command sets size based limit for all statistics. It takes a single integer parameter called max-samples.",
+    "description": "See <xref linkend=\"command-statistic-set-max-sample-count-all\"/>",
+    "support": [ "kea-dhcp4", "kea-dhcp6" ],
+    "avail": "1.6.0",
+    "cmd-syntax": "{
+    \"command\": \"statistic-set-max-sample-count-all\",
+    \"arguments\": {
+        \"max-samples\": 100
+    }
+}",
+    "cmd-comment": "The server will respond with message about successfully setted limits for all statistics, with a result set to 0 indicating success and an empty parameters field."
+}
diff --git a/doc/api/statistic-set-max-sample-count.json b/doc/api/statistic-set-max-sample-count.json
new file mode 100644 (file)
index 0000000..d0ddefb
--- /dev/null
@@ -0,0 +1,15 @@
+{
+    "name": "statistic-set-max-sample-count",
+    "brief": "The statistic-set-max-sample-count command sets size based limit for single statistic. It takes two parameters: a string called name and an integer value called max-samples.",
+    "description": "See <xref linkend=\"command-statistic-set-max-sample-count\"/>",
+    "support": [ "kea-dhcp4", "kea-dhcp6" ],
+    "avail": "1.6.0",
+    "cmd-syntax": "{
+    \"command\": \"statistic-set-max-sample-count\",
+    \"arguments\": {
+        \"name\": \"pkt4-received\",
+        \"max-samples\": 100
+    }
+}",
+    "cmd-comment": "The server will respond with message about successfully setted limit for the given statistic, with a result set to 0 indicating success and an empty parameters field."
+}
index 0289e4d431309b6a288622128684c89666e7336d..aa8c08ad5f55fdffb5085affaa232a53d8d8c7f3 100644 (file)
@@ -37,7 +37,7 @@ lease6-get-all
 lease6-update
 lease6-wipe
 leases-reclaim
-libreload
+libreloadAle trzeba
 list-commands
 network4-add
 network4-del
@@ -117,6 +117,10 @@ statistic-remove
 statistic-remove-all
 statistic-reset
 statistic-reset-all
+statistic-set-max-sample-age
+statistic-set-max-sample-age-all
+statistic-set-max-sample-count
+statistic-set-max-sample-count-all
 subnet4-add
 subnet4-del
 subnet4-get