]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[295-min-max-lease-time-configuration-options] Regen get_config_unittest.cc
authorFrancis Dupont <fdupont@isc.org>
Tue, 18 Jun 2019 19:32:17 +0000 (21:32 +0200)
committerFrancis Dupont <fdupont@isc.org>
Sat, 22 Jun 2019 14:05:24 +0000 (10:05 -0400)
src/bin/dhcp4/tests/get_config_unittest.cc
src/bin/dhcp6/tests/get_config_unittest.cc

index 409583a8f1228e12ab384ed9f4bc456265ce42c6..6c3ea5109ee9d0c2a026ad153382be25483da69a 100644 (file)
@@ -2336,8 +2336,6 @@ const char* UNPARSED_CONFIGS[] = {
 "            \"type\": \"memfile\"\n"
 "        },\n"
 "        \"match-client-id\": true,\n"
-"        \"max-valid-lifetime\": 5000,\n"
-"        \"min-valid-lifetime\": 3000,\n"
 "        \"next-server\": \"0.0.0.0\",\n"
 "        \"option-data\": [ ],\n"
 "        \"option-def\": [ ],\n"
@@ -2358,8 +2356,6 @@ const char* UNPARSED_CONFIGS[] = {
 "                \"calculate-tee-times\": false,\n"
 "                \"id\": 1,\n"
 "                \"match-client-id\": true,\n"
-"                \"max-valid-lifetime\": 5000,\n"
-"                \"min-valid-lifetime\": 3000,\n"
 "                \"next-server\": \"0.0.0.0\",\n"
 "                \"option-data\": [ ],\n"
 "                \"pools\": [\n"
@@ -2430,6 +2426,8 @@ const char* UNPARSED_CONFIGS[] = {
 "            \"type\": \"memfile\"\n"
 "        },\n"
 "        \"match-client-id\": true,\n"
+"        \"max-valid-lifetime\": 5000,\n"
+"        \"min-valid-lifetime\": 3000,\n"
 "        \"next-server\": \"0.0.0.0\",\n"
 "        \"option-data\": [ ],\n"
 "        \"option-def\": [ ],\n"
@@ -2451,6 +2449,8 @@ const char* UNPARSED_CONFIGS[] = {
 "                \"calculate-tee-times\": false,\n"
 "                \"id\": 1,\n"
 "                \"match-client-id\": true,\n"
+"                \"max-valid-lifetime\": 5000,\n"
+"                \"min-valid-lifetime\": 3000,\n"
 "                \"next-server\": \"0.0.0.0\",\n"
 "                \"option-data\": [ ],\n"
 "                \"pools\": [\n"
index 1420529705da3db96a475bfe0329c3bb296f3b0f..ee99fc44a9f56364005635f3adb128446ae7ceb5 100644 (file)
@@ -1967,10 +1967,6 @@ const char* UNPARSED_CONFIGS[] = {
 "            \"type\": \"memfile\"\n"
 "        },\n"
 "        \"mac-sources\": [ \"any\" ],\n"
-"        \"max-preferred-lifetime\": 4000,\n"
-"        \"max-valid-lifetime\": 5000,\n"
-"        \"min-preferred-lifetime\": 2000,\n"
-"        \"min-valid-lifetime\": 3000,\n"
 "        \"option-data\": [ ],\n"
 "        \"option-def\": [ ],\n"
 "        \"preferred-lifetime\": 3000,\n"
@@ -2039,6 +2035,10 @@ const char* UNPARSED_CONFIGS[] = {
 "            \"type\": \"memfile\"\n"
 "        },\n"
 "        \"mac-sources\": [ \"any\" ],\n"
+"        \"max-preferred-lifetime\": 4000,\n"
+"        \"max-valid-lifetime\": 5000,\n"
+"        \"min-preferred-lifetime\": 2000,\n"
+"        \"min-valid-lifetime\": 3000,\n"
 "        \"option-data\": [ ],\n"
 "        \"option-def\": [ ],\n"
 "        \"preferred-lifetime\": 3000,\n"