BIND 10 #3292: Bindctl incapable to configure boolean options on Kea4
BIND 10 Development
do-not-reply at isc.org
Thu Jan 16 16:30:22 UTC 2014
#3292: Bindctl incapable to configure boolean options on Kea4
-------------------------------------+-------------------------------------
Reporter: | Owner:
wlodekwencel | Status: new
Type: | Milestone: DHCP-QA
defect | Defects
Priority: | Keywords:
medium | Sensitive: 0
Component: bind- | Sub-Project: DHCP
ctl | Estimated Difficulty: 0
CVSS Scoring: | Total Hours: 0
Defect Severity: N/A |
Feature Depending on Ticket: |
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
I'm unable to set any boolean option for Kea4 listed here
http://bind10.isc.org/docs/bind10-guide.html#dhcp4-std-options-list
After using:
{{{
config set Dhcp4/option-data []
config add Dhcp4/option-data
config set Dhcp4/option-data[0]/name "ip-forwarding"
config set Dhcp4/option-data[0]/code 19
config set Dhcp4/option-data[0]/space "dhcp4"
config set Dhcp4/option-data[0]/csv-format true
config set Dhcp4/option-data[0]/data "true"
config commit
}}}
Got error:
{{{
Error: Configuration parsing failed: option data does not match option
definition (space: dhcp4, code: 19): unable to do lexical cast to boolean
data type for value true: bad lexical cast: source type value could not be
interpreted as target
}}}
Below are listed variations of line '''config set Dhcp4/option-
data[0]/data "true"''' and received error types:
Used:
{{{
config set Dhcp4/option-data[0]/data "True"
}}}
Got error:
{{{
Error: Configuration parsing failed: option data does not match option
definition (space: dhcp4, code: 19): unable to do lexical cast to boolean
data type for value true: bad lexical cast: source type value could not be
interpreted as target
}}}
Used:
{{{
config set Dhcp4/option-data[0]/data True
}}}
Got error:
{{{
Error: Configuration parsing failed: option data does not match option
definition (space: dhcp4, code: 19): unable to do lexical cast to boolean
data type for value true: bad lexical cast: source type value could not be
interpreted as target
}}}
Used
{{{
config set Dhcp4/option-data[0]/data true
}}}
Got error:
{{{
Error! True is not a string
}}}
Finally configuration passed with:
{{{
config set Dhcp4/option-data []
config add Dhcp4/option-data
config set Dhcp4/option-data[0]/name "ip-forwarding"
config set Dhcp4/option-data[0]/code 19
config set Dhcp4/option-data[0]/space "dhcp4"
config set Dhcp4/option-data[0]/csv-format false
config set Dhcp4/option-data[0]/data "00"
config commit
}}}
--
Ticket URL: <http://bind10.isc.org/ticket/3292>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list