Toggling/Pausing DHCPD via OMAPI
Joshua West
jwest at brandeis.edu
Wed Jul 28 14:39:14 UTC 2010
Hey folks,
I'm trying to figure out a way in which I can start up DHCPD in a
"paused" state -- like one with the "authoritative;" declaration not
set. After DHCPD is started, but not answering DHCP requests, I'd like
to populate it with information (host objects, etc) via OMAPI, and then
toggle/switch it into an unpaused state, so that it begins answering
DHCP requests.
The OMAPI host object population is not an issue for me; its just the
toggling DHCPD operation while its still running. I've looked into the
'state' attribute within the control object, as well as the
failover-state attribute in the failover peer state object's 'my state'
attribute, but neither of these seem to do what I'm looking for.
In addition, I'd want DHCPD to *start* in a paused state, to be toggled
as operational later. This is to avoid a race between when DHCPD starts
up and when its toggled as paused.
I'd like to do all of this via OMAPI, instead of adjusting things like
firewall rules on the DHCP server itself for when DHCPD is paused vs.
unpaused.
I'm currently working with DHCPD 4.1.1 P1.
Anybody know if this is possible?
Thanks.
--
Joshua West
Senior Systems Engineer
Brandeis University
http://www.brandeis.edu
More information about the dhcp-users
mailing list