{
# option definition config
# options
"Dhcp4": {
"option-def": [
{
"space": "foobar",
"name": "fmt-f",
"code": 1,
"type": "boolean"
},
{
"space": "foobar",
"name": "fmt-b-i8",
"code": 2,
"type": "int8"
},
{
"space": "foobar",
"name": "fmt-b-si8",
"code": 3,
"type": "int8"
},
{
"space": "foobar",
"name": "fmt-B-ui8",
"code": 4,
"type": "uint8"
},
{
"space": "foobar",
"name": "fmt-s-i16",
"code": 5,
"type": "int16"
},
{
"space": "foobar",
"name": "fmt-s-si16",
"code": 6,
"type": "int16"
},
{
"space": "foobar",
"name": "fmt-S-ui16",
"code": 7,
"type": "uint16"
},
{
"space": "foobar",
"name": "fmt-l-i32",
"code": 8,
"type": "int32"
},
{
"space": "foobar",
"name": "fmt-l-si32",
"code": 9,
"type": "int32"
},
{
"space": "foobar",
"name": "fmt-L-ui32",
"code": 10,
"type": "uint32"
},
{
"space": "foobar",
"name": "fmt-I",
"code": 11,
"type": "ipv4-address"
},
{
"space": "foobar",
"name": "fmt-6",
"code": 12,
"type": "ipv6-address"
},
{
"space": "foobar",
"name": "fmt-d",
"code": 13,
"type": "fqdn"
},
{
"space": "foobar",
"name": "fmt-D-list",
"code": 14,
"array": true,
"type": "fqdn"
},
{
"space": "foobar",
"name": "fmt-Dc",
"code": 15,
"array": true,
"type": "fqdn"
},
{
"space": "foobar",
"name": "fmt-t",
"code": 16,
"type": "string"
},
{
"space": "foobar",
"name": "fmt-X",
"code": 17,
"type": "string"
},
{
"space": "foobar",
"name": "fmt-Z",
"code": 18,
"type": "empty"
},
{
"space": "foobar",
"name": "fmt-Ba",
"code": 50,
"array": true,
"type": "uint8"
},
{
"space": "foobar",
"name": "fmt-fB",
"code": 100,
"record-types": "boolean, uint8",
"type": "record"
},
/// unsupported array inside a record
{
"space": "foobar",
"name": "fmt-Ia",
"code": 150,
// "array": true,
// "definition": "{ uint32, array of boolean}",
/// Option definition is not compatible with Kea
/// Fallback to full binary
"type": "binary"
}
]
}
}