Age | Commit message (Collapse) | Author |
|
Use new Vyatta::Interface and sysfs to avoid using ifconfig
and ip command unnecessarily.
|
|
Unify all code that does name -> interface attribute translation
into one place. No need to pass interface path to scripts, and handle
addresses correctly in DHCP code. Use 'undef' consitently for false
in perl code.
|
|
Use regex to identify legal IPV4 address, and get rid of perlcrtic
warnings.
|
|
Rather than reading /etc/services directly, use the standard
getservbyname function. This should be more efficient (uses dbm),
and will work with other nameservices
|
|
Provide generic module to map interface name to configuration
and other attributes. This is first step to ripping the special
case code out of DHCP, QoS, ... that all have own rules for mapping
name to configuration and configuration to name.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I wanted to use Vyatta::Config::Output, but the perl part of the
autoconf installer is to stupid to handle directory trees, so had
to limit it to one directory per package. So name should have
been Vyatta::ConfigOutput...
|
|
Use hierarchal directory structure
|