Partially addresses https://gitlab.isc.org/isc-private/qa-dhcp/-/issues/232.
-
Change meta parametrization to enable bootp
value fordhcp_version
. Only functions that are decorated with@pytest.mark.bootp
will run with bootp.proto
can still be used to differentiate v4 and v6. While a change in the core of forge, this now allows to quickly enable most tests for BOOTP. -
Add BOOTP_REQUEST_and_BOOTP_REPLY
. -
Parametrize with hook order. -
srv_control.update_ha_hook_parameter()
instead ofworld.dhcp_cfg["hooks-libraries"][1].update(
because the order of hook libraries has changed. -
Parametrize test_bootp_basic_request_reply()
withbackend
.
All the tests pass. It seems there is no problem running BOOTP with HA.