summaryrefslogtreecommitdiff
path: root/keama/tests/sharepools4.out
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2019-11-22 13:39:45 -0500
committerThomas Markwalder <tmark@isc.org>2019-11-22 13:39:45 -0500
commit0cd94b5ef4a078097fc2bd1dc72f5e80c2cf1844 (patch)
treee4dfe9a92d676a49b18ab547d781fb3fb10c8e6a /keama/tests/sharepools4.out
parent97c155273c0df0c8518f226e2b5e338e3ad63e87 (diff)
downloadisc-dhcp-0cd94b5ef4a078097fc2bd1dc72f5e80c2cf1844.tar.gz
[#64,!35] Restored work
Restored cummulative work.
Diffstat (limited to 'keama/tests/sharepools4.out')
-rw-r--r--keama/tests/sharepools4.out63
1 files changed, 63 insertions, 0 deletions
diff --git a/keama/tests/sharepools4.out b/keama/tests/sharepools4.out
new file mode 100644
index 00000000..087ec5c8
--- /dev/null
+++ b/keama/tests/sharepools4.out
@@ -0,0 +1,63 @@
+{
+ # DHCPv4 two pools and subnets shared-network declaration config
+ # shared-network declaration
+ "Dhcp4": {
+ "interfaces-config": {
+ "interfaces": [
+ "en0"
+ ]
+ },
+ /// Kea shared-networks are different, cf Kea #236
+ "shared-networks": [
+ {
+ "name": "foobar",
+ "subnet4": [
+ # subnet declaration
+ {
+ "id": 1,
+ "subnet": "10.5.5.0/27",
+ "valid-lifetime": 3600,
+ "option-data": [
+ # another option
+ {
+ "space": "dhcp4",
+ "name": "ip-forwarding",
+ "code": 19,
+ "data": "true"
+ }
+ ],
+ "pools": [
+ # pools at shared-network level
+ {
+ "pool": "10.5.5.5 - 10.5.5.10"
+ }
+ ]
+ },
+ # second subnet declaration
+ {
+ "id": 2,
+ "subnet": "10.10.10.0/27",
+ "pools": [
+ {
+ "pool": "10.10.10.5 - 10.10.10.10"
+ }
+ ]
+ }
+ ],
+ "interface": "en0",
+ "option-data": [
+ # interface
+ # option
+ {
+ "space": "dhcp4",
+ "name": "domain-search",
+ "code": 119,
+// "original-data": "\"example.com\", \"example.org\"",
+ "data": "example.com, example.org"
+ }
+ ],
+ "valid-lifetime": 1800
+ }
+ ]
+ }
+}