Robert Drake
and 1 contributors

NAME

Net::ISC::DHCPd::OMAPI::Group - OMAPI group class

SEE ALSO

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

SYNOPSIS

 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

ATTRIBUTES

name

 $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.

statements

 $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.

ACKNOWLEDGEMENTS

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

COPYRIGHT & LICENSE

AUTHOR

See Net::ISC::DHCPd.