diff options
Diffstat (limited to 'src/share/api/cache-size.json')
-rw-r--r-- | src/share/api/cache-size.json | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/share/api/cache-size.json b/src/share/api/cache-size.json new file mode 100644 index 0000000..b92b00c --- /dev/null +++ b/src/share/api/cache-size.json @@ -0,0 +1,20 @@ +{ + "access": "read", + "avail": "1.6.0", + "brief": [ + "This command returns the number of entries in the host cache." + ], + "hook": "host_cache", + "name": "cache-size", + "resp-syntax": [ + "{", + " \"result\": 0,", + " \"text\": \"123 entries.\",", + " \"arguments\": { \"size\": 123 }", + "}" + ], + "support": [ + "kea-dhcp4", + "kea-dhcp6" + ] +} |