diff options
Diffstat (limited to 'keama/tests/jt/kea.json')
-rw-r--r-- | keama/tests/jt/kea.json | 94 |
1 files changed, 0 insertions, 94 deletions
diff --git a/keama/tests/jt/kea.json b/keama/tests/jt/kea.json deleted file mode 100644 index cafa555e..00000000 --- a/keama/tests/jt/kea.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - /// This configuration declares some subnets but has no interfaces-config - /// Reference Kea #245 - "Dhcp4": { - "client-classes": [ - { - "name": "APPLE", - /// from: match if ((substring(hardware, 1, 3)) = 0xb019c6) or ((substring(hardware, 1, 3)) = 0xd8a25e) or ((substring(hardware, 1, 3)) = 0xb8c75d) or ((substring(hardware, 1, 3)) = 0x6c709f) or ((substring(hardware, 1, 3)) = 0x881fa1) - "test": "((((substring(pkt4.mac,0,3) == 0xb019c6) or (substring(pkt4.mac,0,3) == 0xd8a25e)) or (substring(pkt4.mac,0,3) == 0xb8c75d)) or (substring(pkt4.mac,0,3) == 0x6c709f)) or (substring(pkt4.mac,0,3) == 0x881fa1)" - }, - { - "name": "BELKIN", - /// from: match if ((substring(hardware, 1, 3)) = 0x6038e0) or ((substring(hardware, 1, 3)) = 0x58ef58) or ((substring(hardware, 1, 3)) = 0x58ef68) - "test": "((substring(pkt4.mac,0,3) == 0x6038e0) or (substring(pkt4.mac,0,3) == 0x58ef58)) or (substring(pkt4.mac,0,3) == 0x58ef68)" - }, - { - "name": "gen#APPLE#BELKIN#", - "test": "member('APPLE') or member('BELKIN')" - } - ], - "subnet4": [ - { - "id": 1, - "subnet": "192.168.1.0/24", - "option-data": [ - { - "space": "dhcp4", - "name": "domain-name-servers", - "code": 6, - "data": "8.8.8.8, 8.8.4.4" - }, - { - "space": "dhcp4", - "name": "routers", - "code": 3, - "data": "192.168.1.1" - }, - { - "space": "dhcp4", - "name": "broadcast-address", - "code": 28, - "data": "192.168.1.255" - } - ], - "valid-lifetime": 259200, - "max-valid-lifetime": 259200, - "pools": [ - { - "pool": "192.168.1.2 - 192.168.1.254", - /// From: - /// allow APPLE - /// allow BELKIN - "client-class": "gen#APPLE#BELKIN#" - } - ] - }, - { - "id": 2, - "subnet": "192.168.2.0/24", - "option-data": [ - { - "space": "dhcp4", - "name": "domain-name-servers", - "code": 6, - "data": "8.8.8.8, 8.8.4.4" - }, - { - "space": "dhcp4", - "name": "routers", - "code": 3, - "data": "192.168.2.1" - }, - { - "space": "dhcp4", - "name": "broadcast-address", - "code": 28, - "data": "192.168.2.255" - } - ], - "valid-lifetime": 259200, - "max-valid-lifetime": 259200, - "pools": [ - { - "pool": "192.168.2.2 - 192.168.2.254", - /// From: - /// allow APPLE - /// allow BELKIN - "client-class": "gen#APPLE#BELKIN#" - } - ] - } - ] - } -} |