]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[4318] Address review comments.
authorMarcin Siodelski <marcin@isc.org>
Thu, 2 Jun 2016 16:29:30 +0000 (18:29 +0200)
committerMarcin Siodelski <marcin@isc.org>
Thu, 2 Jun 2016 16:29:30 +0000 (18:29 +0200)
Better description of the DORA unit test configuration.

src/bin/dhcp4/tests/dora_unittest.cc

index f8e980d281ec415dc20f83ba4010567987563a2f..644c6d4510b957f6f8fd98f60247ec7f30734e54 100644 (file)
@@ -59,12 +59,18 @@ namespace {
 ///     uses HW address for lease lookup, rather than client id
 ///
 /// - Configuration 4:
-///   - The same as configuration 2, but using different values in
-///     'host-reservation-identifiers'
+///   - Used for testing host reservations where circuit-id takes precedence
+///     over hw-address, and the hw-address takes precedence over duid.
+///   - 1 subnet: 10.0.0.0/24
+///   - 3 reservations for this subnet:
+///     - IP address 10.0.0.7 for HW address aa:bb:cc:dd:ee:ff
+///     - IP address 10.0.0.8 for DUID 01:02:03:04:05
+///     - IP address 10.0.0.9 for circuit-id 'charter950'
 ///
 /// - Configuration 5:
-///   - The same as configuration 4, but using different values in
-///     'host-reservation-identifiers'
+///   - The same as configuration 4, but using the following order of
+///     host-reservation-identifiers: duid, circuit-id, hw-address.
+///
 const char* DORA_CONFIGS[] = {
 // Configuration 0
     "{ \"interfaces-config\": {"