summaryrefslogtreecommitdiffstats
path: root/doc/examples/kea4/all-keys-netconf.json
diff options
context:
space:
mode:
authorAndrei Pavel <andrei@isc.org>2022-11-24 18:03:44 +0100
committerAndrei Pavel <andrei@isc.org>2022-11-25 21:48:36 +0100
commitd67f8aca89f47ff45619e4e8bb192161e08e38c7 (patch)
treeeefac6be90b192a1bfec867a5a8155c7040eb70d /doc/examples/kea4/all-keys-netconf.json
parent[#2601] restore unnecessary changes in all-keys-netconf.json (diff)
downloadkea-d67f8aca89f47ff45619e4e8bb192161e08e38c7.tar.xz
kea-d67f8aca89f47ff45619e4e8bb192161e08e38c7.zip
[#2601] address review comments
* make all-keys.json loadable by Kea again * formatting * EXPECT_NO_THROW -> EXPECT_NO_THROW_LOG * add missing YANG tests for i64 and ui64 * memmove -> memcpy * fix doxygen comments * make checking of empty containers consistent when retrieving YANG data * remove unnecessary setting of v6 YANG nodes for v4 modules * fix hash of keatest-module.yang
Diffstat (limited to 'doc/examples/kea4/all-keys-netconf.json')
-rw-r--r--doc/examples/kea4/all-keys-netconf.json12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/examples/kea4/all-keys-netconf.json b/doc/examples/kea4/all-keys-netconf.json
index 732e057281..7e9b6b7b17 100644
--- a/doc/examples/kea4/all-keys-netconf.json
+++ b/doc/examples/kea4/all-keys-netconf.json
@@ -83,7 +83,6 @@
// class when the given expression evaluates to true.
"test": "member('HA_server2')"
},
-
{
// Third class name.
"name": "late",
@@ -96,10 +95,15 @@
"only-if-required": true,
// Class selection expression.
- "test": "member('ALL')",
+ "test": "member('ALL')"
+ },
+ {
+ // Fourth class name.
+ "name": "my-template-class",
- // Template class flag.
- "template-test": ""
+ // Template class flag that holds the expression used to generate the names for all
+ // the spawned subclasses. In this case, the classes are named after the client ID.
+ "template-test": "substring(option[1].hex, 0, all)"
}
],