Kea 3.3.4
cb_cmds_dhcp6.h
Go to the documentation of this file.
1// Copyright (C) 2026 Internet Systems Consortium, Inc. ("ISC")
2//
3// This Source Code Form is subject to the terms of the Mozilla Public
4// License, v. 2.0. If a copy of the MPL was not distributed with this
5// file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7#ifndef CB_CMDS_DHCP6_IMPL_H
8#define CB_CMDS_DHCP6_IMPL_H
9
11
12namespace isc {
13namespace cb {
14
27public:
28
33 void setGlobalParameter6(hooks::CalloutHandle& callout_handle);
34
39 void delGlobalParameter6(hooks::CalloutHandle& callout_handle);
40
45 void getGlobalParameter6(hooks::CalloutHandle& callout_handle);
46
52
56 void setSubnet6(hooks::CalloutHandle& callout_handle);
57
61 void delSubnet6Id(hooks::CalloutHandle& callout_handle);
62
66 void delSubnet6Prefix(hooks::CalloutHandle& callout_handle);
67
71 void getSubnet6Id(hooks::CalloutHandle& callout_handle);
72
76 void getSubnet6Prefix(hooks::CalloutHandle& callout_handle);
77
81 void listSubnets6(hooks::CalloutHandle& callout_handle);
82
86 void setSharedNetwork6(hooks::CalloutHandle& callout_handle);
87
91 void delSharedNetwork6(hooks::CalloutHandle& callout_handle);
92
96 void getSharedNetwork6(hooks::CalloutHandle& callout_handle);
97
101 void listSharedNetworks6(hooks::CalloutHandle& callout_handle);
102
106 void setClientClass6(hooks::CalloutHandle& callout_handle);
107
111 void delClientClass6(hooks::CalloutHandle& callout_handle);
112
116 void getClientClass6(hooks::CalloutHandle& callout_handle);
117
121 void getAllClientClasses6(hooks::CalloutHandle& callout_handle);
122
126 void setOptionDef6(hooks::CalloutHandle& callout_handle);
127
131 void delOptionDef6(hooks::CalloutHandle& callout_handle);
132
136 void getOptionDef6(hooks::CalloutHandle& callout_handle);
137
141 void getAllOptionDefs6(hooks::CalloutHandle& callout_handle);
142
146 void setGlobalOption6(hooks::CalloutHandle& callout_handle);
147
151 void delGlobalOption6(hooks::CalloutHandle& callout_handle);
152
156 void getGlobalOption6(hooks::CalloutHandle& callout_handle);
157
161 void getAllGlobalOptions6(hooks::CalloutHandle& callout_handle);
162
166 void setServer6(hooks::CalloutHandle& callout_handle);
167
171 void delServer6(hooks::CalloutHandle& callout_handle);
172
176 void getServer6(hooks::CalloutHandle& callout_handle);
177
181 void getAllServers6(hooks::CalloutHandle& callout_handle);
182
186 void setSharedNetworkOption6(hooks::CalloutHandle& callout_handle);
187
191 void delSharedNetworkOption6(hooks::CalloutHandle& callout_handle);
192
196 void setSubnetOption6(hooks::CalloutHandle& callout_handle);
197
201 void delSubnetOption6(hooks::CalloutHandle& callout_handle);
202
206 void setPoolOption6(hooks::CalloutHandle& callout_handle);
207
211 void delPoolOption6(hooks::CalloutHandle& callout_handle);
212
216 void setPdPoolOption6(hooks::CalloutHandle& callout_handle);
217
221 void delPdPoolOption6(hooks::CalloutHandle& callout_handle);
222
225
226private:
229 static data::SimpleKeywords initGlobalContainersParameters();
230
232 static data::SimpleKeywords& getGlobalContainersParameters();
233};
234
236typedef boost::shared_ptr<ConfigCmdsDhcp6Impl> ConfigCmdsDhcp6ImplPtr;
237
238} // end of namespace isc::cb
239} // end of namespace isc
240
241#endif // CB_CMDS_DHCP6_IMPL_H
Implementation of the callouts for cb_cmds library for DHCPv6.
void getSubnet6Id(hooks::CalloutHandle &callout_handle)
Implements handler for remote-subnet6-get-by-id command.
void listSubnets6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-subnet6-list command.
void delSubnet6Id(hooks::CalloutHandle &callout_handle)
Implements handler for remote-subnet6-del-by-id command.
void delOptionDef6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-option-def6-del command.
void getGlobalParameter6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-global-parameter6-get command.
void delSharedNetwork6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-shared-network6-del command.
void listSharedNetworks6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-shared-network6-list command.
void getClientClass6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-class6-get command.
void setGlobalParameter6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-global-parameter6-set command.
void delGlobalParameter6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-global-parameter6-del command.
void delGlobalOption6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-option6-global-del command.
static const data::SimpleKeywords GLOBAL6_MAP_PARAMETERS
Supported global maps parameters (scalars only).
void delSharedNetworkOption6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-option6-network-del command.
void getOptionDef6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-option-def6-get command.
void getAllOptionDefs6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-option-def6-get-all command.
void getGlobalOption6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-option6-global-get command.
void delPoolOption6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-option6-pool-del command.
void getAllGlobalOptions6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-option6-global-get-all command.
void delServer6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-server6-del command.
void setSubnetOption6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-option6-subnet-set command.
void getServer6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-server6-get command.
void getAllClientClasses6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-class6-get-all command.
void delPdPoolOption6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-option6-pd-pool-del command.
void setOptionDef6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-option-def6-set command.
void delClientClass6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-class6-del command.
void setClientClass6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-class6-set command.
void getAllGlobalParameters6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-global-parameter6-get-all command.
void delSubnet6Prefix(hooks::CalloutHandle &callout_handle)
Implements handler for remote-subnet6-del-by-prefix command.
void setServer6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-server6-set command.
void setSharedNetwork6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-shared-network6-set command.
void setGlobalOption6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-option6-global-set command.
void getAllServers6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-server6-get-all command.
void setPoolOption6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-option6-pool-set command.
void delSubnetOption6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-option6-subnet-del command.
void getSharedNetwork6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-shared-network6-get command.
void setSubnet6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-subnet6-set command.
void getSubnet6Prefix(hooks::CalloutHandle &callout_handle)
Implements handler for remote-subnet6-get-by-prefix command.
void setPdPoolOption6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-option6-pd-pool-set command.
void setSharedNetworkOption6(hooks::CalloutHandle &callout_handle)
Implements handler for remote-option6-network-set command.
ConfigCmdsImpl()
Constructor.
Per-packet callout handle.
boost::shared_ptr< ConfigCmdsDhcp6Impl > ConfigCmdsDhcp6ImplPtr
Pointer to the ConfigCmdsDhcp6Impl.
std::map< std::string, isc::data::Element::types > SimpleKeywords
This specifies all accepted keywords with their types.
Defines the logger used by the top-level component of kea-lfc.