diff options
author | Thomas Markwalder <tmark@isc.org> | 2019-11-22 13:39:45 -0500 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2019-11-22 13:39:45 -0500 |
commit | 0cd94b5ef4a078097fc2bd1dc72f5e80c2cf1844 (patch) | |
tree | e4dfe9a92d676a49b18ab547d781fb3fb10c8e6a /keama/tests/subclassguard6.in6 | |
parent | 97c155273c0df0c8518f226e2b5e338e3ad63e87 (diff) | |
download | isc-dhcp-0cd94b5ef4a078097fc2bd1dc72f5e80c2cf1844.tar.gz |
[#64,!35] Restored work
Restored cummulative work.
Diffstat (limited to 'keama/tests/subclassguard6.in6')
-rw-r--r-- | keama/tests/subclassguard6.in6 | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/keama/tests/subclassguard6.in6 b/keama/tests/subclassguard6.in6 new file mode 100644 index 00000000..5c2119a6 --- /dev/null +++ b/keama/tests/subclassguard6.in6 @@ -0,0 +1,24 @@ +# subclass with guard declaration config + +# options +option dhcp6.mysystem code 1250 = text; +option dhcp6.myversion code 1251 = unsigned integer 16; +option dhcp6.mydescr code 1252 = text; + +# superclass declaration +class "foobar" { + match if option dhcp6.myversion = 0:1; + match option dhcp6.mysystem; +} + +# simple subclass declaration +subclass "foobar" "system1"; + +# option setting subclass declaration +subclass "foobar" "system2" { option dhcp6.mydescr "1.2"; } + +# complex subclass declaration +subclass "foobar" "system3" { + option dhcp6.mydescr "1.3"; + option dhcp6.rapid-commit; +} |