NAME

Net::ISC::DHCPd::Config::OptionCode - Optionspace config param data

DESCRIPTION

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

An instance from this class, comes from / will produce one of the lines below, dependent on "quoted".

option $prefix_attribute_value.$name_attribute_value \
    code $code_attribute_value = $value_attribute_value;

option $prefix_attribute_value.$name_attribute_value \
    code $code_attribute_value = "$value_attribute_value";

This used to be under OptionSpace, but they can actually be seperated in dhcpd.conf files, which means they need to be parsed seperately. This actually makes the parsing easier because they're treated as individual lines.

There is no real difference between these and normal options, but I'm leaving them seperate in the parser to keep things easy.

SYNOPSIS

See Net::ISC::DHCPd::Config for synopsis.

ATTRIBUTES

prefix

Human readable prefix of this option. This is the parent of the option.

name

Human readable name of this option, without parent name prefix

code

Computer readable code for this option.

value

Value of the option, as a string.

quoted

This flag tells if the option value should be quoted or not.

METHODS

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.