Net::ISC::DHCPd::OMAPI::Group - OMAPI group 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 $group = $omapi->new_object("group", { $attr => $value }); $group->$attr($value); # same as in constructor $group->read; # retrieve server information $group->set($attr => $value); # alter an update attr $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.
Actions: examine lookup modify.
Most of the documentation is taken from dhcpd(8)
.