-// Copyright (C) 2017-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2017-2023 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
}
if (command->getType() != Element::map) {
isc_throw(CtrlChannelError, "invalid command: expected toplevel entry to be a map, got "
- << Element::typeToName(command->getType()) << " instead");
+ << Element::typeToName(command->getType()) << " instead");
}
if (!command->contains(CONTROL_COMMAND)) {
isc_throw(CtrlChannelError,
ConstElementPtr cmd = command->get(CONTROL_COMMAND);
if (cmd->getType() != Element::string) {
isc_throw(CtrlChannelError, "invalid command: expected '"
- << CONTROL_COMMAND << "' to be a string, got "
- << Element::typeToName(command->getType()) << " instead");
+ << CONTROL_COMMAND << "' to be a string, got "
+ << Element::typeToName(command->getType()) << " instead");
}
arg = command->get(CONTROL_ARGUMENTS);
}
}
-}
-}
+} // namespace config
+} // namespace isc
PgSqlHostDataSourceImplPtr impl_;
};
-}
-}
+} // namespace dhcp
+} // namespace isc
#endif // PGSQL_HOST_DATA_SOURCE_H
return (false);
}
- void update(HostPtr const&) {
- }
-
std::string getType() const {
return ("one");
}
testGet6();
}
-}; // end of anonymous namespace
+} // namespace
"This command adds a new host reservation. The reservation may include IPv4 addresses, IPv6 addresses, IPv6 prefixes, various identifiers, a class the client will be assigned to, DHCPv4 and DHCPv6 options, and more."
],
"cmd-comment": [
- "Note that ip-address, client-id, next-server, server-hostname, and boot-file-name are IPv4-specific. ip-addresses, and prefixes are IPv6-specific."
+ "Note that boot-file-name, circuit-id, client-id, ip-address, next-server, and server-hostname are IPv4-specific. ip-addresses, and prefixes are IPv6-specific."
],
"cmd-syntax": [
"{",
"This command updates an existing host reservation. The reservation has to include host identifiers and a subnet identifier and may include IPv4 addresses, IPv6 addresses, IPv6 prefixes, various identifiers, a class the client will be assigned to, DHCPv4 and DHCPv6 options, and more."
],
"cmd-comment": [
- "Note that ip-address, client-id, next-server, server-hostname, and boot-file-name are IPv4-specific. ip-addresses, and prefixes are IPv6-specific."
+ "Note that boot-file-name, circuit-id, client-id, ip-address, next-server, and server-hostname are IPv4-specific. ip-addresses, and prefixes are IPv6-specific."
],
"cmd-syntax": [
"{",