// Global value to store extended information (e.g. relay agent
// information) with each lease.
- "store-extended-info:" true,
+ "store-extended-info": true,
// Governs how the Kea DHCPv4 server should deal with the invalid
// data received from the client.
// Turn off storage of extended information (e.g. relay agent
// information) with each lease for this shared-network.
- "store-extended-info:" false,
+ "store-extended-info": false,
// Shared network level server hostname set in 'sname' field.
"server-hostname": "",
// Turn on storage of extended information (e.g. relay agent
// information) with each lease for this subnet.
- "store-extended-info:" true,
+ "store-extended-info": true,
// Subnet level list of DHCP options.
"option-data": [
// Global value to store extended information (e.g. relay agent
// information) with each lease.
- "store-extended-info:" true,
+ "store-extended-info": true,
// Governs how the Kea DHCPv6 server should deal with the invalid
// data received from the client.
// Turn off storage of extended information (e.g. relay agent
// information) with each lease for this shared-network.
- "store-extended-info:" false,
+ "store-extended-info": false,
// List of IPv6 subnets belonging to this shared network.
"subnet6": [
// Turn on storage of extended information (e.g. relay agent
// information) with each lease for this subnet.
- "store-extended-info:" true,
+ "store-extended-info": true,
// Subnet level list of DHCP options.
"option-data": [
#include <gtest/gtest.h>
#include <dhcp4/parser_context.h>
#include <dhcpsrv/parsers/simple_parser4.h>
+#include <testutils/gtest_utils.h>
#include <testutils/io_utils.h>
#include <testutils/user_context_utils.h>
cout << "Parsing file " << fname << " (" << decommented << ")" << endl;
- EXPECT_NO_THROW(json = Element::fromJSONFile(decommented, true));
+ EXPECT_NO_THROW_LOG(json = Element::fromJSONFile(decommented, true));
reference_json = moveComments(json);
// remove the temporary file