Robert Drake
and 1 contributors

NAME

Net::ISC::DHCPd::OMAPI::Lease - OMAPI lease class

DESCRIPTION

This class does the roles Net::ISC::DHCPd::OMAPI::Actions and Net::ISC::DHCPd::Role::Lease. See also Net::ISC::DHCPd::OMAPI::Meta::Attribute.

SYNOPSIS

 use Net::ISC::DHCPd::OMAPI;

 $omapi = Net::ISC::DHCPd::OMAPI->new(...);
 $omapi->connect
 $lease = $omapi->new_object("lease", { $attr => $value });
 $lease->$attr($value); # same as in constructor
 $lease->read; # retrieve server information
 $lease->write; # write to server

COPYRIGHT & LICENSE

AUTHOR

See Net::ISC::DHCPd.