mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-01 14:35:29 +00:00
[659-how-configure-client-class-for-pools-in-db] Addressed not doc comments
This commit is contained in:
committed by
Tomek Mrugalski
parent
71f68b0273
commit
32bcae557c
@@ -485,7 +485,7 @@ public:
|
|||||||
|
|
||||||
// {min,max}_valid_lifetime
|
// {min,max}_valid_lifetime
|
||||||
|
|
||||||
// 3 pool fields
|
// pool client_class, require_client_classes and user_context
|
||||||
|
|
||||||
// server_tag at 58
|
// server_tag at 58
|
||||||
|
|
||||||
@@ -827,6 +827,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
getPools(GET_POOL4_RANGE, in_bindings, pools, pool_ids);
|
getPools(GET_POOL4_RANGE, in_bindings, pools, pool_ids);
|
||||||
|
// Break if something is found?
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!pools.empty()) {
|
if (!pools.empty()) {
|
||||||
|
@@ -514,7 +514,14 @@ public:
|
|||||||
|
|
||||||
// 71 and 72 are {min,max}_valid_lifetime
|
// 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)
|
// server_tag (81 / last)
|
||||||
|
|
||||||
@@ -1040,6 +1047,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
getPools(GET_POOL6_RANGE, in_bindings, pools, pool_ids);
|
getPools(GET_POOL6_RANGE, in_bindings, pools, pool_ids);
|
||||||
|
// Break if something is found?
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!pools.empty()) {
|
if (!pools.empty()) {
|
||||||
@@ -1075,6 +1083,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
getPdPools(GET_PD_POOL, in_bindings, pd_pools, pd_pool_ids);
|
getPdPools(GET_PD_POOL, in_bindings, pd_pools, pd_pool_ids);
|
||||||
|
// Break if something is found?
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!pd_pools.empty()) {
|
if (!pd_pools.empty()) {
|
||||||
|
@@ -2476,7 +2476,7 @@ END
|
|||||||
$$
|
$$
|
||||||
DELIMITER ;
|
DELIMITER ;
|
||||||
|
|
||||||
# add missing fields in pools.
|
# Add missing fields in pools.
|
||||||
ALTER TABLE dhcp4_pool
|
ALTER TABLE dhcp4_pool
|
||||||
ADD COLUMN client_class VARCHAR(128) DEFAULT NULL,
|
ADD COLUMN client_class VARCHAR(128) DEFAULT NULL,
|
||||||
ADD COLUMN require_client_classes LONGTEXT,
|
ADD COLUMN require_client_classes LONGTEXT,
|
||||||
|
@@ -117,7 +117,7 @@ END
|
|||||||
$$
|
$$
|
||||||
DELIMITER ;
|
DELIMITER ;
|
||||||
|
|
||||||
# add missing fields in pools.
|
# Add missing fields in pools.
|
||||||
ALTER TABLE dhcp4_pool
|
ALTER TABLE dhcp4_pool
|
||||||
ADD COLUMN client_class VARCHAR(128) DEFAULT NULL,
|
ADD COLUMN client_class VARCHAR(128) DEFAULT NULL,
|
||||||
ADD COLUMN require_client_classes LONGTEXT,
|
ADD COLUMN require_client_classes LONGTEXT,
|
||||||
|
Reference in New Issue
Block a user