when reservation-mode is changed via API then it is returned in config-get
After introduction of reserveraions-global
, reservations-in-subnet
and reservations-out-of-pool
field only these fields should be returned in config-get
. reservation-mode
should never be returned.
Forge tests:
tests/dhcpv4/kea_only/config_backend/test_reservations.py::test_reservation_mode_override_init[v4-None]
tests/dhcpv4/kea_only/config_backend/test_reservations.py::test_reservation_mode_override_init[v4-all]
tests/dhcpv4/kea_only/config_backend/test_reservations.py::test_reservation_mode_override_init[v4-out-of-pool]
tests/dhcpv4/kea_only/config_backend/test_reservations.py::test_reservation_mode_override_init[v4-global]
tests/dhcpv4/kea_only/config_backend/test_reservations.py::test_reservation_mode_override_init[v4-disabled]
tests/dhcpv4/kea_only/config_backend/test_reservations.py::test_reservation_mode_override_init[v6-None]
tests/dhcpv4/kea_only/config_backend/test_reservations.py::test_reservation_mode_override_init[v6-all]
tests/dhcpv4/kea_only/config_backend/test_reservations.py::test_reservation_mode_override_init[v6-out-of-pool]
tests/dhcpv4/kea_only/config_backend/test_reservations.py::test_reservation_mode_override_init[v6-global]
tests/dhcpv4/kea_only/config_backend/test_reservations.py::test_reservation_mode_override_init[v6-disabled]