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 Net::ISC::DHCPd::Config::Role::parent attribute with an undef value. This is used to see that we are at the top level.
subnets
List of parsed Net::ISC::DHCPd::Config::Subnet objects.
hosts
List of parsed Net::ISC::DHCPd::Config::Host objects.
options
List of parsed Net::ISC::DHCPd::Config::Option 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 Net::ISC::DHCPd.