Added three new API commands: subnet4-select-test and
subnet4o6-select-test to kea-dhcp4, and subnet6-select-test
to kea-dhcp6. These commands can be used to check which
- subnet the server will select based on given input paramters.
+ subnet the server will select based on given input parameters.
(Gitlab #2794)
2290. [bug] razvan
+++ /dev/null
-[func] fdupont
- Added new commands to simulate a subnet selection:
- "localize4" and "localize4o6" for kea-dhcp4, and
- "localize6" for kea-dhcp6.
- (Gitlab #2974)
- ``classes`` - (list of strings) client classes (allowing to select a guarded subnet)
According to the code only ``remote``, ``interface-id`` and ``interface``
-selectors are used. In DHCPv4-over-DHCPv6 implementation ``interface` and
+selectors are used. In DHCPv4-over-DHCPv6 implementation ``interface`` and
``remote`` values are transmitted from the DHCPv6 server, ``interface-id``
and ``link`` are carried in the relay info part of the DHCPv6 packet so
are the same as for the DHCPv6 server.
/// @return status of the command with the selection result
isc::data::ConstElementPtr
commandSubnet4o6SelectTestHandler(const std::string& command,
- isc::data::ConstElementPtr args);
+ isc::data::ConstElementPtr args);
/// @brief handler for server-tag-get command
///