summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Interface.pm
AgeCommit message (Collapse)Author
2009-03-23Cleanup description stringStephen Hemminger
Remove trailing newline and any leading whitespace.
2009-03-23Remove #! /usr/bin/perlStephen Hemminger
The modules are not perl executables, they are modules. Fixes lintian warning
2009-03-02Remove duplicate constants.Stig Thormodsrud
2009-03-01Fix call to Vyatta::Misc::getIP()Stig Thormodsrud
2009-02-26Fix regex for VIF name extractionStephen Hemminger
Incorrect paren was breaking commands with VIF
2009-02-19Typo in regex for vtunStephen Hemminger
Wouldn't match openvpn tunnels correctly.
2009-02-18Add Vyatta::Interface::get_interfacesStephen Hemminger
Hook to get types listed in net_prefix table.
2009-02-10Add new option for checking name validityStephen Hemminger
Many templates should allow any known interface type, since interface may be created later. So create some generic hooks for validation.
2009-01-20Fix isIPinInterfacesStephen Hemminger
fix bug in conversion to Vyatta::Interface by rewriting/refactoring.
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-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.