of this guide will showcase only the subset of parameters appropriate
for a given context. For example, when discussing the IPv6 subnets
configuration in DHCPv6, only subnet6 parameters will be mentioned. It
-is implied that the remaining elements (the global map that holds Dhcp6
-and Logging) are present, but they are omitted for clarity. Usually,
+is implied that the remaining elements (the global map that holds Dhcp6)
+are present, but they are omitted for clarity. Usually,
locations where extra parameters may appear are denoted by an ellipsis
(...).
///
/// @param name name of the parameter expected to be present
/// @param open_loc location of the opening curly bracket
- /// @param close_loc ocation of the closing curly bracket
+ /// @param close_loc location of the closing curly bracket
/// @throw Dhcp6ParseError
void require(const std::string& name,
isc::data::Element::Position open_loc,
" \"output_options\": [{ \n"
" \"output\": \"/dev/null\" \n"
" }] \n"
- " }] \n"
- " } \n";
+ " }] \n";
std::ostringstream os;
<< socket_path_
<< control_socket_footer
<< "}\n" // close dhcp6
- "}}";
+ << "}}";
// Send the config-set command
sendUnixCommand(os.str(), response);
" \"output_options\": [{ \n"
" \"output\": \"/dev/null\" \n"
" }] \n"
- " }] \n"
- " } \n";
+ " }] \n";
std::ostringstream os;
<< socket_path_
<< control_socket_footer
<< "}\n" // close dhcp6
- "}}";
+ << "}}";
// Send the config-test command
sendUnixCommand(os.str(), response);
///
/// @param name name of the parameter to check
/// @param open_loc location of the opening curly bracket
- /// @param close_loc ocation of the closing curly bracket
+ /// @param close_loc location of the closing curly bracket
/// @throw ParseError
void require(const std::string& name,
isc::data::Element::Position open_loc,