1{ 2 # on executable statement construct 3 # empty configs are not accepted by Kea 4 "Dhcp4": { 5 "valid-lifetime": 1800 6// # empty on statement 7// "statement": { 8// "on": { 9// "condition": "expiry" 10// } 11// } 12// # another one 13// "statement": { 14// "on": { 15// "condition": "commit or release", 16// "body": [ 17// { 18// "execute": { 19// "command": "myscript", 20// "arguments": [ 21// { 22// "packet": { 23// "offset": 5, 24// "length": 2 25// } 26// } 27// ] 28// } 29// } 30// ] 31// } 32// } 33 } 34} 35