{ # class declaration config # options "Dhcp4": { "option-def": [ { "space": "dhcp4", "name": "mysystem", "code": 250, "type": "string" }, { "space": "dhcp4", "name": "myversion", "code": 251, "type": "uint16" } ], "client-classes": [ # class declaration { "name": "foobar", /// from: match if (option dhcp.mysystem) = 'version1' "test": "option[250].hex == 'version1'", "option-data": [ { "space": "dhcp4", "name": "myversion", "code": 251, "data": "1" } ] } ] } } |