2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00

[659-how-configure-client-class-for-pools-in-db] Addressed not doc comments

This commit is contained in:
Francis Dupont
2019-08-13 11:47:36 +02:00
committed by Tomek Mrugalski
parent 71f68b0273
commit 32bcae557c
4 changed files with 14 additions and 4 deletions

View File

@@ -485,7 +485,7 @@ public:
// {min,max}_valid_lifetime
// 3 pool fields
// pool client_class, require_client_classes and user_context
// server_tag at 58
@@ -827,6 +827,7 @@ public:
};
getPools(GET_POOL4_RANGE, in_bindings, pools, pool_ids);
// Break if something is found?
}
if (!pools.empty()) {

View File

@@ -514,7 +514,14 @@ public:
// 71 and 72 are {min,max}_valid_lifetime
// 8 pool and pd pool fields
// 73 is pool client_class
// 74 is pool require_client_classes
// 75 is pool user_context
// 76 is pd pool excluded_prefix
// 77 is pd pool excluded_prefix_length
// 78 is pd pool client_class
// 79 is pd pool require_client_classes
// 80 is pd pool user_context
// server_tag (81 / last)
@@ -1040,6 +1047,7 @@ public:
};
getPools(GET_POOL6_RANGE, in_bindings, pools, pool_ids);
// Break if something is found?
}
if (!pools.empty()) {
@@ -1075,6 +1083,7 @@ public:
};
getPdPools(GET_PD_POOL, in_bindings, pd_pools, pd_pool_ids);
// Break if something is found?
}
if (!pd_pools.empty()) {

View File

@@ -2476,7 +2476,7 @@ END
$$
DELIMITER ;
# add missing fields in pools.
# Add missing fields in pools.
ALTER TABLE dhcp4_pool
ADD COLUMN client_class VARCHAR(128) DEFAULT NULL,
ADD COLUMN require_client_classes LONGTEXT,

View File

@@ -117,7 +117,7 @@ END
$$
DELIMITER ;
# add missing fields in pools.
# Add missing fields in pools.
ALTER TABLE dhcp4_pool
ADD COLUMN client_class VARCHAR(128) DEFAULT NULL,
ADD COLUMN require_client_classes LONGTEXT,