NAME

Net::ISC::DHCPd::OMAPI::Control - OMAPI control class


SEE ALSO

the Net::ISC::DHCPd::OMAPI::Actions manpage. the Net::ISC::DHCPd::OMAPI::Meta::Attribute manpage.


SYNOPSIS

 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


METHODS

shutdown_server

 $bool = $self->shutdown_server;

Will shutdown the remote server. See dhcpd.8 for details.


ACKNOWLEDGEMENTS

Most of the documentation is taken from dhcpd(8).


COPYRIGHT & LICENSE


AUTHOR

See the Net::ISC::DHCPd manpage.