There are two ways to reference options in forge code. By code and by name. All functions that work with options work with codes, but not all of them work with names. This MR enables all options that work with codes to also work with names so that we don't have to remember option codes. It does so by moving the conversion from name to code as low as possible in the call stack. Another problem it solves is the different ways in which the conversion is done. For example, sometimes an option code is checked if it's a number in string format with isdigit()
, other times it isn't.
Test run shows 49 test failures. The extra test is test_hook_v4_subnet_grow_cb_command[socket]
and it seems intermittent. https://jenkins.aws.isc.org/view/Kea-manual/job/kea-manual/job/tarball-system-tests/63/