![]() |
Kea 2.2.0
|
Random allocator that picks address randomly. More...
#include <alloc_engine.h>
Inheritance diagram for isc::dhcp::AllocEngine::RandomAllocator:Public Member Functions | |
| RandomAllocator (Lease::Type type) | |
| Default constructor (does nothing) More... | |
Public Member Functions inherited from isc::dhcp::AllocEngine::Allocator | |
| Allocator (Lease::Type pool_type) | |
| Default constructor. More... | |
| virtual | ~Allocator () |
| Virtual destructor. More... | |
| virtual isc::asiolink::IOAddress | pickAddress (const SubnetPtr &subnet, const ClientClasses &client_classes, const DuidPtr &duid, const isc::asiolink::IOAddress &hint) |
| Picks one address out of available pools in a given subnet. More... | |
Additional Inherited Members | |
Protected Attributes inherited from isc::dhcp::AllocEngine::Allocator | |
| Lease::Type | pool_type_ |
| Defines pool type allocation. More... | |
Random allocator that picks address randomly.
Definition at line 238 of file alloc_engine.h.
| isc::dhcp::AllocEngine::RandomAllocator::RandomAllocator | ( | Lease::Type | type | ) |
Default constructor (does nothing)
| type | - specifies allocation type |
Definition at line 302 of file alloc_engine.cc.
References isc_throw.