summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2009-01-26Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-cfg into jennerStephen Hemminger
2009-01-26Cleanup type checkerStephen Hemminger
Use standard getprotoent() rather than manual parsing. Fix perlcritic warnings.
2009-01-21Add more IPv6 address and prefix validation functions.Bob Gilligan
2009-01-20Fix isIPinInterfacesStephen Hemminger
fix bug in conversion to Vyatta::Interface by rewriting/refactoring.
2009-01-18Fix regression in Vyatta::MiscStephen Hemminger
Handle requests for interfaces of a specific type
2009-01-13Better usage of NetAddr::IPStephen Hemminger
Only get address once, and don't call new() directly, use in OO style.
2009-01-13Ignore IPV6 addresses in getInterfacesIPadressesStephen Hemminger
This routine is used by DHCP server and needs to ignore IPV6 addresses. NB: Does not fix bogus spellung.
2009-01-12Better version of getIPadresses and getInterfacesdebian/0.14.2Stephen Hemminger
Use new Vyatta::Interface and sysfs to avoid using ifconfig and ip command unnecessarily.
2009-01-12Use new interfaces routinesStephen Hemminger
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.
2009-01-12Simplfy and cleanup misc interfacesStephen Hemminger
Use regex to identify legal IPV4 address, and get rid of perlcrtic warnings.
2009-01-12Use getservbyname to find portsStephen Hemminger
Rather than reading /etc/services directly, use the standard getservbyname function. This should be more efficient (uses dbm), and will work with other nameservices
2009-01-07New Vyatta::Interface infrastructureStephen Hemminger
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.
2008-12-20Fix 3815: FW: Hyphenated port names treated as ranges in firewall rules.Stig Thormodsrud
2008-12-20Fix 3626: Not all protocol numbers are accepted in firewall rules.Stig Thormodsrud
2008-12-12Fix 3991: Unable to configure DHCP server on a multinetted interfaceZStig Thormodsrud
2008-12-01"show interfaces" broken. Use new perl hierarchy.Stig Thormodsrud
2008-12-01"save" command broken - fix spelling error.Stig Thormodsrud
2008-11-25export getPortRuleStringStephen Hemminger
2008-11-24Need to fix some stuff from change to Vyatta::Stephen Hemminger
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...
2008-11-21Convert VyattaConfig (et al) to Vyatta::ConfigStephen Hemminger
Use hierarchal directory structure