summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Interface.pm
AgeCommit message (Collapse)Author
2024-06-30T6527: remove legacy Perl library componentsChristian Breunig
2020-02-28Interface: T2080: adjust to denesting of PPPoEChristian Poessinger
2015-02-08vyatta-cfg: set the path for a vrrp interface correctlyAlex Harpin
Update the path set when the interface in question is a VRRP so it points to vrrp vrrp-group vrid rather than vrrp vrid. Along with the patch for bug #7, this now shows the description correctly for a VRRP interface. Bug #130 http://bugzilla.vyos.net/show_bug.cgi?id=130
2014-10-08Add QinQ support to the intf name to path function.Daniil Baturin
2014-10-06vyatta-cfg: return correct path for pppoe or pppoa interfacesAlex Harpin
Fix for the _ppp_int function so it returns the actual ethernet interface associated with the ppp device rather than an empty string. As a result the path function now returns the correct configuration path for the interface. Linked to Bug #321 http://bugzilla.vyos.net/show_bug.cgi?id=321 Bug #333 http://bugzilla.vyos.net/show_bug.cgi?id=333
2014-10-06vyatta-cfg: formatting changes for style consistencyAlex Harpin
Update lib/Vyatta/Interface.pm to have consistent identation levels and style throughout.
2014-03-18Add support for l2tpv3higebu
2012-08-14Rewrite interface prefix matchingStephen Hemminger
Bug 8279 Read network device name prefixes from file.
2012-08-01Add support for vswitchStephen Hemminger
Placeholder for possible future work.
2012-06-26Make dataplane matching less restrictiveStephen Hemminger
Anything starting with dp[0-9] is a dataplane interface
2012-06-22Add new function to find hash of configured addressesStephen Hemminger
Useful to optimize lookup and resolve issue in Bz 8171
2012-06-22Make indentation consistentStephen Hemminger
Use indent of 4 and break long lines.
2012-06-21Simplify name matching regexStephen Hemminger
Turns out that [\d]+ is same as \d+ since \d is the class of all digits and [] is the set operator
2012-06-21Allow dataplane interface name dp0em0Stephen Hemminger
2012-06-21Remove trailing whitespaceStephen Hemminger
Extra whitespace causes git to complain when integrating patches.
2012-05-16Merge branch 'pacifica' of http://git.vyatta.com/vyatta-cfg into pacificaSaurabh Mohan
2012-05-16Support for VTI.Saurabh Mohan
2012-05-10Bugfix 8079: fix require sys/ioctl.ph confilctsJohn Southworth
perl only allows a require to be done once. If it is done in two included modules the module or function in the module used second doesn't have the data in the required file in its scope. To prevent this I created a third module that contains the functions that require 'sys/ioctl.ph' so that there is no longer a conflict.
2012-04-30Match from beginning of the line for multilink deviceJohn Southworth
2012-04-30Bugfix 8017:John Southworth
Make parsing of multilink config options work properly. Multilink interfaces have one allowed vif. They do not show up with the same way as all the other vifs on the system, i.e. <if>.<vif>. In order for scripts using a generic config path parsing mechanism to work with multilink interfaces we must return the path with 'vif 1' appended after 'mlX' e.g. 'interfaces multilink mlX vif 1' is the proper path for options under the 'interface multilink mlX' tree.
2012-04-09Use ioctl() to read interface flagsStephen Hemminger
Bug 8006 Interface running state is only visible through ioctl() or netlink. The flag is not exported via sysfs properly.
2012-03-22adjust pppoe interface detection for non-userlandJohn Southworth
2011-12-16Add support for dataplane configStephen Hemminger
2011-12-05Fix typo in vrid split in Interfaces moduleJohn Southworth
2011-12-05Fix bug in vrrp interface handlingJohn Southworth
2011-12-02Add vrrp interface support to Interface libraryJohn Southworth
2011-10-12Provide accessor for the net_prefix hashJohn Southworth
2011-07-05Move the is_uniq_address function to Interface.pmJohn Southworth
2010-08-12add required special cases for adsl/pppo* interfaces.An-Cheng Huang
2010-08-12add util function to Interface.pmAn-Cheng Huang
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