NAME

Net::ISC::DHCPd::Config::Root - Role to parse and create ISC DHCPd config


ATTRIBUTES

file

 $str = $self->file;

Holds the path to the config file.

parent

 $self = $self->parent;

This override parent in the Net::ISC::DHCPd::Config::Role manpage attribute with an undef value. This is used to see that we are at the top level.

subnets

List of parsed the Net::ISC::DHCPd::Config::Subnet manpage objects.

hosts

List of parsed the Net::ISC::DHCPd::Config::Host manpage objects.

options

List of parsed the Net::ISC::DHCPd::Config::Option manpage objects.


METHODS

generate

 $config_text = $self->generate;

Will turn object tree into a actual config, which can be written to file.


COPYRIGHT & LICENSE


AUTHOR

See the Net::ISC::DHCPd manpage.