NAME
WGmeta::ValidAttributes - Supported attribute configurations
DESCRIPTION
In this module all supported attribute names are defined. Currently this only affects "set($interface, $identifier, $attribute, $value [, $allow_non_meta, $forward_function])" in Wireguard::WGmeta::Wrapper::Config
SYNOPSIS
Add your own attributes to "WG_META_ADDITIONAL"
ATTRIBUTE SETS
WG_META_ADDITIONAL
Define your custom attributes here in the following format (the wg meta prefix can be omitted here):
'attribute-name-in-lower-case-and-separated-by-dashes' => {
'in_config_name' => 'Pretty name as it appear in config',
'validator' => <function-reference to validator function>
},
'other-attributes' => {
'in_config_name' => 'Other name'
'validator' => <function-reference to validator function>,
}
Validator functions can be defined in Wireguard::WGmeta::Validator