Kea: config_backend_pool_dhcp6.h Source File

| Kea 3.2.0-git

config_backend_pool_dhcp6.h
Go to the documentation of this file.
1// Copyright (C) 2019-2025 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 CONFIG_BACKEND_POOL_DHCP6_H
8#define CONFIG_BACKEND_POOL_DHCP6_H
9
10#include <cc/server_tag.h>
11#include <cc/stamped_value.h>
12#include <config_backend/base_config_backend_pool.h>
13#include <database/backend_selector.h>
14#include <database/server_selector.h>
15#include <dhcp/option.h>
16#include <dhcp/option_definition.h>
17#include <dhcpsrv/cfg_option.h>
18#include <dhcpsrv/client_class_def.h>
19#include <dhcpsrv/config_backend_dhcp6.h>
20#include <dhcpsrv/shared_network.h>
21#include <dhcpsrv/subnet.h>
22#include <boost/date_time/posix_time/ptime.hpp>
23#include <string>
24
25namespace isc {
26namespace dhcp {
27
32 class ConfigBackendPoolDHCPv6 : public cb::BaseConfigBackendPool<ConfigBackendDHCPv6> {
33public:
34
41 virtual Subnet6Ptr
42 getSubnet6(const db::BackendSelector& backend_selector,
43 const db::ServerSelector& server_selector,
44 const std::string& subnet_prefix) const;
45
52 virtual Subnet6Ptr
53 getSubnet6(const db::BackendSelector& backend_selector,
54 const db::ServerSelector& server_selector,
55 const SubnetID& subnet_id) const;
56
62 virtual Subnet6Collection
63 getAllSubnets6(const db::BackendSelector& backend_selector,
64 const db::ServerSelector& server_selector) const;
65
72 virtual Subnet6Collection
73 getModifiedSubnets6(const db::BackendSelector& backend_selector,
74 const db::ServerSelector& server_selector,
75 const boost::posix_time::ptime& modification_time) const;
76
88 virtual Subnet6Collection
89 getSharedNetworkSubnets6(const db::BackendSelector& backend_selector,
90 const db::ServerSelector& server_selector,
91 const std::string& shared_network_name) const;
92
99 virtual SharedNetwork6Ptr
100 getSharedNetwork6(const db::BackendSelector& backend_selector,
101 const db::ServerSelector& server_selector,
102 const std::string& name) const;
103
110 virtual SharedNetwork6Collection
111 getAllSharedNetworks6(const db::BackendSelector& backend_selector,
112 const db::ServerSelector& server_selector) const;
113
121 virtual SharedNetwork6Collection
122 getModifiedSharedNetworks6(const db::BackendSelector& backend_selector,
123 const db::ServerSelector& server_selector,
124 const boost::posix_time::ptime& modification_time) const;
125
133 virtual OptionDefinitionPtr
134 getOptionDef6(const db::BackendSelector& backend_selector,
135 const db::ServerSelector& server_selector,
136 const uint16_t code,
137 const std::string& space) const;
138
145 virtual OptionDefContainer
146 getAllOptionDefs6(const db::BackendSelector& backend_selector,
147 const db::ServerSelector& server_selector) const;
148
157 virtual OptionDefContainer
158 getModifiedOptionDefs6(const db::BackendSelector& backend_selector,
159 const db::ServerSelector& server_selector,
160 const boost::posix_time::ptime& modification_time) const;
161
172 virtual OptionDescriptorPtr
173 getOption6(const db::BackendSelector& backend_selector,
174 const db::ServerSelector& server_selector,
175 const uint16_t code,
176 const std::string& space,
177 const ClientClassesPtr client_classes = ClientClassesPtr()) const;
178
185 virtual OptionContainer
186 getAllOptions6(const db::BackendSelector& backend_selector,
187 const db::ServerSelector& server_selector) const;
188
196 virtual OptionContainer
197 getModifiedOptions6(const db::BackendSelector& backend_selector,
198 const db::ServerSelector& server_selector,
199 const boost::posix_time::ptime& modification_time) const;
200
207 virtual data::StampedValuePtr
208 getGlobalParameter6(const db::BackendSelector& backend_selector,
209 const db::ServerSelector& server_selector,
210 const std::string& name) const;
211
216 virtual data::StampedValueCollection
217 getAllGlobalParameters6(const db::BackendSelector& backend_selector,
218 const db::ServerSelector& server_selector) const;
219
226 virtual data::StampedValueCollection
227 getModifiedGlobalParameters6(const db::BackendSelector& backend_selector,
228 const db::ServerSelector& server_selector,
229 const boost::posix_time::ptime& modification_time) const;
230
237 virtual ClientClassDefPtr
238 getClientClass6(const db::BackendSelector& backend_selector,
239 const db::ServerSelector& server_selector,
240 const std::string& name) const;
241
247 virtual ClientClassDictionary
248 getAllClientClasses6(const db::BackendSelector& backend_selector,
249 const db::ServerSelector& server_selector) const;
250
257 virtual ClientClassDictionary
258 getModifiedClientClasses6(const db::BackendSelector& backend_selector,
259 const db::ServerSelector& server_selector,
260 const boost::posix_time::ptime& modification_time) const;
261
272 virtual db::AuditEntryCollection
273 getRecentAuditEntries(const db::BackendSelector& backend_selector,
274 const db::ServerSelector& server_selector,
275 const boost::posix_time::ptime& modification_time,
276 const uint64_t& modification_id) const;
277
285 virtual db::ServerCollection
286 getAllServers6(const db::BackendSelector& backend_selector) const;
287
294 virtual db::ServerPtr
295 getServer6(const db::BackendSelector& backend_selector,
296 const data::ServerTag& server_tag) const;
297
303 virtual void
304 createUpdateSubnet6(const db::BackendSelector& backend_selector,
305 const db::ServerSelector& server_selector,
306 const Subnet6Ptr& subnet);
307
313 virtual void
314 createUpdateSharedNetwork6(const db::BackendSelector& backend_selector,
315 const db::ServerSelector& server_selector,
316 const SharedNetwork6Ptr& shared_network);
317
323 virtual void
324 createUpdateOptionDef6(const db::BackendSelector& backend_selector,
325 const db::ServerSelector& server_selector,
326 const OptionDefinitionPtr& option_def);
327
333 virtual void
334 createUpdateOption6(const db::BackendSelector& backend_selector,
335 const db::ServerSelector& server_selector,
336 const OptionDescriptorPtr& option);
337
345 virtual void
346 createUpdateOption6(const db::BackendSelector& backend_selector,
347 const db::ServerSelector& server_selector,
348 const std::string& shared_network_name,
349 const OptionDescriptorPtr& option);
350
357 virtual void
358 createUpdateOption6(const db::BackendSelector& backend_selector,
359 const db::ServerSelector& server_selector,
360 const SubnetID& subnet_id,
361 const OptionDescriptorPtr& option);
362
372 virtual void
373 createUpdateOption6(const db::BackendSelector& backend_selector,
374 const db::ServerSelector& server_selector,
375 const asiolink::IOAddress& pool_start_address,
376 const asiolink::IOAddress& pool_end_address,
377 const OptionDescriptorPtr& option);
378
388 virtual void
389 createUpdateOption6(const db::BackendSelector& backend_selector,
390 const db::ServerSelector& server_selector,
391 const asiolink::IOAddress& pd_pool_prefix,
392 const uint8_t pd_pool_prefix_length,
393 const OptionDescriptorPtr& option);
394
400 virtual void
401 createUpdateGlobalParameter6(const db::BackendSelector& backend_selector,
402 const db::ServerSelector& server_selector,
403 const data::StampedValuePtr& value);
404
414 virtual void
415 createUpdateClientClass6(const db::BackendSelector& backend_selector,
416 const db::ServerSelector& server_selector,
417 const ClientClassDefPtr& client_class,
418 const std::string& follow_class_name);
419
424 virtual void
425 createUpdateServer6(const db::BackendSelector& backend_selector,
426 const db::ServerPtr& server);
427
434 virtual uint64_t
435 deleteSubnet6(const db::BackendSelector& backend_selector,
436 const db::ServerSelector& server_selector,
437 const std::string& subnet_prefix);
438
445 virtual uint64_t
446 deleteSubnet6(const db::BackendSelector& backend_selector,
447 const db::ServerSelector& server_selector,
448 const SubnetID& subnet_id);
449
455 virtual uint64_t
456 deleteAllSubnets6(const db::BackendSelector& backend_selector,
457 const db::ServerSelector& server_selector);
458
466 virtual uint64_t
467 deleteSharedNetworkSubnets6(const db::BackendSelector& backend_selector,
468 const db::ServerSelector& server_selector,
469 const std::string& shared_network_name);
470
477 virtual uint64_t
478 deleteSharedNetwork6(const db::BackendSelector& backend_selector,
479 const db::ServerSelector& server_selector,
480 const std::string& name);
481
487 virtual uint64_t
488 deleteAllSharedNetworks6(const db::BackendSelector& backend_selector,
489 const db::ServerSelector& server_selector);
490
500 virtual uint64_t
501 deleteOptionDef6(const db::BackendSelector& backend_selector,
502 const db::ServerSelector& server_selector,
503 const uint16_t code,
504 const std::string& space,
505 bool force = false);
506
512 virtual uint64_t
513 deleteAllOptionDefs6(const db::BackendSelector& backend_selector,
514 const db::ServerSelector& server_selector);
515
525 virtual uint64_t
526 deleteOption6(const db::BackendSelector& backend_selector,
527 const db::ServerSelector& server_selector,
528 const uint16_t code,
529 const std::string& space,
530 const ClientClassesPtr client_classes = ClientClassesPtr());
531
543 virtual uint64_t
544 deleteOption6(const db::BackendSelector& backend_selector,
545 const db::ServerSelector& server_selector,
546 const std::string& shared_network_name,
547 const uint16_t code,
548 const std::string& space,
549 const ClientClassesPtr client_classes = ClientClassesPtr());
550
562 virtual uint64_t
563 deleteOption6(const db::BackendSelector& backend_selector,
564 const db::ServerSelector& server_selector,
565 const SubnetID& subnet_id,
566 const uint16_t code, const std::string& space,
567 const ClientClassesPtr client_classes = ClientClassesPtr());
568
582 virtual uint64_t
583 deleteOption6(const db::BackendSelector& backend_selector,
584 const db::ServerSelector& server_selector,
585 const asiolink::IOAddress& pool_start_address,
586 const asiolink::IOAddress& pool_end_address,
587 const uint16_t code,
588 const std::string& space,
589 const ClientClassesPtr client_classes = ClientClassesPtr());
590
604 virtual uint64_t
605 deleteOption6(const db::BackendSelector& backend_selector,
606 const db::ServerSelector& server_selector,
607 const asiolink::IOAddress& pd_pool_prefix,
608 const uint8_t pd_pool_prefix_length,
609 const uint16_t code,
610 const std::string& space,
611 const ClientClassesPtr client_classes = ClientClassesPtr());
612
619 virtual uint64_t
620 deleteGlobalParameter6(const db::BackendSelector& backend_selector,
621 const db::ServerSelector& server_selector,
622 const std::string& name);
623
629 virtual uint64_t
630 deleteAllGlobalParameters6(const db::BackendSelector& backend_selector,
631 const db::ServerSelector& server_selector);
632
639 virtual uint64_t
640 deleteClientClass6(const db::BackendSelector& backend_selector,
641 const db::ServerSelector& server_selector,
642 const std::string& name);
643
649 virtual uint64_t
650 deleteAllClientClasses6(const db::BackendSelector& backend_selector,
651 const db::ServerSelector& server_selector);
652
658 virtual uint64_t
659 deleteServer6(const db::BackendSelector& backend_selector,
660 const data::ServerTag& server_tag);
661
667 virtual uint64_t
668 deleteAllServers6(const db::BackendSelector& backend_selector);
669};
670
671
672} // end of namespace isc::dhcp
673} // end of namespace isc
674
675#endif // CONFIG_BACKEND_POOL_DHCP6_H
backend_selector.h
base_config_backend_pool.h
cfg_option.h
isc::asiolink::IOAddress
The IOAddress class represents an IP addresses (version agnostic).
Definition io_address.h:53
isc::cb::BaseConfigBackendPool
Base class for configuration backend pools.
Definition base_config_backend_pool.h:44
isc::data::ServerTag
Represents a server tag.
Definition server_tag.h:25
isc::db::BackendSelector
Config Backend selector.
Definition backend_selector.h:55
isc::db::ServerSelector
Server selector for associating objects in a database with specific servers.
Definition server_selector.h:46
isc::dhcp::ClientClassDictionary
Maintains a list of ClientClassDef's.
Definition client_class_def.h:362
isc::dhcp::ConfigBackendPoolDHCPv6
Implementation of the Configuration Backend Pool for DHCPv6.
Definition config_backend_pool_dhcp6.h:32
isc::dhcp::ConfigBackendPoolDHCPv6::getModifiedOptions6
virtual OptionContainer getModifiedOptions6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const boost::posix_time::ptime &modification_time) const
Retrieves option modified after specified time.
Definition config_backend_pool_dhcp6.cc:161
isc::dhcp::ConfigBackendPoolDHCPv6::getAllSharedNetworks6
virtual SharedNetwork6Collection getAllSharedNetworks6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const
Retrieves all shared networks.
Definition config_backend_pool_dhcp6.cc:83
isc::dhcp::ConfigBackendPoolDHCPv6::deleteSharedNetworkSubnets6
virtual uint64_t deleteSharedNetworkSubnets6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &shared_network_name)
Deletes all subnets belonging to a specified shared network.
Definition config_backend_pool_dhcp6.cc:402
isc::dhcp::ConfigBackendPoolDHCPv6::getOptionDef6
virtual OptionDefinitionPtr getOptionDef6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const uint16_t code, const std::string &space) const
Retrieves single option definition by code and space.
Definition config_backend_pool_dhcp6.cc:105
isc::dhcp::ConfigBackendPoolDHCPv6::deleteGlobalParameter6
virtual uint64_t deleteGlobalParameter6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &name)
Deletes global parameter.
Definition config_backend_pool_dhcp6.cc:515
isc::dhcp::ConfigBackendPoolDHCPv6::getClientClass6
virtual ClientClassDefPtr getClientClass6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &name) const
Retrieves a client class by name.
Definition config_backend_pool_dhcp6.cc:205
isc::dhcp::ConfigBackendPoolDHCPv6::deleteOptionDef6
virtual uint64_t deleteOptionDef6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const uint16_t code, const std::string &space, bool force=false)
Deletes option definition.
Definition config_backend_pool_dhcp6.cc:427
isc::dhcp::ConfigBackendPoolDHCPv6::createUpdateSubnet6
virtual void createUpdateSubnet6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const Subnet6Ptr &subnet)
Creates or updates a subnet.
Definition config_backend_pool_dhcp6.cc:269
isc::dhcp::ConfigBackendPoolDHCPv6::createUpdateSharedNetwork6
virtual void createUpdateSharedNetwork6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const SharedNetwork6Ptr &shared_network)
Creates or updates a shared network.
Definition config_backend_pool_dhcp6.cc:278
isc::dhcp::ConfigBackendPoolDHCPv6::deleteAllGlobalParameters6
virtual uint64_t deleteAllGlobalParameters6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector)
Deletes all global parameters.
Definition config_backend_pool_dhcp6.cc:524
isc::dhcp::ConfigBackendPoolDHCPv6::getAllServers6
virtual db::ServerCollection getAllServers6(const db::BackendSelector &backend_selector) const
Retrieves all servers from the particular backend.
Definition config_backend_pool_dhcp6.cc:251
isc::dhcp::ConfigBackendPoolDHCPv6::createUpdateOption6
virtual void createUpdateOption6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const OptionDescriptorPtr &option)
Creates or updates global option.
Definition config_backend_pool_dhcp6.cc:296
isc::dhcp::ConfigBackendPoolDHCPv6::deleteAllClientClasses6
virtual uint64_t deleteAllClientClasses6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector)
Deletes all client classes.
Definition config_backend_pool_dhcp6.cc:541
isc::dhcp::ConfigBackendPoolDHCPv6::getModifiedSubnets6
virtual Subnet6Collection getModifiedSubnets6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const boost::posix_time::ptime &modification_time) const
Retrieves subnets modified after specified time.
Definition config_backend_pool_dhcp6.cc:50
isc::dhcp::ConfigBackendPoolDHCPv6::deleteSubnet6
virtual uint64_t deleteSubnet6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &subnet_prefix)
Deletes subnet by prefix.
Definition config_backend_pool_dhcp6.cc:377
isc::dhcp::ConfigBackendPoolDHCPv6::getAllSubnets6
virtual Subnet6Collection getAllSubnets6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const
Retrieves all subnets.
Definition config_backend_pool_dhcp6.cc:40
isc::dhcp::ConfigBackendPoolDHCPv6::getRecentAuditEntries
virtual db::AuditEntryCollection getRecentAuditEntries(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const boost::posix_time::ptime &modification_time, const uint64_t &modification_id) const
Retrieves the most recent audit entries.
Definition config_backend_pool_dhcp6.cc:239
isc::dhcp::ConfigBackendPoolDHCPv6::getModifiedSharedNetworks6
virtual SharedNetwork6Collection getModifiedSharedNetworks6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const boost::posix_time::ptime &modification_time) const
Retrieves shared networks modified after specified time.
Definition config_backend_pool_dhcp6.cc:94
isc::dhcp::ConfigBackendPoolDHCPv6::deleteServer6
virtual uint64_t deleteServer6(const db::BackendSelector &backend_selector, const data::ServerTag &server_tag)
Deletes a server from the backend.
Definition config_backend_pool_dhcp6.cc:548
isc::dhcp::ConfigBackendPoolDHCPv6::getSharedNetworkSubnets6
virtual Subnet6Collection getSharedNetworkSubnets6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &shared_network_name) const
Retrieves all subnets belonging to a specified shared network.
Definition config_backend_pool_dhcp6.cc:61
isc::dhcp::ConfigBackendPoolDHCPv6::getAllOptionDefs6
virtual OptionDefContainer getAllOptionDefs6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const
Retrieves all option definitions.
Definition config_backend_pool_dhcp6.cc:117
isc::dhcp::ConfigBackendPoolDHCPv6::deleteAllOptionDefs6
virtual uint64_t deleteAllOptionDefs6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector)
Deletes all option definitions.
Definition config_backend_pool_dhcp6.cc:438
isc::dhcp::ConfigBackendPoolDHCPv6::getServer6
virtual db::ServerPtr getServer6(const db::BackendSelector &backend_selector, const data::ServerTag &server_tag) const
Retrieves a server from the particular backend.
Definition config_backend_pool_dhcp6.cc:259
isc::dhcp::ConfigBackendPoolDHCPv6::getModifiedClientClasses6
virtual ClientClassDictionary getModifiedClientClasses6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const boost::posix_time::ptime &modification_time) const
Retrieves client classes modified after specified time.
Definition config_backend_pool_dhcp6.cc:227
isc::dhcp::ConfigBackendPoolDHCPv6::getAllGlobalParameters6
virtual data::StampedValueCollection getAllGlobalParameters6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const
Retrieves all global parameters.
Definition config_backend_pool_dhcp6.cc:183
isc::dhcp::ConfigBackendPoolDHCPv6::deleteOption6
virtual uint64_t deleteOption6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const uint16_t code, const std::string &space, const ClientClassesPtr client_classes=ClientClassesPtr())
Deletes global option.
Definition config_backend_pool_dhcp6.cc:445
isc::dhcp::ConfigBackendPoolDHCPv6::getAllClientClasses6
virtual ClientClassDictionary getAllClientClasses6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const
Retrieves all client classes.
Definition config_backend_pool_dhcp6.cc:216
isc::dhcp::ConfigBackendPoolDHCPv6::createUpdateGlobalParameter6
virtual void createUpdateGlobalParameter6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const data::StampedValuePtr &value)
Creates or updates global string parameter.
Definition config_backend_pool_dhcp6.cc:350
isc::dhcp::ConfigBackendPoolDHCPv6::createUpdateOptionDef6
virtual void createUpdateOptionDef6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const OptionDefinitionPtr &option_def)
Creates or updates an option definition.
Definition config_backend_pool_dhcp6.cc:287
isc::dhcp::ConfigBackendPoolDHCPv6::deleteAllServers6
virtual uint64_t deleteAllServers6(const db::BackendSelector &backend_selector)
Deletes all servers from the backend except the logical server 'all'.
Definition config_backend_pool_dhcp6.cc:556
isc::dhcp::ConfigBackendPoolDHCPv6::createUpdateClientClass6
virtual void createUpdateClientClass6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const ClientClassDefPtr &client_class, const std::string &follow_class_name)
Creates or updates DHCPv6 client class.
Definition config_backend_pool_dhcp6.cc:359
isc::dhcp::ConfigBackendPoolDHCPv6::getGlobalParameter6
virtual data::StampedValuePtr getGlobalParameter6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &name) const
Retrieves global parameter value.
Definition config_backend_pool_dhcp6.cc:172
isc::dhcp::ConfigBackendPoolDHCPv6::getModifiedOptionDefs6
virtual OptionDefContainer getModifiedOptionDefs6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const boost::posix_time::ptime &modification_time) const
Retrieves option definitions modified after specified time.
Definition config_backend_pool_dhcp6.cc:127
isc::dhcp::ConfigBackendPoolDHCPv6::getSubnet6
virtual Subnet6Ptr getSubnet6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &subnet_prefix) const
Retrieves a single subnet by subnet_prefix.
Definition config_backend_pool_dhcp6.cc:18
isc::dhcp::ConfigBackendPoolDHCPv6::getModifiedGlobalParameters6
virtual data::StampedValueCollection getModifiedGlobalParameters6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const boost::posix_time::ptime &modification_time) const
Retrieves global parameters modified after specified time.
Definition config_backend_pool_dhcp6.cc:194
isc::dhcp::ConfigBackendPoolDHCPv6::deleteAllSharedNetworks6
virtual uint64_t deleteAllSharedNetworks6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector)
Deletes all shared networks.
Definition config_backend_pool_dhcp6.cc:420
isc::dhcp::ConfigBackendPoolDHCPv6::deleteSharedNetwork6
virtual uint64_t deleteSharedNetwork6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &name)
Deletes shared network by name.
Definition config_backend_pool_dhcp6.cc:411
isc::dhcp::ConfigBackendPoolDHCPv6::getAllOptions6
virtual OptionContainer getAllOptions6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const
Retrieves all global options.
Definition config_backend_pool_dhcp6.cc:151
isc::dhcp::ConfigBackendPoolDHCPv6::deleteAllSubnets6
virtual uint64_t deleteAllSubnets6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector)
Deletes all subnets.
Definition config_backend_pool_dhcp6.cc:395
isc::dhcp::ConfigBackendPoolDHCPv6::getOption6
virtual OptionDescriptorPtr getOption6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const uint16_t code, const std::string &space, const ClientClassesPtr client_classes=ClientClassesPtr()) const
Retrieves single option by code and space.
Definition config_backend_pool_dhcp6.cc:138
isc::dhcp::ConfigBackendPoolDHCPv6::getSharedNetwork6
virtual SharedNetwork6Ptr getSharedNetwork6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &name) const
Retrieves shared network by name.
Definition config_backend_pool_dhcp6.cc:72
isc::dhcp::ConfigBackendPoolDHCPv6::createUpdateServer6
virtual void createUpdateServer6(const db::BackendSelector &backend_selector, const db::ServerPtr &server)
Creates or updates a server.
Definition config_backend_pool_dhcp6.cc:369
isc::dhcp::ConfigBackendPoolDHCPv6::deleteClientClass6
virtual uint64_t deleteClientClass6(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &name)
Deletes DHCPv6 client class.
Definition config_backend_pool_dhcp6.cc:532
client_class_def.h
Defines classes for storing client class definitions.
config_backend_dhcp6.h
isc::data::StampedValuePtr
boost::shared_ptr< StampedValue > StampedValuePtr
Pointer to the stamped value.
Definition stamped_value.h:26
isc::data::StampedValueCollection
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.
Definition stamped_value.h:230
isc::db::ServerPtr
boost::shared_ptr< Server > ServerPtr
Shared pointer to the Server class.
Definition server.h:22
isc::db::AuditEntryCollection
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.
Definition audit_entry.h:291
isc::db::ServerCollection
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.
Definition server_collection.h:35
isc::dhcp
Definition dhcp4/client_handler.cc:20
isc::dhcp::OptionContainer
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 > >, boost::multi_index::hashed_non_unique< boost::multi_index::member< OptionDescriptor, bool, &OptionDescriptor::cancelled_ > >, boost::multi_index::hashed_non_unique< boost::multi_index::composite_key< OptionDescriptor, KeyFromKeyExtractor< boost::multi_index::const_mem_fun< Option, uint16_t, &Option::getType >, boost::multi_index::member< OptionDescriptor, OptionPtr, &OptionDescriptor::option_ > >, boost::multi_index::member< OptionDescriptor, ClientClasses, &OptionDescriptor::client_classes_ > > > > > OptionContainer
Multi index container for DHCP option descriptors.
Definition cfg_option.h:347
isc::dhcp::SharedNetwork6Collection
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.
Definition shared_network.h:462
isc::dhcp::Subnet6Ptr
boost::shared_ptr< Subnet6 > Subnet6Ptr
A pointer to a Subnet6 object.
Definition subnet.h:623
isc::dhcp::Subnet6Collection
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.
Definition subnet.h:934
isc::dhcp::ClientClassesPtr
boost::shared_ptr< ClientClasses > ClientClassesPtr
Smart pointer to ClientClasses object.
Definition classify.h:281
isc::dhcp::ClientClassDefPtr
boost::shared_ptr< ClientClassDef > ClientClassDefPtr
a pointer to an ClientClassDef
Definition client_class_def.h:347
isc::dhcp::OptionDefinitionPtr
boost::shared_ptr< OptionDefinition > OptionDefinitionPtr
Pointer to option definition object.
Definition option_definition.h:55
isc::dhcp::SharedNetwork6Ptr
boost::shared_ptr< SharedNetwork6 > SharedNetwork6Ptr
Pointer to SharedNetwork6 object.
Definition shared_network.h:267
isc::dhcp::OptionDescriptorPtr
boost::shared_ptr< OptionDescriptor > OptionDescriptorPtr
A pointer to option descriptor.
Definition cfg_option.h:38
isc::dhcp::SubnetID
uint32_t SubnetID
Defines unique IPv4 or IPv6 subnet identifier.
Definition subnet_id.h:25
isc::dhcp::OptionDefContainer
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.
Definition option_definition.h:856
isc
Defines the logger used by the top-level component of kea-lfc.
Definition check_exists_add.cc:18
option.h
option_definition.h
server_selector.h
server_tag.h
shared_network.h
stamped_value.h
subnet.h