|
@@ -195,7 +195,7 @@ public:
|
|
|
" \"encapsulate\": \"\""
|
|
|
"} ],"
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:1::/64\", "
|
|
|
" \"option-data\": [ {";
|
|
|
bool first = true;
|
|
@@ -537,7 +537,7 @@ TEST_F(Dhcp6ParserTest, subnetGlobalDefaults) {
|
|
|
"\"rebind-timer\": 2000, "
|
|
|
"\"renew-timer\": 1000, "
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::1 - 2001:db8:1::ffff\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::1 - 2001:db8:1::ffff\" } ],"
|
|
|
" \"subnet\": \"2001:db8:1::/64\" } ],"
|
|
|
"\"valid-lifetime\": 4000 }";
|
|
|
|
|
@@ -571,20 +571,20 @@ TEST_F(Dhcp6ParserTest, multipleSubnets) {
|
|
|
"\"rebind-timer\": 2000, "
|
|
|
"\"renew-timer\": 1000, "
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:1::/64\" "
|
|
|
" },"
|
|
|
" {"
|
|
|
- " \"pool\": [ \"2001:db8:2::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:2::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:2::/64\", "
|
|
|
" \"id\": 0"
|
|
|
" },"
|
|
|
" {"
|
|
|
- " \"pool\": [ \"2001:db8:3::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:3::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:3::/64\" "
|
|
|
" },"
|
|
|
" {"
|
|
|
- " \"pool\": [ \"2001:db8:4::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:4::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:4::/64\" "
|
|
|
" } ],"
|
|
|
"\"valid-lifetime\": 4000 }";
|
|
@@ -623,22 +623,22 @@ TEST_F(Dhcp6ParserTest, multipleSubnetsExplicitIDs) {
|
|
|
"\"rebind-timer\": 2000, "
|
|
|
"\"renew-timer\": 1000, "
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:1::/64\", "
|
|
|
" \"id\": 1024"
|
|
|
" },"
|
|
|
" {"
|
|
|
- " \"pool\": [ \"2001:db8:2::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:2::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:2::/64\", "
|
|
|
" \"id\": 100"
|
|
|
" },"
|
|
|
" {"
|
|
|
- " \"pool\": [ \"2001:db8:3::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:3::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:3::/64\", "
|
|
|
" \"id\": 1"
|
|
|
" },"
|
|
|
" {"
|
|
|
- " \"pool\": [ \"2001:db8:4::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:4::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:4::/64\", "
|
|
|
" \"id\": 34"
|
|
|
" } ],"
|
|
@@ -676,22 +676,22 @@ TEST_F(Dhcp6ParserTest, multipleSubnetsOverlapingIDs) {
|
|
|
"\"rebind-timer\": 2000, "
|
|
|
"\"renew-timer\": 1000, "
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:1::/64\", "
|
|
|
" \"id\": 1024"
|
|
|
" },"
|
|
|
" {"
|
|
|
- " \"pool\": [ \"2001:db8:2::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:2::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:2::/64\", "
|
|
|
" \"id\": 100"
|
|
|
" },"
|
|
|
" {"
|
|
|
- " \"pool\": [ \"2001:db8:3::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:3::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:3::/64\", "
|
|
|
" \"id\": 1024"
|
|
|
" },"
|
|
|
" {"
|
|
|
- " \"pool\": [ \"2001:db8:4::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:4::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:4::/64\", "
|
|
|
" \"id\": 34"
|
|
|
" } ],"
|
|
@@ -716,22 +716,22 @@ TEST_F(Dhcp6ParserTest, reconfigureRemoveSubnet) {
|
|
|
"\"rebind-timer\": 2000, "
|
|
|
"\"renew-timer\": 1000, "
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:1::/64\", "
|
|
|
" \"id\": 1"
|
|
|
" },"
|
|
|
" {"
|
|
|
- " \"pool\": [ \"2001:db8:2::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:2::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:2::/64\", "
|
|
|
" \"id\": 2"
|
|
|
" },"
|
|
|
" {"
|
|
|
- " \"pool\": [ \"2001:db8:3::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:3::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:3::/64\", "
|
|
|
" \"id\": 3"
|
|
|
" },"
|
|
|
" {"
|
|
|
- " \"pool\": [ \"2001:db8:4::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:4::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:4::/64\", "
|
|
|
" \"id\": 4"
|
|
|
" } ],"
|
|
@@ -743,17 +743,17 @@ TEST_F(Dhcp6ParserTest, reconfigureRemoveSubnet) {
|
|
|
"\"rebind-timer\": 2000, "
|
|
|
"\"renew-timer\": 1000, "
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:1::/64\", "
|
|
|
" \"id\": 1"
|
|
|
" },"
|
|
|
" {"
|
|
|
- " \"pool\": [ \"2001:db8:2::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:2::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:2::/64\", "
|
|
|
" \"id\": 2"
|
|
|
" },"
|
|
|
" {"
|
|
|
- " \"pool\": [ \"2001:db8:3::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:3::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:3::/64\", "
|
|
|
" \"id\": 3"
|
|
|
" } ],"
|
|
@@ -765,17 +765,17 @@ TEST_F(Dhcp6ParserTest, reconfigureRemoveSubnet) {
|
|
|
"\"rebind-timer\": 2000, "
|
|
|
"\"renew-timer\": 1000, "
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:1::/64\", "
|
|
|
" \"id\": 1"
|
|
|
" },"
|
|
|
" {"
|
|
|
- " \"pool\": [ \"2001:db8:3::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:3::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:3::/64\", "
|
|
|
" \"id\": 3"
|
|
|
" },"
|
|
|
" {"
|
|
|
- " \"pool\": [ \"2001:db8:4::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:4::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:4::/64\", "
|
|
|
" \"id\": 4"
|
|
|
" } ],"
|
|
@@ -840,7 +840,7 @@ TEST_F(Dhcp6ParserTest, subnetLocal) {
|
|
|
"\"rebind-timer\": 2000, "
|
|
|
"\"renew-timer\": 1000, "
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::1 - 2001:db8:1::ffff\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::1 - 2001:db8:1::ffff\" } ],"
|
|
|
" \"renew-timer\": 1, "
|
|
|
" \"rebind-timer\": 2, "
|
|
|
" \"preferred-lifetime\": 3,"
|
|
@@ -877,7 +877,7 @@ TEST_F(Dhcp6ParserTest, subnetInterface) {
|
|
|
"\"rebind-timer\": 2000, "
|
|
|
"\"renew-timer\": 1000, "
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::1 - 2001:db8:1::ffff\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::1 - 2001:db8:1::ffff\" } ],"
|
|
|
" \"interface\": \"" + valid_iface_ + "\","
|
|
|
" \"subnet\": \"2001:db8:1::/64\" } ],"
|
|
|
"\"valid-lifetime\": 4000 }";
|
|
@@ -909,7 +909,7 @@ TEST_F(Dhcp6ParserTest, subnetInterfaceBogus) {
|
|
|
"\"rebind-timer\": 2000, "
|
|
|
"\"renew-timer\": 1000, "
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::1 - 2001:db8:1::ffff\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::1 - 2001:db8:1::ffff\" } ],"
|
|
|
" \"interface\": \"" + bogus_iface_ + "\","
|
|
|
" \"subnet\": \"2001:db8:1::/64\" } ],"
|
|
|
"\"valid-lifetime\": 4000 }";
|
|
@@ -941,7 +941,7 @@ TEST_F(Dhcp6ParserTest, interfaceGlobal) {
|
|
|
"\"renew-timer\": 1000, "
|
|
|
"\"interface\": \"" + valid_iface_ + "\"," // Not valid. Can be defined in subnet only
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::1 - 2001:db8:1::ffff\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::1 - 2001:db8:1::ffff\" } ],"
|
|
|
" \"subnet\": \"2001:db8:1::/64\" } ],"
|
|
|
"\"valid-lifetime\": 4000 }";
|
|
|
cout << config << endl;
|
|
@@ -970,7 +970,7 @@ TEST_F(Dhcp6ParserTest, subnetInterfaceId) {
|
|
|
"\"rebind-timer\": 2000, "
|
|
|
"\"renew-timer\": 1000, "
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::1 - 2001:db8:1::ffff\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::1 - 2001:db8:1::ffff\" } ],"
|
|
|
" \"interface-id\": \"" + valid_interface_id + "\","
|
|
|
" \"subnet\": \"2001:db8:1::/64\" } ],"
|
|
|
"\"valid-lifetime\": 4000 }";
|
|
@@ -1008,7 +1008,7 @@ TEST_F(Dhcp6ParserTest, interfaceIdGlobal) {
|
|
|
"\"renew-timer\": 1000, "
|
|
|
"\"interface-id\": \"foobar\"," // Not valid. Can be defined in subnet only
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::1 - 2001:db8:1::ffff\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::1 - 2001:db8:1::ffff\" } ],"
|
|
|
" \"subnet\": \"2001:db8:1::/64\" } ],"
|
|
|
"\"valid-lifetime\": 4000 }";
|
|
|
|
|
@@ -1030,7 +1030,7 @@ TEST_F(Dhcp6ParserTest, subnetInterfaceAndInterfaceId) {
|
|
|
"\"rebind-timer\": 2000, "
|
|
|
"\"renew-timer\": 1000, "
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::1 - 2001:db8:1::ffff\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::1 - 2001:db8:1::ffff\" } ],"
|
|
|
" \"interface\": \"" + valid_iface_ + "\","
|
|
|
" \"interface-id\": \"foobar\","
|
|
|
" \"subnet\": \"2001:db8:1::/64\" } ],"
|
|
@@ -1059,7 +1059,7 @@ TEST_F(Dhcp6ParserTest, poolOutOfSubnet) {
|
|
|
"\"rebind-timer\": 2000, "
|
|
|
"\"renew-timer\": 1000, "
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"4001:db8:1::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"4001:db8:1::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:1::/64\" } ],"
|
|
|
"\"valid-lifetime\": 4000 }";
|
|
|
|
|
@@ -1088,7 +1088,7 @@ TEST_F(Dhcp6ParserTest, poolPrefixLen) {
|
|
|
"\"rebind-timer\": 2000, "
|
|
|
"\"renew-timer\": 1000, "
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:1::/64\" } ],"
|
|
|
"\"valid-lifetime\": 4000 }";
|
|
|
|
|
@@ -1183,7 +1183,7 @@ TEST_F(Dhcp6ParserTest, pdPoolList) {
|
|
|
"\"rebind-timer\": 2000, "
|
|
|
"\"renew-timer\": 1000, "
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1:04::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1:04::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:1::/40\","
|
|
|
" \"pd-pools\": ["
|
|
|
" { \"prefix\": \"2001:db8:1:01::\", "
|
|
@@ -1941,7 +1941,7 @@ TEST_F(Dhcp6ParserTest, optionDataDefaults) {
|
|
|
" \"csv-format\": True"
|
|
|
" } ],"
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:1::/64\""
|
|
|
" } ],"
|
|
|
"\"valid-lifetime\": 4000 }";
|
|
@@ -2032,7 +2032,7 @@ TEST_F(Dhcp6ParserTest, optionDataTwoSpaces) {
|
|
|
" \"encapsulate\": \"\""
|
|
|
" } ],"
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:1::/64\""
|
|
|
" } ]"
|
|
|
"}";
|
|
@@ -2187,7 +2187,7 @@ TEST_F(Dhcp6ParserTest, optionDataEncapsulate) {
|
|
|
" \"encapsulate\": \"\""
|
|
|
" } ],"
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:1::/64\""
|
|
|
" } ]"
|
|
|
"}";
|
|
@@ -2235,7 +2235,7 @@ TEST_F(Dhcp6ParserTest, optionDataInMultipleSubnets) {
|
|
|
"\"rebind-timer\": 2000, "
|
|
|
"\"renew-timer\": 1000, "
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:1::/64\", "
|
|
|
" \"option-data\": [ {"
|
|
|
" \"name\": \"subscriber-id\","
|
|
@@ -2246,7 +2246,7 @@ TEST_F(Dhcp6ParserTest, optionDataInMultipleSubnets) {
|
|
|
" } ]"
|
|
|
" },"
|
|
|
" {"
|
|
|
- " \"pool\": [ \"2001:db8:2::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:2::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:2::/64\", "
|
|
|
" \"option-data\": [ {"
|
|
|
" \"name\": \"user-class\","
|
|
@@ -2565,7 +2565,7 @@ TEST_F(Dhcp6ParserTest, vendorOptionsHex) {
|
|
|
" \"csv-format\": False"
|
|
|
" } ],"
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:1::/64\""
|
|
|
" } ]"
|
|
|
"}";
|
|
@@ -2627,7 +2627,7 @@ TEST_F(Dhcp6ParserTest, vendorOptionsCsv) {
|
|
|
" \"encapsulate\": \"\""
|
|
|
" } ],"
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:1::/64\""
|
|
|
" } ]"
|
|
|
"}";
|
|
@@ -2765,7 +2765,7 @@ TEST_F(Dhcp6ParserTest, stdOptionDataEncapsulate) {
|
|
|
" \"encapsulate\": \"\""
|
|
|
" } ],"
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:1::/64\""
|
|
|
" } ]"
|
|
|
"}";
|
|
@@ -3049,7 +3049,7 @@ TEST_F(Dhcp6ParserTest, subnetRelayInfo) {
|
|
|
"\"rebind-timer\": 2000, "
|
|
|
"\"renew-timer\": 1000, "
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::1 - 2001:db8:1::ffff\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::1 - 2001:db8:1::ffff\" } ],"
|
|
|
" \"relay\": { "
|
|
|
" \"ip-address\": \"2001:db8:1::abcd\""
|
|
|
" },"
|
|
@@ -3079,22 +3079,22 @@ TEST_F(Dhcp6ParserTest, classifySubnets) {
|
|
|
"\"rebind-timer\": 2000, "
|
|
|
"\"renew-timer\": 1000, "
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:1::/64\", "
|
|
|
" \"client-class\": \"alpha\" "
|
|
|
" },"
|
|
|
" {"
|
|
|
- " \"pool\": [ \"2001:db8:2::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:2::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:2::/64\", "
|
|
|
" \"client-class\": \"beta\" "
|
|
|
" },"
|
|
|
" {"
|
|
|
- " \"pool\": [ \"2001:db8:3::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:3::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:3::/64\", "
|
|
|
" \"client-class\": \"gamma\" "
|
|
|
" },"
|
|
|
" {"
|
|
|
- " \"pool\": [ \"2001:db8:4::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:4::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:4::/64\" "
|
|
|
" } ],"
|
|
|
"\"valid-lifetime\": 4000 }";
|
|
@@ -3174,7 +3174,7 @@ TEST_F(Dhcp6ParserTest, d2ClientConfig) {
|
|
|
"\"rebind-timer\": 2000, "
|
|
|
"\"renew-timer\": 1000, "
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:1::/64\" } ], "
|
|
|
" \"dhcp-ddns\" : {"
|
|
|
" \"enable-updates\" : true, "
|
|
@@ -3239,7 +3239,7 @@ TEST_F(Dhcp6ParserTest, invalidD2ClientConfig) {
|
|
|
"\"rebind-timer\": 2000, "
|
|
|
"\"renew-timer\": 1000, "
|
|
|
"\"subnet6\": [ { "
|
|
|
- " \"pool\": [ \"2001:db8:1::/80\" ],"
|
|
|
+ " \"pools\": [ { \"pool\": \"2001:db8:1::/80\" } ],"
|
|
|
" \"subnet\": \"2001:db8:1::/64\" } ], "
|
|
|
" \"dhcp-ddns\" : {"
|
|
|
" \"enable-updates\" : true, "
|