20 const std::string& subnet_prefix)
const {
22 getPropertyPtrConst<Subnet6Ptr, const std::string&>
23 (&ConfigBackendDHCPv6::getSubnet6, backend_selector, server_selector,
24 subnet, subnet_prefix);
33 getPropertyPtrConst<Subnet6Ptr, const SubnetID&>
34 (&ConfigBackendDHCPv6::getSubnet6, backend_selector, server_selector,
43 getAllPropertiesConst<Subnet6Collection>
44 (&ConfigBackendDHCPv6::getAllSubnets6, backend_selector, server_selector,
50 ConfigBackendPoolDHCPv6::getModifiedSubnets6(
const BackendSelector& backend_selector,
52 const boost::posix_time::ptime& modification_time)
const {
54 getMultiplePropertiesConst<Subnet6Collection, const boost::posix_time::ptime&>
55 (&ConfigBackendDHCPv6::getModifiedSubnets6, backend_selector, server_selector,
56 subnets, modification_time);
63 const std::string& shared_network_name)
const {
65 getMultiplePropertiesConst<Subnet6Collection, const std::string&>
66 (&ConfigBackendDHCPv6::getSharedNetworkSubnets6, backend_selector, server_selector,
67 subnets, shared_network_name);
72 ConfigBackendPoolDHCPv6::getSharedNetwork6(
const BackendSelector& backend_selector,
74 const std::string& name)
const {
76 getPropertyPtrConst<SharedNetwork6Ptr, const std::string&>
77 (&ConfigBackendDHCPv6::getSharedNetwork6, backend_selector, server_selector,
78 shared_network, name);
79 return (shared_network);
83 ConfigBackendPoolDHCPv6::getAllSharedNetworks6(
const BackendSelector& backend_selector,
86 getAllPropertiesConst<SharedNetwork6Collection>
87 (&ConfigBackendDHCPv6::getAllSharedNetworks6, backend_selector, server_selector,
89 return (shared_networks);
93 ConfigBackendPoolDHCPv6::
96 const boost::posix_time::ptime& modification_time)
const {
98 getMultiplePropertiesConst<SharedNetwork6Collection, const boost::posix_time::ptime&>
99 (&ConfigBackendDHCPv6::getModifiedSharedNetworks6, backend_selector, server_selector,
100 shared_networks, modification_time);
101 return (shared_networks);
108 const std::string& space)
const {
110 getPropertyPtrConst<OptionDefinitionPtr, uint16_t, const std::string&>
111 (&ConfigBackendDHCPv6::getOptionDef6, backend_selector, server_selector,
112 option_def, code, space);
120 getAllPropertiesConst<OptionDefContainer>
121 (&ConfigBackendDHCPv6::getAllOptionDefs6, backend_selector, server_selector,
123 return (option_defs);
127 ConfigBackendPoolDHCPv6::getModifiedOptionDefs6(
const BackendSelector& backend_selector,
129 const boost::posix_time::ptime& modification_time)
const {
131 getMultiplePropertiesConst<OptionDefContainer, const boost::posix_time::ptime&>
132 (&ConfigBackendDHCPv6::getModifiedOptionDefs6, backend_selector, server_selector,
133 option_defs, modification_time);
134 return (option_defs);
141 const std::string& space)
const {
143 getPropertyPtrConst<OptionDescriptorPtr, uint16_t, const std::string&>
144 (&ConfigBackendDHCPv6::getOption6, backend_selector, server_selector,
145 option, code, space);
153 getAllPropertiesConst<OptionContainer>
154 (&ConfigBackendDHCPv6::getAllOptions6, backend_selector, server_selector,
162 const boost::posix_time::ptime& modification_time)
const {
164 getMultiplePropertiesConst<OptionContainer, const boost::posix_time::ptime&>
165 (&ConfigBackendDHCPv6::getModifiedOptions6, backend_selector, server_selector,
166 options, modification_time);
173 const std::string& name)
const {
175 getPropertyPtrConst<StampedValuePtr, const std::string&>
176 (&ConfigBackendDHCPv6::getGlobalParameter6, backend_selector,
177 server_selector, parameter, name);
182 ConfigBackendPoolDHCPv6::getAllGlobalParameters6(
const BackendSelector& backend_selector,
185 getAllPropertiesConst<StampedValueCollection>
186 (&ConfigBackendDHCPv6::getAllGlobalParameters6, backend_selector,
187 server_selector, parameters);
192 ConfigBackendPoolDHCPv6::
195 const boost::posix_time::ptime& modification_time)
const {
197 getMultiplePropertiesConst<StampedValueCollection, const boost::posix_time::ptime&>
198 (&ConfigBackendDHCPv6::getModifiedGlobalParameters6, backend_selector,
199 server_selector, parameters, modification_time);
204 ConfigBackendPoolDHCPv6::
207 const boost::posix_time::ptime& modification_time,
208 const uint64_t& modification_id)
const {
210 getMultiplePropertiesConst<AuditEntryCollection, const boost::posix_time::ptime&>
211 (&ConfigBackendDHCPv6::getRecentAuditEntries, backend_selector,
212 server_selector, audit_entries, modification_time, modification_id);
213 return (audit_entries);
217 ConfigBackendPoolDHCPv6::getAllServers6(
const BackendSelector& backend_selector)
const {
219 getAllBackendPropertiesConst<ServerCollection>
220 (&ConfigBackendDHCPv6::getAllServers6, backend_selector, servers);
228 getBackendPropertyPtrConst<ServerPtr, const ServerTag&>
229 (&ConfigBackendDHCPv6::getServer6, backend_selector, server,
238 createUpdateDeleteProperty<void, const Subnet6Ptr&>
239 (&ConfigBackendDHCPv6::createUpdateSubnet6, backend_selector,
240 server_selector, subnet);
244 ConfigBackendPoolDHCPv6::createUpdateSharedNetwork6(
const BackendSelector& backend_selector,
247 createUpdateDeleteProperty<void, const SharedNetwork6Ptr&>
248 (&ConfigBackendDHCPv6::createUpdateSharedNetwork6, backend_selector,
249 server_selector, shared_network);
253 ConfigBackendPoolDHCPv6::createUpdateOptionDef6(
const BackendSelector& backend_selector,
256 createUpdateDeleteProperty<void, const OptionDefinitionPtr&>
257 (&ConfigBackendDHCPv6::createUpdateOptionDef6, backend_selector,
258 server_selector, option_def);
265 createUpdateDeleteProperty<void, const OptionDescriptorPtr&>
266 (&ConfigBackendDHCPv6::createUpdateOption6, backend_selector,
267 server_selector, option);
273 const std::string& shared_network_name,
275 createUpdateDeleteProperty<void, const std::string&, const OptionDescriptorPtr&>
276 (&ConfigBackendDHCPv6::createUpdateOption6, backend_selector,
277 server_selector, shared_network_name, option);
286 createUpdateDeleteProperty<void, const SubnetID&, const OptionDescriptorPtr&>
287 (&ConfigBackendDHCPv6::createUpdateOption6, backend_selector,
288 server_selector, subnet_id, option);
297 createUpdateDeleteProperty<void,
const IOAddress&,
const IOAddress&,
299 (&ConfigBackendDHCPv6::createUpdateOption6, backend_selector,
300 server_selector, pool_start_address, pool_end_address, option);
307 const uint8_t pd_pool_prefix_length,
309 createUpdateDeleteProperty<void,
const IOAddress&, uint8_t,
311 (&ConfigBackendDHCPv6::createUpdateOption6, backend_selector,
312 server_selector, pd_pool_prefix, pd_pool_prefix_length, option);
316 ConfigBackendPoolDHCPv6::createUpdateGlobalParameter6(
const BackendSelector& backend_selector,
319 createUpdateDeleteProperty<void, const StampedValuePtr&>
320 (&ConfigBackendDHCPv6::createUpdateGlobalParameter6, backend_selector,
321 server_selector, value);
327 createUpdateDeleteBackendProperty<void, const ServerPtr&>
328 (&ConfigBackendDHCPv6::createUpdateServer6, backend_selector,
335 const std::string& subnet_prefix) {
336 return (createUpdateDeleteProperty<uint64_t, const std::string&>
337 (&ConfigBackendDHCPv6::deleteSubnet6, backend_selector, server_selector,
345 return (createUpdateDeleteProperty<uint64_t, const SubnetID&>
346 (&ConfigBackendDHCPv6::deleteSubnet6, backend_selector, server_selector,
353 return (createUpdateDeleteProperty<uint64_t>
354 (&ConfigBackendDHCPv6::deleteAllSubnets6, backend_selector, server_selector));
360 const std::string& shared_network_name) {
361 return (createUpdateDeleteProperty<uint64_t, const std::string&>
362 (&ConfigBackendDHCPv6::deleteSharedNetworkSubnets6, backend_selector, server_selector,
363 shared_network_name));
367 ConfigBackendPoolDHCPv6::deleteSharedNetwork6(
const BackendSelector& backend_selector,
369 const std::string& name) {
370 return (createUpdateDeleteProperty<uint64_t, const std::string&>
371 (&ConfigBackendDHCPv6::deleteSharedNetwork6, backend_selector,
372 server_selector, name));
376 ConfigBackendPoolDHCPv6::deleteAllSharedNetworks6(
const BackendSelector& backend_selector,
378 return (createUpdateDeleteProperty<uint64_t>
379 (&ConfigBackendDHCPv6::deleteAllSharedNetworks6, backend_selector, server_selector));
386 const std::string& space) {
387 return (createUpdateDeleteProperty<uint64_t, uint16_t, const std::string&>
388 (&ConfigBackendDHCPv6::deleteOptionDef6, backend_selector,
389 server_selector, code, space));
393 ConfigBackendPoolDHCPv6::deleteAllOptionDefs6(
const BackendSelector& backend_selector,
395 return (createUpdateDeleteProperty<uint64_t>
396 (&ConfigBackendDHCPv6::deleteAllOptionDefs6, backend_selector, server_selector));
403 const std::string& space) {
404 return (createUpdateDeleteProperty<uint64_t, uint16_t, const std::string&>
405 (&ConfigBackendDHCPv6::deleteOption6, backend_selector, server_selector,
412 const std::string& shared_network_name,
414 const std::string& space) {
415 return (createUpdateDeleteProperty<uint64_t,
const std::string&, uint16_t,
417 (&ConfigBackendDHCPv6::deleteOption6, backend_selector, server_selector,
418 shared_network_name, code, space));
426 const std::string& space) {
427 return (createUpdateDeleteProperty<uint64_t, const SubnetID&, uint16_t, const std::string&>
428 (&ConfigBackendDHCPv6::deleteOption6, backend_selector, server_selector,
429 subnet_id, code, space));
438 const std::string& space) {
440 uint16_t,
const std::string&>
441 (&ConfigBackendDHCPv6::deleteOption6, backend_selector, server_selector,
442 pool_start_address, pool_end_address, code, space));
449 const uint8_t pd_pool_prefix_length,
451 const std::string& space) {
452 return (createUpdateDeleteProperty<uint64_t,
const IOAddress&, uint8_t,
453 uint16_t,
const std::string&>
454 (&ConfigBackendDHCPv6::deleteOption6, backend_selector, server_selector,
455 pd_pool_prefix, pd_pool_prefix_length, code, space));
459 ConfigBackendPoolDHCPv6::deleteGlobalParameter6(
const BackendSelector& backend_selector,
461 const std::string& name) {
462 return (createUpdateDeleteProperty<uint64_t, const std::string&>
463 (&ConfigBackendDHCPv6::deleteGlobalParameter6, backend_selector,
464 server_selector, name));
468 ConfigBackendPoolDHCPv6::deleteAllGlobalParameters6(
const BackendSelector& backend_selector,
470 return (createUpdateDeleteProperty<uint64_t>
471 (&ConfigBackendDHCPv6::deleteAllGlobalParameters6, backend_selector,
478 return (createUpdateDeleteBackendProperty<uint64_t>
479 (&ConfigBackendDHCPv6::deleteServer6, backend_selector,
485 return (createUpdateDeleteBackendProperty<uint64_t>
486 (&ConfigBackendDHCPv6::deleteAllServers6, backend_selector));
boost::shared_ptr< OptionDescriptor > OptionDescriptorPtr
A pointer to option descriptor.
boost::shared_ptr< StampedValue > StampedValuePtr
Pointer to the stamped value.
boost::shared_ptr< Server > ServerPtr
Shared pointer to the Server class.
boost::multi_index_container< ServerPtr, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< boost::multi_index::tag< ServerTagIndexTag >, boost::multi_index::const_mem_fun< Server, std::string,&Server::getServerTagAsText > > >> ServerCollection
Multi index container for Server.
boost::multi_index_container< OptionDefinitionPtr, boost::multi_index::indexed_by< boost::multi_index::sequenced<>, boost::multi_index::hashed_non_unique< boost::multi_index::const_mem_fun< OptionDefinition, uint16_t,&OptionDefinition::getCode > >, boost::multi_index::hashed_non_unique< boost::multi_index::const_mem_fun< OptionDefinition, std::string,&OptionDefinition::getName > >, boost::multi_index::ordered_non_unique< boost::multi_index::const_mem_fun< data::BaseStampedElement, boost::posix_time::ptime,&data::StampedElement::getModificationTime > >, boost::multi_index::hashed_non_unique< boost::multi_index::tag< OptionIdIndexTag >, boost::multi_index::const_mem_fun< data::BaseStampedElement, uint64_t,&data::BaseStampedElement::getId > > >> OptionDefContainer
Multi index container for DHCP option definitions.
Server selector for associating objects in a database with specific servers.
boost::shared_ptr< SharedNetwork6 > SharedNetwork6Ptr
Pointer to SharedNetwork6 object.
boost::multi_index_container< SharedNetwork6Ptr, boost::multi_index::indexed_by< boost::multi_index::random_access< boost::multi_index::tag< SharedNetworkRandomAccessIndexTag > >, boost::multi_index::hashed_non_unique< boost::multi_index::tag< SharedNetworkIdIndexTag >, boost::multi_index::const_mem_fun< data::BaseStampedElement, uint64_t,&data::BaseStampedElement::getId > >, boost::multi_index::ordered_unique< boost::multi_index::tag< SharedNetworkNameIndexTag >, boost::multi_index::const_mem_fun< SharedNetwork6, std::string,&SharedNetwork6::getName > >, boost::multi_index::ordered_non_unique< boost::multi_index::tag< SharedNetworkModificationTimeIndexTag >, boost::multi_index::const_mem_fun< data::BaseStampedElement, boost::posix_time::ptime,&data::BaseStampedElement::getModificationTime > > >> SharedNetwork6Collection
Multi index container holding shared networks.
boost::multi_index_container< Subnet6Ptr, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< boost::multi_index::tag< SubnetSubnetIdIndexTag >, boost::multi_index::const_mem_fun< Subnet, SubnetID,&Subnet::getID > >, boost::multi_index::ordered_unique< boost::multi_index::tag< SubnetPrefixIndexTag >, boost::multi_index::const_mem_fun< Subnet, std::string,&Subnet::toText > >, boost::multi_index::ordered_non_unique< boost::multi_index::tag< SubnetModificationTimeIndexTag >, boost::multi_index::const_mem_fun< data::BaseStampedElement, boost::posix_time::ptime,&data::BaseStampedElement::getModificationTime > > >> Subnet6Collection
A collection of Subnet6 objects.
Defines the logger used by the top-level component of kea-dhcp-ddns.
boost::multi_index_container< StampedValuePtr, boost::multi_index::indexed_by< boost::multi_index::hashed_non_unique< boost::multi_index::tag< StampedValueNameIndexTag >, boost::multi_index::const_mem_fun< StampedValue, std::string,&StampedValue::getName > >, boost::multi_index::ordered_non_unique< boost::multi_index::tag< StampedValueModificationTimeIndexTag >, boost::multi_index::const_mem_fun< BaseStampedElement, boost::posix_time::ptime,&BaseStampedElement::getModificationTime > > >> StampedValueCollection
Multi index container for StampedValue.
boost::multi_index_container< OptionDescriptor, boost::multi_index::indexed_by< boost::multi_index::sequenced<>, boost::multi_index::hashed_non_unique< KeyFromKeyExtractor< boost::multi_index::const_mem_fun< Option, uint16_t,&Option::getType >, boost::multi_index::member< OptionDescriptor, OptionPtr,&OptionDescriptor::option_ > > >, boost::multi_index::hashed_non_unique< boost::multi_index::member< OptionDescriptor, bool,&OptionDescriptor::persistent_ > >, boost::multi_index::ordered_non_unique< boost::multi_index::const_mem_fun< data::BaseStampedElement, boost::posix_time::ptime,&data::BaseStampedElement::getModificationTime > >, boost::multi_index::hashed_non_unique< boost::multi_index::tag< OptionIdIndexTag >, boost::multi_index::const_mem_fun< data::BaseStampedElement, uint64_t,&data::BaseStampedElement::getId > > >> OptionContainer
Multi index container for DHCP option descriptors.
boost::shared_ptr< OptionDefinition > OptionDefinitionPtr
Pointer to option definition object.
boost::shared_ptr< Subnet6 > Subnet6Ptr
A pointer to a Subnet6 object.
The IOAddress class represents an IP addresses (version agnostic)
boost::multi_index_container< AuditEntryPtr, boost::multi_index::indexed_by< boost::multi_index::ordered_non_unique< boost::multi_index::tag< AuditEntryObjectTypeTag >, boost::multi_index::composite_key< AuditEntry, boost::multi_index::const_mem_fun< AuditEntry, std::string,&AuditEntry::getObjectType >, boost::multi_index::const_mem_fun< AuditEntry, AuditEntry::ModificationType,&AuditEntry::getModificationType > > >, boost::multi_index::ordered_non_unique< boost::multi_index::tag< AuditEntryModificationTimeIdTag >, boost::multi_index::composite_key< AuditEntry, boost::multi_index::const_mem_fun< AuditEntry, boost::posix_time::ptime,&AuditEntry::getModificationTime >, boost::multi_index::const_mem_fun< AuditEntry, uint64_t,&AuditEntry::getRevisionId > > >, boost::multi_index::hashed_non_unique< boost::multi_index::tag< AuditEntryObjectIdTag >, boost::multi_index::const_mem_fun< AuditEntry, uint64_t,&AuditEntry::getObjectId > > >> AuditEntryCollection
Multi index container holding AuditEntry instances.
uint32_t SubnetID
Unique identifier for a subnet (both v4 and v6)