Net::ISC::DHCPd::OMAPI::Group - OMAPI group class
Net::ISC::DHCPd::OMAPI::Actions. Net::ISC::DHCPd::OMAPI::Meta::Attribute.
use Net::ISC::DHCPd::OMAPI; $omapi = Net::ISC::DHCPd::OMAPI->new(...); $omapi->connect $group = $omapi->new_object("group", { $attr => $value }); $group->$attr($value); # same as in constructor $group->read; # retrieve server information $group->write; # write to server
$self->name($name); $str = $self->name;
The name of the group. All groups that are created using OMAPI must have names, and the names must be unique among all groups.
Actions: examine lookup modify.
$self->statements(\@statements); $self->statements("foo,bar"); $str = $self->statements;
A list of statements in the format of the dhcpd.conf file that will be executed whenever a message from a client whose host declaration references this group is processed.
Most of the documentation is taken from dhcpd(8).
dhcpd(8)
See Net::ISC::DHCPd.
To install Net::ISC::DHCPd, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::ISC::DHCPd
CPAN shell
perl -MCPAN -e shell install Net::ISC::DHCPd
For more information on module installation, please visit the detailed CPAN module installation guide.