NAME

Net::ISC::DHCPd::Config::FailoverPeer - Failover Peer Configuration

DESCRIPTION

See Net::ISC::DHCPd::Config::Role for methods and attributes without documentation.

An instance from this class, comes from / will produce the block below:

$name_attribute_value $value_attribute_value;

failover peer "$name" {
    $primary;
    address dhcp-primary.example.com;
    port 519;
    peer address dhcp-secondary.example.com;
    peer port 520;
    max-response-delay 60;
    max-unacked-updates 10;
    mclt 3600;
    split 128;
    load balance max seconds 3;
}

SYNOPSIS

See "SYNOPSIS" in Net::ISC::DHCPd::Config.

ATTRIBUTES

name

Name of the key - See "DESCRIPTION" for details.

arguments

This is an array of arguments supplied to the failover peer.

regex

See "regex" in Net::ISC::DHCPd::Config::Role.

children

Modules with slurp need this special children variable to trick the parser into recursively processing them.

METHODS

slurp

This method is used by "parse" in Net::ISC::DHCPd::Config::Role, and will slurp the content of the function, instead of trying to parse the statements.

captured_to_args

See "captured_to_args" in Net::ISC::DHCPd::Config::Role.

generate

See "generate" in Net::ISC::DHCPd::Config::Role.

COPYRIGHT & LICENSE

AUTHOR

See Net::ISC::DHCPd.