}
// Check subnet with two pools with ietf-dhcpv6-server model.
+// Validation will fail because the current model has a vendor-info
+// container with a mandatory ent-num leaf and no presence flag,
+// and of course the candidate YANG tree has nothing for this.
TEST_F(ConfigTest, subnetTwoPoolsIetf6) {
// First set the model.
setModel(subnetTwoPoolsModelIetf6);
/// @brief DHCP configuration translation between YANG and JSON
///
-/// This translator supports kea-dhcp4-server and kea-dhcp6-server.
+/// This translator supports kea-dhcp4-server, kea-dhcp6-server and
+/// partially ietf-dhcpv6-server.
///
-/// JSON syntax for kea-dhcp6-server is:
+/// JSON syntax for kea-dhcp6 is:
/// @code
/// "Dhcp6": {
/// "preferred-lifetime": <preferred lifetime>,
/// +--rw loggers
/// @endcode
///
-/// Example of kea-dhcp6-server simple configuration:
+/// Example of kea-dhcp6 simple configuration:
/// @code
/// {
/// "Dhcp6": {
/// }
/// @endcode
///
-/// The same configuration wrote into YANG datastore using @c setConfig() and exported to XML format:
+/// The same configuration wrote into YANG datastore using @c setConfig()
+/// with the kea-dhcp6-model and exported to XML format:
/// @code
/// <config xmlns="urn:ietf:params:xml:ns:yang:kea-dhcp6-server">
/// <subnet6>
/// 'XXX (list)' stands for 'XXX list --- XXX' which is a common motif
/// (only database shows direct dependencies on both the list and the element)
///
-/// @brief A translator class for converting the config between
-/// YANG and JSON.
+/// @brief A translator class for converting the config between YANG and JSON.
///
/// Currently supports the following models:
/// - kea-dhcp4-server
/// @brief Destructor.
virtual ~TranslatorConfig();
- /// @brief Get and translate the whole DHCP server config from YANG to JSON.
+ /// @brief Get and translate the whole DHCP server configuration
+ /// from YANG to JSON.
///
/// @return JSON representation of the config.
/// @throw SysrepoError when sysrepo raises an error.
isc::data::ElementPtr getConfig();
- /// @brief Translate and sets the DHCP server config from JSON to YANG.
+ /// @brief Translate and sets the DHCP server configuration
+ /// from JSON to YANG.
///
/// Null elem argument removes the config containers.
///