From: Suzanne Goldlust Date: Wed, 3 Oct 2018 18:33:52 +0000 (-0400) Subject: Add new file X-Git-Tag: 176-update-to-sysrepo-0-7-6-release_base~159 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd280c641685f56bf4c38379a680c2efead21b23;p=thirdparty%2Fkea.git Add new file --- diff --git a/doc/api/cache-insert.json b/doc/api/cache-insert.json new file mode 100644 index 0000000000..3daa0cd840 --- /dev/null +++ b/doc/api/cache-insert.json @@ -0,0 +1,45 @@ +{ + "name": "cache-insert", + "brief": "This command may be used to manually insert a host into the cache.", + "description": "See ", + "support": [ "kea-dhcp4", "kea-dhcp6" ], + "avail": "1.4.0", + "hook": "host_cache", + "cmd-syntax": "{ + \"command\": \"cache-insert\", + \"arguments\": { + \"hw-address\": \"01:02:03:04:05:06\", + \"subnet-id4\": 4, + \"subnet-id6\": 0, + \"ip-address\": \"192.0.2.100\", + \"hostname\": \"somehost.example.org\", + \"client-classes4\": [ ], + \"client-classes6\": [ ], + \"option-data4\": [ ], + \"option-data6\": [ ], + \"next-server\": "192.0.0.2", + \"server-hostname\": \"server-hostname.example.org\", + \"boot-file-name\": \"bootfile.efi\", + \"host-id\": 0 + } +}, +{ + \"command\": \"cache-insert\", + \"arguments\": { + \"hw-address\": \"01:02:03:04:05:06\", + \"subnet-id4\": 0, + \"subnet-id6\": 6, + \"ip-addresses\": [ \"2001:db8::cafe:babe\" ], + \"prefixes\": [ \"2001:db8:dead:beef::/64\" ], + \"hostname\": \"\", + \"client-classes4\": [ ], + \"client-classes6\": [ ], + \"option-data4\": [ ], + \"option-data6\": [ ], + \"next-server\": "0.0.0.0", + \"server-hostname\": \"\", + \"boot-file-name\": \"\", + \"host-id\": 0 + } +}", +} \ No newline at end of file