OMAPI
Appearance
OMAPI is a sigle that stands for Object Management Application Programming Interface. It is currently used by ISC DHCP as an API to manipulate internal data structure of a running server in a secure way : the allowed modifications cannot impact the functionning server.
Actual allowed operation are :
- shutting down or reloading the server ;
- partially modifying internal data structure such as leases or host ;
- modifying status of objects such as failover relationship.
Offering a well defined API to access the data is an example of «barricade» in software engeneering
Reference
- Code complete 2nd Edition Steve Mc Connell section Defensive Programming
- Dhcp man page section OMAPI