Net::ISC::DHCPd::OMAPI::Control - OMAPI control class
the Net::ISC::DHCPd::OMAPI::Actions manpage. the Net::ISC::DHCPd::OMAPI::Meta::Attribute manpage.
use Net::ISC::DHCPd::OMAPI;
$omapi = Net::ISC::DHCPd::OMAPI->new(...); $omapi->connect $control = $omapi->new_object("control", { $attr => $value }); $control->$attr($value); # same as in constructor $control->read; # retrieve server information $control->set($attr => $value); # alter an update attr $control->write; # write to server
$bool = $self->shutdown_server;
Will shutdown the remote server. See dhcpd.8
for details.
Most of the documentation is taken from dhcpd(8)
.