mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 14:05:33 +00:00
[#1240] Rebased/updated 1240 patch
This commit is contained in:
@@ -1732,6 +1732,7 @@ AC_CONFIG_FILES([Makefile
|
||||
src/lib/yang/tests/Makefile
|
||||
src/lib/yang/testutils/Makefile
|
||||
src/share/Makefile
|
||||
src/share/api/Makefile
|
||||
src/share/database/Makefile
|
||||
src/share/database/scripts/Makefile
|
||||
src/share/database/scripts/cql/Makefile
|
||||
|
@@ -51,14 +51,7 @@ EXTRA_DIST += mes_files.mk
|
||||
|
||||
# list of api files that are used to generate api.rst
|
||||
api_files =
|
||||
include $(srcdir)/api/api_files.mk
|
||||
|
||||
EXTRA_DIST += api/api_files.mk
|
||||
EXTRA_DIST += api/README
|
||||
EXTRA_DIST += api/_template.json
|
||||
EXTRA_DIST += api/generate-templates
|
||||
EXTRA_DIST += api/cmds-list
|
||||
EXTRA_DIST += $(api_files)
|
||||
include $(top_srcdir)/src/share/api/api_files.mk
|
||||
|
||||
if HAVE_PDFLATEX
|
||||
all: html mans pdf
|
||||
@@ -76,8 +69,8 @@ $(srcdir)/kea-messages.rst: $(mes_files) mes2doc.py
|
||||
$(PYTHON) $(srcdir)/mes2doc.py -o $@ $(mes_files)
|
||||
|
||||
# build the list of api files
|
||||
api-files.txt: api/api_files.mk
|
||||
@sed 's;_files .*/api/;/;' $< > $@
|
||||
api-files.txt: $(top_srcdir)/src/share/api/api_files.mk
|
||||
@sed 's;api_files .*)/;;' $< > $@
|
||||
|
||||
# some tools do not use this makefile but still need generate files.
|
||||
EXTRA_DIST += mes-files.txt api-files.txt
|
||||
|
@@ -1,164 +1,165 @@
|
||||
api/build-report.json
|
||||
api/cache-clear.json
|
||||
api/cache-get-by-id.json
|
||||
api/cache-get.json
|
||||
api/cache-insert.json
|
||||
api/cache-load.json
|
||||
api/cache-remove.json
|
||||
api/cache-size.json
|
||||
api/cache-write.json
|
||||
api/class-add.json
|
||||
api/class-del.json
|
||||
api/class-get.json
|
||||
api/class-list.json
|
||||
api/class-update.json
|
||||
api/config-backend-pull.json
|
||||
api/config-get.json
|
||||
api/config-reload.json
|
||||
api/config-set.json
|
||||
api/config-test.json
|
||||
api/config-write.json
|
||||
api/dhcp-disable.json
|
||||
api/dhcp-enable.json
|
||||
api/ha-continue.json
|
||||
api/ha-heartbeat.json
|
||||
api/ha-maintenance-cancel.json
|
||||
api/ha-maintenance-notify.json
|
||||
api/ha-maintenance-start.json
|
||||
api/ha-scopes.json
|
||||
api/ha-sync.json
|
||||
api/lease4-add.json
|
||||
api/lease4-del.json
|
||||
api/lease4-get-all.json
|
||||
api/lease4-get-by-client-id.json
|
||||
api/lease4-get-by-hostname.json
|
||||
api/lease4-get-by-hw-address.json
|
||||
api/lease4-get-page.json
|
||||
api/lease4-get.json
|
||||
api/lease4-resend-ddns.json
|
||||
api/lease4-update.json
|
||||
api/lease4-wipe.json
|
||||
api/lease6-add.json
|
||||
api/lease6-bulk-apply.json
|
||||
api/lease6-del.json
|
||||
api/lease6-get-all.json
|
||||
api/lease6-get-by-duid.json
|
||||
api/lease6-get-by-hostname.json
|
||||
api/lease6-get-page.json
|
||||
api/lease6-get.json
|
||||
api/lease6-resend-ddns.json
|
||||
api/lease6-update.json
|
||||
api/lease6-wipe.json
|
||||
api/leases-reclaim.json
|
||||
api/libreload.json
|
||||
api/list-commands.json
|
||||
api/network4-add.json
|
||||
api/network4-del.json
|
||||
api/network4-get.json
|
||||
api/network4-list.json
|
||||
api/network4-subnet-add.json
|
||||
api/network4-subnet-del.json
|
||||
api/network6-add.json
|
||||
api/network6-del.json
|
||||
api/network6-get.json
|
||||
api/network6-list.json
|
||||
api/network6-subnet-add.json
|
||||
api/network6-subnet-del.json
|
||||
api/remote-global-parameter4-del.json
|
||||
api/remote-global-parameter4-get-all.json
|
||||
api/remote-global-parameter4-get.json
|
||||
api/remote-global-parameter4-set.json
|
||||
api/remote-global-parameter6-del.json
|
||||
api/remote-global-parameter6-get-all.json
|
||||
api/remote-global-parameter6-get.json
|
||||
api/remote-global-parameter6-set.json
|
||||
api/remote-network4-del.json
|
||||
api/remote-network4-get.json
|
||||
api/remote-network4-list.json
|
||||
api/remote-network4-set.json
|
||||
api/remote-network6-del.json
|
||||
api/remote-network6-get.json
|
||||
api/remote-network6-list.json
|
||||
api/remote-network6-set.json
|
||||
api/remote-option-def4-del.json
|
||||
api/remote-option-def4-get-all.json
|
||||
api/remote-option-def4-get.json
|
||||
api/remote-option-def4-set.json
|
||||
api/remote-option-def6-del.json
|
||||
api/remote-option-def6-get-all.json
|
||||
api/remote-option-def6-get.json
|
||||
api/remote-option-def6-set.json
|
||||
api/remote-option4-global-del.json
|
||||
api/remote-option4-global-get-all.json
|
||||
api/remote-option4-global-get.json
|
||||
api/remote-option4-global-set.json
|
||||
api/remote-option4-network-del.json
|
||||
api/remote-option4-network-set.json
|
||||
api/remote-option4-pool-del.json
|
||||
api/remote-option4-pool-set.json
|
||||
api/remote-option4-subnet-del.json
|
||||
api/remote-option4-subnet-set.json
|
||||
api/remote-option6-global-del.json
|
||||
api/remote-option6-global-get-all.json
|
||||
api/remote-option6-global-get.json
|
||||
api/remote-option6-global-set.json
|
||||
api/remote-option6-network-del.json
|
||||
api/remote-option6-network-set.json
|
||||
api/remote-option6-pd-pool-del.json
|
||||
api/remote-option6-pd-pool-set.json
|
||||
api/remote-option6-pool-del.json
|
||||
api/remote-option6-pool-set.json
|
||||
api/remote-option6-subnet-del.json
|
||||
api/remote-option6-subnet-set.json
|
||||
api/remote-server4-del.json
|
||||
api/remote-server4-get-all.json
|
||||
api/remote-server4-get.json
|
||||
api/remote-server4-set.json
|
||||
api/remote-server6-del.json
|
||||
api/remote-server6-get-all.json
|
||||
api/remote-server6-get.json
|
||||
api/remote-server6-set.json
|
||||
api/remote-subnet4-del-by-id.json
|
||||
api/remote-subnet4-del-by-prefix.json
|
||||
api/remote-subnet4-get-by-id.json
|
||||
api/remote-subnet4-get-by-prefix.json
|
||||
api/remote-subnet4-list.json
|
||||
api/remote-subnet4-set.json
|
||||
api/remote-subnet6-del-by-id.json
|
||||
api/remote-subnet6-del-by-prefix.json
|
||||
api/remote-subnet6-get-by-id.json
|
||||
api/remote-subnet6-get-by-prefix.json
|
||||
api/remote-subnet6-list.json
|
||||
api/remote-subnet6-set.json
|
||||
api/reservation-add.json
|
||||
api/reservation-del.json
|
||||
api/reservation-get-all.json
|
||||
api/reservation-get-by-hostname.json
|
||||
api/reservation-get-page.json
|
||||
api/reservation-get.json
|
||||
api/server-tag-get.json
|
||||
api/shutdown.json
|
||||
api/stat-lease4-get.json
|
||||
api/stat-lease6-get.json
|
||||
api/statistic-get-all.json
|
||||
api/statistic-get.json
|
||||
api/statistic-remove-all.json
|
||||
api/statistic-remove.json
|
||||
api/statistic-reset-all.json
|
||||
api/statistic-reset.json
|
||||
api/statistic-sample-age-set-all.json
|
||||
api/statistic-sample-age-set.json
|
||||
api/statistic-sample-count-set-all.json
|
||||
api/statistic-sample-count-set.json
|
||||
api/status-get.json
|
||||
api/subnet4-add.json
|
||||
api/subnet4-del.json
|
||||
api/subnet4-get.json
|
||||
api/subnet4-list.json
|
||||
api/subnet4-update.json
|
||||
api/subnet6-add.json
|
||||
api/subnet6-del.json
|
||||
api/subnet6-get.json
|
||||
api/subnet6-list.json
|
||||
api/subnet6-update.json
|
||||
api/version-get.json
|
||||
src/share/api/build-report.json
|
||||
src/share/api/cache-clear.json
|
||||
src/share/api/cache-flush.json
|
||||
src/share/api/cache-get-by-id.json
|
||||
src/share/api/cache-get.json
|
||||
src/share/api/cache-insert.json
|
||||
src/share/api/cache-load.json
|
||||
src/share/api/cache-remove.json
|
||||
src/share/api/cache-size.json
|
||||
src/share/api/cache-write.json
|
||||
src/share/api/class-add.json
|
||||
src/share/api/class-del.json
|
||||
src/share/api/class-get.json
|
||||
src/share/api/class-list.json
|
||||
src/share/api/class-update.json
|
||||
src/share/api/config-backend-pull.json
|
||||
src/share/api/config-get.json
|
||||
src/share/api/config-reload.json
|
||||
src/share/api/config-set.json
|
||||
src/share/api/config-test.json
|
||||
src/share/api/config-write.json
|
||||
src/share/api/dhcp-disable.json
|
||||
src/share/api/dhcp-enable.json
|
||||
src/share/api/ha-continue.json
|
||||
src/share/api/ha-heartbeat.json
|
||||
src/share/api/ha-maintenance-cancel.json
|
||||
src/share/api/ha-maintenance-notify.json
|
||||
src/share/api/ha-maintenance-start.json
|
||||
src/share/api/ha-scopes.json
|
||||
src/share/api/ha-sync.json
|
||||
src/share/api/lease4-add.json
|
||||
src/share/api/lease4-del.json
|
||||
src/share/api/lease4-get-all.json
|
||||
src/share/api/lease4-get-by-client-id.json
|
||||
src/share/api/lease4-get-by-hostname.json
|
||||
src/share/api/lease4-get-by-hw-address.json
|
||||
src/share/api/lease4-get-page.json
|
||||
src/share/api/lease4-get.json
|
||||
src/share/api/lease4-resend-ddns.json
|
||||
src/share/api/lease4-update.json
|
||||
src/share/api/lease4-wipe.json
|
||||
src/share/api/lease6-add.json
|
||||
src/share/api/lease6-bulk-apply.json
|
||||
src/share/api/lease6-del.json
|
||||
src/share/api/lease6-get-all.json
|
||||
src/share/api/lease6-get-by-duid.json
|
||||
src/share/api/lease6-get-by-hostname.json
|
||||
src/share/api/lease6-get-page.json
|
||||
src/share/api/lease6-get.json
|
||||
src/share/api/lease6-resend-ddns.json
|
||||
src/share/api/lease6-update.json
|
||||
src/share/api/lease6-wipe.json
|
||||
src/share/api/leases-reclaim.json
|
||||
src/share/api/libreload.json
|
||||
src/share/api/list-commands.json
|
||||
src/share/api/network4-add.json
|
||||
src/share/api/network4-del.json
|
||||
src/share/api/network4-get.json
|
||||
src/share/api/network4-list.json
|
||||
src/share/api/network4-subnet-add.json
|
||||
src/share/api/network4-subnet-del.json
|
||||
src/share/api/network6-add.json
|
||||
src/share/api/network6-del.json
|
||||
src/share/api/network6-get.json
|
||||
src/share/api/network6-list.json
|
||||
src/share/api/network6-subnet-add.json
|
||||
src/share/api/network6-subnet-del.json
|
||||
src/share/api/remote-global-parameter4-del.json
|
||||
src/share/api/remote-global-parameter4-get-all.json
|
||||
src/share/api/remote-global-parameter4-get.json
|
||||
src/share/api/remote-global-parameter4-set.json
|
||||
src/share/api/remote-global-parameter6-del.json
|
||||
src/share/api/remote-global-parameter6-get-all.json
|
||||
src/share/api/remote-global-parameter6-get.json
|
||||
src/share/api/remote-global-parameter6-set.json
|
||||
src/share/api/remote-network4-del.json
|
||||
src/share/api/remote-network4-get.json
|
||||
src/share/api/remote-network4-list.json
|
||||
src/share/api/remote-network4-set.json
|
||||
src/share/api/remote-network6-del.json
|
||||
src/share/api/remote-network6-get.json
|
||||
src/share/api/remote-network6-list.json
|
||||
src/share/api/remote-network6-set.json
|
||||
src/share/api/remote-option-def4-del.json
|
||||
src/share/api/remote-option-def4-get-all.json
|
||||
src/share/api/remote-option-def4-get.json
|
||||
src/share/api/remote-option-def4-set.json
|
||||
src/share/api/remote-option-def6-del.json
|
||||
src/share/api/remote-option-def6-get-all.json
|
||||
src/share/api/remote-option-def6-get.json
|
||||
src/share/api/remote-option-def6-set.json
|
||||
src/share/api/remote-option4-global-del.json
|
||||
src/share/api/remote-option4-global-get-all.json
|
||||
src/share/api/remote-option4-global-get.json
|
||||
src/share/api/remote-option4-global-set.json
|
||||
src/share/api/remote-option4-network-del.json
|
||||
src/share/api/remote-option4-network-set.json
|
||||
src/share/api/remote-option4-pool-del.json
|
||||
src/share/api/remote-option4-pool-set.json
|
||||
src/share/api/remote-option4-subnet-del.json
|
||||
src/share/api/remote-option4-subnet-set.json
|
||||
src/share/api/remote-option6-global-del.json
|
||||
src/share/api/remote-option6-global-get-all.json
|
||||
src/share/api/remote-option6-global-get.json
|
||||
src/share/api/remote-option6-global-set.json
|
||||
src/share/api/remote-option6-network-del.json
|
||||
src/share/api/remote-option6-network-set.json
|
||||
src/share/api/remote-option6-pd-pool-del.json
|
||||
src/share/api/remote-option6-pd-pool-set.json
|
||||
src/share/api/remote-option6-pool-del.json
|
||||
src/share/api/remote-option6-pool-set.json
|
||||
src/share/api/remote-option6-subnet-del.json
|
||||
src/share/api/remote-option6-subnet-set.json
|
||||
src/share/api/remote-server4-del.json
|
||||
src/share/api/remote-server4-get-all.json
|
||||
src/share/api/remote-server4-get.json
|
||||
src/share/api/remote-server4-set.json
|
||||
src/share/api/remote-server6-del.json
|
||||
src/share/api/remote-server6-get-all.json
|
||||
src/share/api/remote-server6-get.json
|
||||
src/share/api/remote-server6-set.json
|
||||
src/share/api/remote-subnet4-del-by-id.json
|
||||
src/share/api/remote-subnet4-del-by-prefix.json
|
||||
src/share/api/remote-subnet4-get-by-id.json
|
||||
src/share/api/remote-subnet4-get-by-prefix.json
|
||||
src/share/api/remote-subnet4-list.json
|
||||
src/share/api/remote-subnet4-set.json
|
||||
src/share/api/remote-subnet6-del-by-id.json
|
||||
src/share/api/remote-subnet6-del-by-prefix.json
|
||||
src/share/api/remote-subnet6-get-by-id.json
|
||||
src/share/api/remote-subnet6-get-by-prefix.json
|
||||
src/share/api/remote-subnet6-list.json
|
||||
src/share/api/remote-subnet6-set.json
|
||||
src/share/api/reservation-add.json
|
||||
src/share/api/reservation-del.json
|
||||
src/share/api/reservation-get-all.json
|
||||
src/share/api/reservation-get-by-hostname.json
|
||||
src/share/api/reservation-get-page.json
|
||||
src/share/api/reservation-get.json
|
||||
src/share/api/server-tag-get.json
|
||||
src/share/api/shutdown.json
|
||||
src/share/api/stat-lease4-get.json
|
||||
src/share/api/stat-lease6-get.json
|
||||
src/share/api/statistic-get-all.json
|
||||
src/share/api/statistic-get.json
|
||||
src/share/api/statistic-remove-all.json
|
||||
src/share/api/statistic-remove.json
|
||||
src/share/api/statistic-reset-all.json
|
||||
src/share/api/statistic-reset.json
|
||||
src/share/api/statistic-sample-age-set-all.json
|
||||
src/share/api/statistic-sample-age-set.json
|
||||
src/share/api/statistic-sample-count-set-all.json
|
||||
src/share/api/statistic-sample-count-set.json
|
||||
src/share/api/status-get.json
|
||||
src/share/api/subnet4-add.json
|
||||
src/share/api/subnet4-del.json
|
||||
src/share/api/subnet4-get.json
|
||||
src/share/api/subnet4-list.json
|
||||
src/share/api/subnet4-update.json
|
||||
src/share/api/subnet6-add.json
|
||||
src/share/api/subnet6-del.json
|
||||
src/share/api/subnet6-get.json
|
||||
src/share/api/subnet6-list.json
|
||||
src/share/api/subnet6-update.json
|
||||
src/share/api/version-get.json
|
||||
|
@@ -1,164 +0,0 @@
|
||||
api_files += $(srcdir)/api/build-report.json
|
||||
api_files += $(srcdir)/api/cache-clear.json
|
||||
api_files += $(srcdir)/api/cache-get-by-id.json
|
||||
api_files += $(srcdir)/api/cache-get.json
|
||||
api_files += $(srcdir)/api/cache-insert.json
|
||||
api_files += $(srcdir)/api/cache-load.json
|
||||
api_files += $(srcdir)/api/cache-remove.json
|
||||
api_files += $(srcdir)/api/cache-size.json
|
||||
api_files += $(srcdir)/api/cache-write.json
|
||||
api_files += $(srcdir)/api/class-add.json
|
||||
api_files += $(srcdir)/api/class-del.json
|
||||
api_files += $(srcdir)/api/class-get.json
|
||||
api_files += $(srcdir)/api/class-list.json
|
||||
api_files += $(srcdir)/api/class-update.json
|
||||
api_files += $(srcdir)/api/config-backend-pull.json
|
||||
api_files += $(srcdir)/api/config-get.json
|
||||
api_files += $(srcdir)/api/config-reload.json
|
||||
api_files += $(srcdir)/api/config-set.json
|
||||
api_files += $(srcdir)/api/config-test.json
|
||||
api_files += $(srcdir)/api/config-write.json
|
||||
api_files += $(srcdir)/api/dhcp-disable.json
|
||||
api_files += $(srcdir)/api/dhcp-enable.json
|
||||
api_files += $(srcdir)/api/ha-continue.json
|
||||
api_files += $(srcdir)/api/ha-heartbeat.json
|
||||
api_files += $(srcdir)/api/ha-maintenance-cancel.json
|
||||
api_files += $(srcdir)/api/ha-maintenance-notify.json
|
||||
api_files += $(srcdir)/api/ha-maintenance-start.json
|
||||
api_files += $(srcdir)/api/ha-scopes.json
|
||||
api_files += $(srcdir)/api/ha-sync.json
|
||||
api_files += $(srcdir)/api/lease4-add.json
|
||||
api_files += $(srcdir)/api/lease4-del.json
|
||||
api_files += $(srcdir)/api/lease4-get-all.json
|
||||
api_files += $(srcdir)/api/lease4-get-by-client-id.json
|
||||
api_files += $(srcdir)/api/lease4-get-by-hostname.json
|
||||
api_files += $(srcdir)/api/lease4-get-by-hw-address.json
|
||||
api_files += $(srcdir)/api/lease4-get-page.json
|
||||
api_files += $(srcdir)/api/lease4-get.json
|
||||
api_files += $(srcdir)/api/lease4-resend-ddns.json
|
||||
api_files += $(srcdir)/api/lease4-update.json
|
||||
api_files += $(srcdir)/api/lease4-wipe.json
|
||||
api_files += $(srcdir)/api/lease6-add.json
|
||||
api_files += $(srcdir)/api/lease6-bulk-apply.json
|
||||
api_files += $(srcdir)/api/lease6-del.json
|
||||
api_files += $(srcdir)/api/lease6-get-all.json
|
||||
api_files += $(srcdir)/api/lease6-get-by-duid.json
|
||||
api_files += $(srcdir)/api/lease6-get-by-hostname.json
|
||||
api_files += $(srcdir)/api/lease6-get-page.json
|
||||
api_files += $(srcdir)/api/lease6-get.json
|
||||
api_files += $(srcdir)/api/lease6-resend-ddns.json
|
||||
api_files += $(srcdir)/api/lease6-update.json
|
||||
api_files += $(srcdir)/api/lease6-wipe.json
|
||||
api_files += $(srcdir)/api/leases-reclaim.json
|
||||
api_files += $(srcdir)/api/libreload.json
|
||||
api_files += $(srcdir)/api/list-commands.json
|
||||
api_files += $(srcdir)/api/network4-add.json
|
||||
api_files += $(srcdir)/api/network4-del.json
|
||||
api_files += $(srcdir)/api/network4-get.json
|
||||
api_files += $(srcdir)/api/network4-list.json
|
||||
api_files += $(srcdir)/api/network4-subnet-add.json
|
||||
api_files += $(srcdir)/api/network4-subnet-del.json
|
||||
api_files += $(srcdir)/api/network6-add.json
|
||||
api_files += $(srcdir)/api/network6-del.json
|
||||
api_files += $(srcdir)/api/network6-get.json
|
||||
api_files += $(srcdir)/api/network6-list.json
|
||||
api_files += $(srcdir)/api/network6-subnet-add.json
|
||||
api_files += $(srcdir)/api/network6-subnet-del.json
|
||||
api_files += $(srcdir)/api/remote-global-parameter4-del.json
|
||||
api_files += $(srcdir)/api/remote-global-parameter4-get-all.json
|
||||
api_files += $(srcdir)/api/remote-global-parameter4-get.json
|
||||
api_files += $(srcdir)/api/remote-global-parameter4-set.json
|
||||
api_files += $(srcdir)/api/remote-global-parameter6-del.json
|
||||
api_files += $(srcdir)/api/remote-global-parameter6-get-all.json
|
||||
api_files += $(srcdir)/api/remote-global-parameter6-get.json
|
||||
api_files += $(srcdir)/api/remote-global-parameter6-set.json
|
||||
api_files += $(srcdir)/api/remote-network4-del.json
|
||||
api_files += $(srcdir)/api/remote-network4-get.json
|
||||
api_files += $(srcdir)/api/remote-network4-list.json
|
||||
api_files += $(srcdir)/api/remote-network4-set.json
|
||||
api_files += $(srcdir)/api/remote-network6-del.json
|
||||
api_files += $(srcdir)/api/remote-network6-get.json
|
||||
api_files += $(srcdir)/api/remote-network6-list.json
|
||||
api_files += $(srcdir)/api/remote-network6-set.json
|
||||
api_files += $(srcdir)/api/remote-option-def4-del.json
|
||||
api_files += $(srcdir)/api/remote-option-def4-get-all.json
|
||||
api_files += $(srcdir)/api/remote-option-def4-get.json
|
||||
api_files += $(srcdir)/api/remote-option-def4-set.json
|
||||
api_files += $(srcdir)/api/remote-option-def6-del.json
|
||||
api_files += $(srcdir)/api/remote-option-def6-get-all.json
|
||||
api_files += $(srcdir)/api/remote-option-def6-get.json
|
||||
api_files += $(srcdir)/api/remote-option-def6-set.json
|
||||
api_files += $(srcdir)/api/remote-option4-global-del.json
|
||||
api_files += $(srcdir)/api/remote-option4-global-get-all.json
|
||||
api_files += $(srcdir)/api/remote-option4-global-get.json
|
||||
api_files += $(srcdir)/api/remote-option4-global-set.json
|
||||
api_files += $(srcdir)/api/remote-option4-network-del.json
|
||||
api_files += $(srcdir)/api/remote-option4-network-set.json
|
||||
api_files += $(srcdir)/api/remote-option4-pool-del.json
|
||||
api_files += $(srcdir)/api/remote-option4-pool-set.json
|
||||
api_files += $(srcdir)/api/remote-option4-subnet-del.json
|
||||
api_files += $(srcdir)/api/remote-option4-subnet-set.json
|
||||
api_files += $(srcdir)/api/remote-option6-global-del.json
|
||||
api_files += $(srcdir)/api/remote-option6-global-get-all.json
|
||||
api_files += $(srcdir)/api/remote-option6-global-get.json
|
||||
api_files += $(srcdir)/api/remote-option6-global-set.json
|
||||
api_files += $(srcdir)/api/remote-option6-network-del.json
|
||||
api_files += $(srcdir)/api/remote-option6-network-set.json
|
||||
api_files += $(srcdir)/api/remote-option6-pd-pool-del.json
|
||||
api_files += $(srcdir)/api/remote-option6-pd-pool-set.json
|
||||
api_files += $(srcdir)/api/remote-option6-pool-del.json
|
||||
api_files += $(srcdir)/api/remote-option6-pool-set.json
|
||||
api_files += $(srcdir)/api/remote-option6-subnet-del.json
|
||||
api_files += $(srcdir)/api/remote-option6-subnet-set.json
|
||||
api_files += $(srcdir)/api/remote-server4-del.json
|
||||
api_files += $(srcdir)/api/remote-server4-get-all.json
|
||||
api_files += $(srcdir)/api/remote-server4-get.json
|
||||
api_files += $(srcdir)/api/remote-server4-set.json
|
||||
api_files += $(srcdir)/api/remote-server6-del.json
|
||||
api_files += $(srcdir)/api/remote-server6-get-all.json
|
||||
api_files += $(srcdir)/api/remote-server6-get.json
|
||||
api_files += $(srcdir)/api/remote-server6-set.json
|
||||
api_files += $(srcdir)/api/remote-subnet4-del-by-id.json
|
||||
api_files += $(srcdir)/api/remote-subnet4-del-by-prefix.json
|
||||
api_files += $(srcdir)/api/remote-subnet4-get-by-id.json
|
||||
api_files += $(srcdir)/api/remote-subnet4-get-by-prefix.json
|
||||
api_files += $(srcdir)/api/remote-subnet4-list.json
|
||||
api_files += $(srcdir)/api/remote-subnet4-set.json
|
||||
api_files += $(srcdir)/api/remote-subnet6-del-by-id.json
|
||||
api_files += $(srcdir)/api/remote-subnet6-del-by-prefix.json
|
||||
api_files += $(srcdir)/api/remote-subnet6-get-by-id.json
|
||||
api_files += $(srcdir)/api/remote-subnet6-get-by-prefix.json
|
||||
api_files += $(srcdir)/api/remote-subnet6-list.json
|
||||
api_files += $(srcdir)/api/remote-subnet6-set.json
|
||||
api_files += $(srcdir)/api/reservation-add.json
|
||||
api_files += $(srcdir)/api/reservation-del.json
|
||||
api_files += $(srcdir)/api/reservation-get-all.json
|
||||
api_files += $(srcdir)/api/reservation-get-by-hostname.json
|
||||
api_files += $(srcdir)/api/reservation-get-page.json
|
||||
api_files += $(srcdir)/api/reservation-get.json
|
||||
api_files += $(srcdir)/api/server-tag-get.json
|
||||
api_files += $(srcdir)/api/shutdown.json
|
||||
api_files += $(srcdir)/api/stat-lease4-get.json
|
||||
api_files += $(srcdir)/api/stat-lease6-get.json
|
||||
api_files += $(srcdir)/api/statistic-get-all.json
|
||||
api_files += $(srcdir)/api/statistic-get.json
|
||||
api_files += $(srcdir)/api/statistic-remove-all.json
|
||||
api_files += $(srcdir)/api/statistic-remove.json
|
||||
api_files += $(srcdir)/api/statistic-reset-all.json
|
||||
api_files += $(srcdir)/api/statistic-reset.json
|
||||
api_files += $(srcdir)/api/statistic-sample-age-set-all.json
|
||||
api_files += $(srcdir)/api/statistic-sample-age-set.json
|
||||
api_files += $(srcdir)/api/statistic-sample-count-set-all.json
|
||||
api_files += $(srcdir)/api/statistic-sample-count-set.json
|
||||
api_files += $(srcdir)/api/status-get.json
|
||||
api_files += $(srcdir)/api/subnet4-add.json
|
||||
api_files += $(srcdir)/api/subnet4-del.json
|
||||
api_files += $(srcdir)/api/subnet4-get.json
|
||||
api_files += $(srcdir)/api/subnet4-list.json
|
||||
api_files += $(srcdir)/api/subnet4-update.json
|
||||
api_files += $(srcdir)/api/subnet6-add.json
|
||||
api_files += $(srcdir)/api/subnet6-del.json
|
||||
api_files += $(srcdir)/api/subnet6-get.json
|
||||
api_files += $(srcdir)/api/subnet6-list.json
|
||||
api_files += $(srcdir)/api/subnet6-update.json
|
||||
api_files += $(srcdir)/api/version-get.json
|
@@ -108,6 +108,17 @@ API Reference
|
||||
rst += '(:ref:`%s <commands-%s>` hook library)' % (func['hook'], func['hook']) if 'hook' in func else '(built-in)'
|
||||
rst += '\n\n'
|
||||
|
||||
# access
|
||||
try:
|
||||
access = func['access']
|
||||
except:
|
||||
print('\naccess missing in %s\n\n' % name)
|
||||
raise
|
||||
if not access in ['read', 'write']:
|
||||
print('\nUnknown access %s in %s\n\n' % (access, name))
|
||||
raise ValueError('access must be read or write')
|
||||
rst += 'Access: %s *(parameter ignored in this Kea version)* \n\n' % access
|
||||
|
||||
# description and examples
|
||||
rst += 'Description and examples: see :ref:`%s command <command-%s>`\n\n' % (name, name)
|
||||
|
||||
|
@@ -204,7 +204,7 @@ def run_generate_docs(_):
|
||||
import api2doc
|
||||
with open(os.path.join(src_dir, 'api-files.txt')) as af:
|
||||
api_files = af.read().split()
|
||||
api_files = [os.path.abspath(os.path.join(src_dir, af)) for af in api_files]
|
||||
api_files = [os.path.abspath(os.path.join(src_dir, '../..', af)) for af in api_files]
|
||||
api2doc.generate(api_files, os.path.join(src_dir, 'api.rst'))
|
||||
|
||||
import mes2doc
|
||||
|
@@ -1 +1 @@
|
||||
SUBDIRS = database yang
|
||||
SUBDIRS = api database yang
|
||||
|
17
src/share/api/Makefile.am
Normal file
17
src/share/api/Makefile.am
Normal file
@@ -0,0 +1,17 @@
|
||||
# list of api files
|
||||
api_files =
|
||||
include $(srcdir)/api_files.mk
|
||||
|
||||
EXTRA_DIST = api_files.mk
|
||||
EXTRA_DIST += README
|
||||
EXTRA_DIST += _template.json
|
||||
EXTRA_DIST += generate-templates
|
||||
EXTRA_DIST += cmds-list
|
||||
EXTRA_DIST += $(api_files)
|
||||
|
||||
install-data-local:
|
||||
mkdir -p $(DESTDIR)$(datarootdir)/${PACKAGE_NAME}/api
|
||||
cp $(api_files) $(DESTDIR)$(datarootdir)/${PACKAGE_NAME}/api
|
||||
|
||||
uninstall-local:
|
||||
rm -rf $(DESTDIR)$(datarootdir)/${PACKAGE_NAME}/api
|
@@ -30,6 +30,10 @@
|
||||
// a hook), remove the whole "hook" entry.
|
||||
"hook": "name of the hook that provides this command. remove if provided by the core code",
|
||||
|
||||
// This defines the read or write access. Default is write access
|
||||
// to not leave unrestricted access to a dangerous command by accident.
|
||||
"access": "write",
|
||||
|
||||
// This defines the syntax of the command.
|
||||
"cmd-syntax": [ "Syntax of the command" ],
|
||||
|
165
src/share/api/api_files.mk
Normal file
165
src/share/api/api_files.mk
Normal file
@@ -0,0 +1,165 @@
|
||||
api_files += $(top_srcdir)/src/share/api/build-report.json
|
||||
api_files += $(top_srcdir)/src/share/api/cache-clear.json
|
||||
api_files += $(top_srcdir)/src/share/api/cache-flush.json
|
||||
api_files += $(top_srcdir)/src/share/api/cache-get-by-id.json
|
||||
api_files += $(top_srcdir)/src/share/api/cache-get.json
|
||||
api_files += $(top_srcdir)/src/share/api/cache-insert.json
|
||||
api_files += $(top_srcdir)/src/share/api/cache-load.json
|
||||
api_files += $(top_srcdir)/src/share/api/cache-remove.json
|
||||
api_files += $(top_srcdir)/src/share/api/cache-size.json
|
||||
api_files += $(top_srcdir)/src/share/api/cache-write.json
|
||||
api_files += $(top_srcdir)/src/share/api/class-add.json
|
||||
api_files += $(top_srcdir)/src/share/api/class-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/class-get.json
|
||||
api_files += $(top_srcdir)/src/share/api/class-list.json
|
||||
api_files += $(top_srcdir)/src/share/api/class-update.json
|
||||
api_files += $(top_srcdir)/src/share/api/config-backend-pull.json
|
||||
api_files += $(top_srcdir)/src/share/api/config-get.json
|
||||
api_files += $(top_srcdir)/src/share/api/config-reload.json
|
||||
api_files += $(top_srcdir)/src/share/api/config-set.json
|
||||
api_files += $(top_srcdir)/src/share/api/config-test.json
|
||||
api_files += $(top_srcdir)/src/share/api/config-write.json
|
||||
api_files += $(top_srcdir)/src/share/api/dhcp-disable.json
|
||||
api_files += $(top_srcdir)/src/share/api/dhcp-enable.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
|
||||
api_files += $(top_srcdir)/src/share/api/ha-maintenance-notify.json
|
||||
api_files += $(top_srcdir)/src/share/api/ha-maintenance-start.json
|
||||
api_files += $(top_srcdir)/src/share/api/ha-scopes.json
|
||||
api_files += $(top_srcdir)/src/share/api/ha-sync.json
|
||||
api_files += $(top_srcdir)/src/share/api/lease4-add.json
|
||||
api_files += $(top_srcdir)/src/share/api/lease4-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/lease4-get-all.json
|
||||
api_files += $(top_srcdir)/src/share/api/lease4-get-by-client-id.json
|
||||
api_files += $(top_srcdir)/src/share/api/lease4-get-by-hostname.json
|
||||
api_files += $(top_srcdir)/src/share/api/lease4-get-by-hw-address.json
|
||||
api_files += $(top_srcdir)/src/share/api/lease4-get-page.json
|
||||
api_files += $(top_srcdir)/src/share/api/lease4-get.json
|
||||
api_files += $(top_srcdir)/src/share/api/lease4-resend-ddns.json
|
||||
api_files += $(top_srcdir)/src/share/api/lease4-update.json
|
||||
api_files += $(top_srcdir)/src/share/api/lease4-wipe.json
|
||||
api_files += $(top_srcdir)/src/share/api/lease6-add.json
|
||||
api_files += $(top_srcdir)/src/share/api/lease6-bulk-apply.json
|
||||
api_files += $(top_srcdir)/src/share/api/lease6-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/lease6-get-all.json
|
||||
api_files += $(top_srcdir)/src/share/api/lease6-get-by-duid.json
|
||||
api_files += $(top_srcdir)/src/share/api/lease6-get-by-hostname.json
|
||||
api_files += $(top_srcdir)/src/share/api/lease6-get-page.json
|
||||
api_files += $(top_srcdir)/src/share/api/lease6-get.json
|
||||
api_files += $(top_srcdir)/src/share/api/lease6-resend-ddns.json
|
||||
api_files += $(top_srcdir)/src/share/api/lease6-update.json
|
||||
api_files += $(top_srcdir)/src/share/api/lease6-wipe.json
|
||||
api_files += $(top_srcdir)/src/share/api/leases-reclaim.json
|
||||
api_files += $(top_srcdir)/src/share/api/libreload.json
|
||||
api_files += $(top_srcdir)/src/share/api/list-commands.json
|
||||
api_files += $(top_srcdir)/src/share/api/network4-add.json
|
||||
api_files += $(top_srcdir)/src/share/api/network4-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/network4-get.json
|
||||
api_files += $(top_srcdir)/src/share/api/network4-list.json
|
||||
api_files += $(top_srcdir)/src/share/api/network4-subnet-add.json
|
||||
api_files += $(top_srcdir)/src/share/api/network4-subnet-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/network6-add.json
|
||||
api_files += $(top_srcdir)/src/share/api/network6-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/network6-get.json
|
||||
api_files += $(top_srcdir)/src/share/api/network6-list.json
|
||||
api_files += $(top_srcdir)/src/share/api/network6-subnet-add.json
|
||||
api_files += $(top_srcdir)/src/share/api/network6-subnet-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-global-parameter4-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-global-parameter4-get-all.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-global-parameter4-get.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-global-parameter4-set.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-global-parameter6-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-global-parameter6-get-all.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-global-parameter6-get.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-global-parameter6-set.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-network4-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-network4-get.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-network4-list.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-network4-set.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-network6-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-network6-get.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-network6-list.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-network6-set.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option-def4-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option-def4-get-all.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option-def4-get.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option-def4-set.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option-def6-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option-def6-get-all.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option-def6-get.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option-def6-set.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option4-global-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option4-global-get-all.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option4-global-get.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option4-global-set.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option4-network-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option4-network-set.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option4-pool-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option4-pool-set.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option4-subnet-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option4-subnet-set.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option6-global-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option6-global-get-all.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option6-global-get.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option6-global-set.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option6-network-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option6-network-set.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option6-pd-pool-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option6-pd-pool-set.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option6-pool-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option6-pool-set.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option6-subnet-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-option6-subnet-set.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-server4-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-server4-get-all.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-server4-get.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-server4-set.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-server6-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-server6-get-all.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-server6-get.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-server6-set.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-subnet4-del-by-id.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-subnet4-del-by-prefix.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-subnet4-get-by-id.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-subnet4-get-by-prefix.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-subnet4-list.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-subnet4-set.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-subnet6-del-by-id.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-subnet6-del-by-prefix.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-subnet6-get-by-id.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-subnet6-get-by-prefix.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-subnet6-list.json
|
||||
api_files += $(top_srcdir)/src/share/api/remote-subnet6-set.json
|
||||
api_files += $(top_srcdir)/src/share/api/reservation-add.json
|
||||
api_files += $(top_srcdir)/src/share/api/reservation-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/reservation-get-all.json
|
||||
api_files += $(top_srcdir)/src/share/api/reservation-get-by-hostname.json
|
||||
api_files += $(top_srcdir)/src/share/api/reservation-get-page.json
|
||||
api_files += $(top_srcdir)/src/share/api/reservation-get.json
|
||||
api_files += $(top_srcdir)/src/share/api/server-tag-get.json
|
||||
api_files += $(top_srcdir)/src/share/api/shutdown.json
|
||||
api_files += $(top_srcdir)/src/share/api/stat-lease4-get.json
|
||||
api_files += $(top_srcdir)/src/share/api/stat-lease6-get.json
|
||||
api_files += $(top_srcdir)/src/share/api/statistic-get-all.json
|
||||
api_files += $(top_srcdir)/src/share/api/statistic-get.json
|
||||
api_files += $(top_srcdir)/src/share/api/statistic-remove-all.json
|
||||
api_files += $(top_srcdir)/src/share/api/statistic-remove.json
|
||||
api_files += $(top_srcdir)/src/share/api/statistic-reset-all.json
|
||||
api_files += $(top_srcdir)/src/share/api/statistic-reset.json
|
||||
api_files += $(top_srcdir)/src/share/api/statistic-sample-age-set-all.json
|
||||
api_files += $(top_srcdir)/src/share/api/statistic-sample-age-set.json
|
||||
api_files += $(top_srcdir)/src/share/api/statistic-sample-count-set-all.json
|
||||
api_files += $(top_srcdir)/src/share/api/statistic-sample-count-set.json
|
||||
api_files += $(top_srcdir)/src/share/api/status-get.json
|
||||
api_files += $(top_srcdir)/src/share/api/subnet4-add.json
|
||||
api_files += $(top_srcdir)/src/share/api/subnet4-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/subnet4-get.json
|
||||
api_files += $(top_srcdir)/src/share/api/subnet4-list.json
|
||||
api_files += $(top_srcdir)/src/share/api/subnet4-update.json
|
||||
api_files += $(top_srcdir)/src/share/api/subnet6-add.json
|
||||
api_files += $(top_srcdir)/src/share/api/subnet6-del.json
|
||||
api_files += $(top_srcdir)/src/share/api/subnet6-get.json
|
||||
api_files += $(top_srcdir)/src/share/api/subnet6-list.json
|
||||
api_files += $(top_srcdir)/src/share/api/subnet6-update.json
|
||||
api_files += $(top_srcdir)/src/share/api/version-get.json
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.2.0",
|
||||
"brief": [
|
||||
"This command returns the list of compilation options that this particular binary was built with."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.4.0",
|
||||
"brief": [
|
||||
"This command removes all cached host reservations."
|
||||
@@ -9,4 +10,4 @@
|
||||
"kea-dhcp4",
|
||||
"kea-dhcp6"
|
||||
]
|
||||
}
|
||||
}
|
19
src/share/api/cache-flush.json
Normal file
19
src/share/api/cache-flush.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.4.0",
|
||||
"brief": [
|
||||
"This command removes up to the given number or all cached host reservations."
|
||||
],
|
||||
"cmd-syntax": [
|
||||
"{",
|
||||
" \"command\": \"cache-flush\",",
|
||||
" \"arguments\": 5",
|
||||
"}"
|
||||
],
|
||||
"hook": "host_cache",
|
||||
"name": "cache-flush",
|
||||
"support": [
|
||||
"kea-dhcp4",
|
||||
"kea-dhcp6"
|
||||
]
|
||||
}
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.6.0",
|
||||
"brief": [
|
||||
"This command returns entries matching the given identifier from the host cache."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.4.0",
|
||||
"brief": [
|
||||
"This command returns the full content of the host cache."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.4.0",
|
||||
"brief": [
|
||||
"This command inserts a host into the cache."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.4.0",
|
||||
"brief": [
|
||||
"This command allows the contents of a file on disk to be loaded into an in-memory cache."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.4.0",
|
||||
"brief": [
|
||||
"This command removes entries from the host cache. It takes parameters similar to the ``reservation-get`` command."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.6.0",
|
||||
"brief": [
|
||||
"This command returns the number of entries in the host cache."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.4.0",
|
||||
"brief": [
|
||||
"This command instructs Kea to write its host cache content to disk."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.5.0",
|
||||
"brief": [
|
||||
"This command adds a new class to the existing server configuration."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.5.0",
|
||||
"brief": [
|
||||
"This command removes a client class from the server configuration."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.5.0",
|
||||
"brief": [
|
||||
"This command returns detailed information about an existing client class."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.5.0",
|
||||
"brief": [
|
||||
"This command retrieves a list of all client classes from the server configuration."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.5.0",
|
||||
"brief": [
|
||||
"This command updates an existing client class in the server configuration."
|
@@ -1,5 +1,6 @@
|
||||
build-report
|
||||
cache-clear
|
||||
cache-flush
|
||||
cache-get
|
||||
cache-get-by-id
|
||||
cache-insert
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.7.1",
|
||||
"brief": [
|
||||
"This command forces an immediate update of the server using Config Backends.",
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.2.0",
|
||||
"brief": [
|
||||
"This command retrieves the current configuration used by the server. The configuration is essentially the same as the contents of the configuration file, but includes additional changes made by other commands and due to parameters' inheritance."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.2.0",
|
||||
"brief": [
|
||||
"This command instructs Kea to reload the configuration file that was used previously."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.2.0",
|
||||
"brief": [
|
||||
"This command instructs the server to replace its current configuration with the new configuration supplied in the command's arguments."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.2.0",
|
||||
"brief": [
|
||||
"This command instructs the server to check whether the new configuration supplied in the command's arguments can be loaded."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.2.0",
|
||||
"brief": [
|
||||
"This command instructs the Kea server to write its",
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.4.0",
|
||||
"brief": [
|
||||
"This command globally disables the DHCP service."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.4.0",
|
||||
"brief": [
|
||||
"This command globally enables the DHCP service."
|
@@ -33,6 +33,7 @@ while read -r CMD; do
|
||||
echo " \"support\": [ \"undocumented\" ]," >> "$F"
|
||||
echo " \"avail\": \"0.0.0\"," >> "$F"
|
||||
echo " \"hook\": \"undocumented\"," >> "$F"
|
||||
echo " \"access\": \"write\"," >> $F
|
||||
|
||||
echo " \"cmd-syntax\": [ \"Syntax of the command\" ]," >> "$F"
|
||||
echo " \"cmd-comment\": [ \"Possibly some extra comments after the syntax.\" ]," >> "$F"
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.4.0",
|
||||
"brief": [
|
||||
"This command resumes the operation of a paused HA state machine."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.4.0",
|
||||
"brief": [
|
||||
"This command is sent internally by a Kea partner when operating in High Availability (HA) mode or by the system administrator to verify the state of the servers with regards to the High Availability. It retrieves the server's HA state and clock value."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.7.4",
|
||||
"brief": [
|
||||
"This command is sent to instruct a server in the partner-in-maintenance",
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.7.4",
|
||||
"brief": [
|
||||
"This command is sent by the server receiving the ha-maintenance-start",
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.7.4",
|
||||
"brief": [
|
||||
"This command is sent to instruct one of the servers to transition",
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.4.0",
|
||||
"brief": [
|
||||
"This command modifies the scope that the server is responsible for serving when operating in High Availability (HA) mode."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.4.0",
|
||||
"brief": [
|
||||
"This command instructs the server running in HA mode to synchronize its local lease database with the selected peer."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.3.0",
|
||||
"brief": [
|
||||
"This command administratively adds a new IPv4 lease."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.3.0",
|
||||
"brief": [
|
||||
"This command deletes a lease from the lease database."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.4.0",
|
||||
"brief": [
|
||||
"This command retrieves all IPv4 leases or all leases for the specified set of subnets."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.7.1",
|
||||
"brief": [
|
||||
"This command retrieves all IPv4 leases with the specified client id."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.7.1",
|
||||
"brief": [
|
||||
"This command retrieves all IPv4 leases with the specified hostname."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.7.1",
|
||||
"brief": [
|
||||
"This command retrieves all IPv4 leases with the specified hardware address."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.5.0",
|
||||
"brief": [
|
||||
"This command retrieves all IPv4 leases by page."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.3.0",
|
||||
"brief": [
|
||||
"This command queries the lease database and retrieves existing leases."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.7.6",
|
||||
"brief": [
|
||||
"This command resends a request to kea-dhcp-ddns to update DNS for an existing lease."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.3.0",
|
||||
"brief": [
|
||||
"This command updates existing leases."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.3.0",
|
||||
"brief": [
|
||||
"This command removes all leases associated with a given subnet."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.3.0",
|
||||
"brief": [
|
||||
"This command administratively creates a new lease."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.6.0",
|
||||
"brief": [
|
||||
"This command creates, updates, or deletes multiple IPv6 leases in a single transaction. It communicates lease changes between HA peers, but may be used in all cases where it is desirable to apply multiple lease updates in a single transaction."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.3.0",
|
||||
"brief": [
|
||||
"This command deletes a lease from the lease database."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.3.0",
|
||||
"brief": [
|
||||
"This command retrieves all IPv6 leases or all leases for the specified set of subnets."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.7.1",
|
||||
"brief": [
|
||||
"This command retrieves all IPv6 leases with the specified hardware address."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.7.1",
|
||||
"brief": [
|
||||
"This command retrieves all IPv6 leases with the specified hostname."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.5.0",
|
||||
"brief": [
|
||||
"This command retrieves all IPv6 leases by page."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.3.0",
|
||||
"brief": [
|
||||
"This command queries the lease database and retrieves existing leases."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.7.6",
|
||||
"brief": [
|
||||
"This command resends a request to kea-dhcp-ddns to update DNS for an existing lease."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.3.0",
|
||||
"brief": [
|
||||
"This command updates existing leases."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.3.0",
|
||||
"brief": [
|
||||
"This command removes all leases associated with a given subnet."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.0.0",
|
||||
"brief": [
|
||||
"This command instructs the server to reclaim all expired leases immediately."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.2.0",
|
||||
"brief": [
|
||||
"This command first unloads and then reloads all currently loaded hooks libraries."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.0.0",
|
||||
"brief": [
|
||||
"This command retrieves a list of all commands supported by the server."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.3.0",
|
||||
"brief": [
|
||||
"This command adds a new shared network."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.3.0",
|
||||
"brief": [
|
||||
"This command deletes existing shared networks."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.3.0",
|
||||
"brief": [
|
||||
"This command retrieves detailed information about shared networks, including subnets that are currently part of a given network."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.3.0",
|
||||
"brief": [
|
||||
"This command retrieves the full list of currently configured shared networks."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.3.0",
|
||||
"brief": [
|
||||
"This command adds existing subnets to existing shared networks."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.3.0",
|
||||
"brief": [
|
||||
"This command removes a subnet that is part of an existing shared network and demotes it to a plain, stand-alone subnet."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.3.0",
|
||||
"brief": [
|
||||
"This command adds a new shared network."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.3.0",
|
||||
"brief": [
|
||||
"This command deletes existing shared networks."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.3.0",
|
||||
"brief": [
|
||||
"The network6-get command retrieves detailed information about shared networks, including subnets that are currently part of a given network."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.3.0",
|
||||
"brief": [
|
||||
"This command retrieves the full list of currently configured shared networks."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.3.0",
|
||||
"brief": [
|
||||
"This command adds existing subnets to existing shared networks."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.3.0",
|
||||
"brief": [
|
||||
"This command removes a subnet that is part of an existing shared network and demotes it to a plain, stand-alone subnet."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.6.0",
|
||||
"brief": [
|
||||
"This command deletes a global DHCPv4 parameter from the configuration database. The server uses the value specified in the configuration file, or a default value if the parameter is not specified, after deleting the parameter from the database."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.6.0",
|
||||
"brief": [
|
||||
"This command fetches all global parameters for the server from the specified database."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.6.0",
|
||||
"brief": [
|
||||
"This command fetches the selected global parameter for the server from the specified database."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.6.0",
|
||||
"brief": [
|
||||
"This command creates or updates one or more global parameters in the configuration database."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.6.0",
|
||||
"brief": [
|
||||
"This command deletes a global DHCPv6 parameter from the configuration database. The server uses the value specified in the configuration file, or a default value if the parameter is not specified in the configuration file, after deleting the parameter from the database."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.6.0",
|
||||
"brief": [
|
||||
"This command fetches all global parameters for the server from the specified database."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.6.0",
|
||||
"brief": [
|
||||
"This command fetches the selected global parameter for the server from the specified database."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.6.0",
|
||||
"brief": [
|
||||
"This command creates or updates one or more global parameters in the configuration database."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.6.0",
|
||||
"brief": [
|
||||
"This command deletes an IPv4 shared network from the configuration database."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.6.0",
|
||||
"brief": [
|
||||
"This command fetches the selected IPv4 shared network for the server from the specified database."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.6.0",
|
||||
"brief": [
|
||||
"This command fetches a list of all IPv4 shared networks from the configuration database."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.6.0",
|
||||
"brief": [
|
||||
"This command creates or replaces an IPv4 shared network in the configuration database."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.6.0",
|
||||
"brief": [
|
||||
"This command deletes an IPv6 shared network from the configuration database."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.6.0",
|
||||
"brief": [
|
||||
"This command fetches the selected IPv6 shared network for the server from the specified database."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.6.0",
|
||||
"brief": [
|
||||
"This command fetches a list of all IPv6 shared networks from the configuration database."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.6.0",
|
||||
"brief": [
|
||||
"This command creates or replaces an IPv6 shared network in the configuration database."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.6.0",
|
||||
"brief": [
|
||||
"This command deletes a DHCPv4 option definition from the configuration database."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.6.0",
|
||||
"brief": [
|
||||
"This command fetches all DHCPv4 option definitions from the configuration database."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "read",
|
||||
"avail": "1.6.0",
|
||||
"brief": [
|
||||
"This command fetches a DHCPv4 option definition from the configuration database."
|
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"access": "write",
|
||||
"avail": "1.6.0",
|
||||
"brief": [
|
||||
"This command creates or replaces a DHCPv4 option definition in the configuration database."
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user