summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Interface.pm
AgeCommit message (Collapse)Author
2010-04-15Rename in0 to ifb0Stephen Hemminger
Better name suggestion.
2010-04-06Defer reading ppp config until necessaryStephen Hemminger
Only read ppp peers and config if looking for config path. Other properties don't need it.
2010-04-06Add support for input interface in Interface moduleStephen Hemminger
2010-03-29Allow reading interface description outside config modeStephen Hemminger
The Interface() object doesn't work for PPP in operational mode. So split out interface_description routine.
2010-03-17Fix typo in adsl interface discoveryStephen Hemminger
Need to use correct path when searching config path.
2010-03-15Fix PPP serial QoS supportStephen Hemminger
Bug 5005 PPPOE devices live in multiple places in the tree, so code needs to go searching to find them.
2010-02-18add fucntion to return bridge-group that an interface might be assigned toMohit Mehta
2010-02-10Fix handling of pppoe devicesStephen Hemminger
PPPoE devices don't have VIF's and are named 'pppoeN' not 'pppN'.
2010-02-10Fix missing bracketStephen Hemminger
Interface.pm syntax error.
2010-02-09Add preliminary support for pppoe devicesStephen Hemminger
QoS needs to be able to convert from device name back to path in the config hierarchy. This is is a first step.
2009-11-04Fix missing semicolon.Stig Thormodsrud
2009-11-03Fix uninitialized variable when reading carrier on admin down interface.Stig Thormodsrud
2009-11-01Fix spelling error in carrier method.Stig Thormodsrud
2009-11-01Fix carrier method.Stig Thormodsrud
2009-11-01Add method to retrieve carrier value.Stig Thormodsrud
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.