PostgreSQL schema support for lease limits
Add the functionality to support lease limits to the PostgreSQL lease manager as outlined below:
-
Create lease count tables to track leases per client class and per subnet -
Create the triggers to update lease counts upon lease events: INSERT, UPDATE, DELETE -
Create a function or procedure that compares all the configured lease limits relevant to a packet to all the current lease counts of the respective client classes and subnets
Edited by Andrei Pavel