summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Interface.pm
AgeCommit message (Collapse)Author
2009-07-30Add hw_address method for use in bondingStephen Hemminger
Bonding management needs easy way to find hardware address. Related to Bug 4758 (cherry picked from commit a4404bfb3c4243967a4434707213430d5c4df58e)
2009-06-12Make sure interface name regex are anchoredStephen Hemminger
This solves the problem that 'show interfaces ethernet' also shows pseudo ethernet (peth0) device. The problem was that peth0 matched the regex since it was missing start/end. (cherry picked from commit 77fb131b888bafd815722ebdceb5282b43dbb96d)
2009-05-16Add wireless device to tableStephen Hemminger
Place holder for future work.
2009-04-29Rename virtual-ethernet to pseudo-ethernetStephen Hemminger
Avoid name conflict with veth in Xen.
2009-04-27Fix path to virtual-ethernetStephen Hemminger
And indent net_prefix
2009-04-24Add support for virtual-ethernetsStephen Hemminger
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.