summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2010-03-28Fix perlcritic warningsStephen Hemminger
Don't explicitly return undef. Also no need to test for file existance, then open it. Just do open, and if that fails file does not exist.
2010-03-24Merge branch 'larkspur' of http://git.vyatta.com/vyatta-cfg into larkspurStig Thormodsrud
2010-03-24Fix 5203: negation in firewall rule causes deprecation messageStig Thormodsrud
2010-03-19Need explicit return to guarantee returning falseStephen Hemminger
If perl function falls off the end, it will return the result of the last expression. For these functions, the idea was to return a false value; and it the return was missing.
2010-03-17Fix typo in adsl interface discoveryStephen Hemminger
Need to use correct path when searching config path.
2010-03-16use template to determine leaf nodesAn-Cheng Huang
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-03-05add function for traversing template hierarchyAn-Cheng Huang
2010-02-24reapply term multinode sorting. fix for bug 5376Michael Larson
2010-02-23Hide wireless and tunnel key valuesStephen Hemminger
Don't want to show WPA and WEP and VPN keys.
2010-02-18add fucntion to return bridge-group that an interface might be assigned toMohit Mehta
2010-02-10improve default value parsingAn-Cheng Huang
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.
2010-02-09add util functionAn-Cheng Huang
2009-12-04Fix problem from earlier FILE handle removal in Config.pmStephen Hemminger
Need 'my'
2009-12-04Fix perlcritic warnings in Config.pmStephen Hemminger
Config.pm: Bareword file handle opened at line 156, column 7. See pages 202,204 of PBP. (Severity: 5) Config.pm: Bareword file handle opened at line 353, column 7. See pages 202,204 of PBP. (Severity: 5) Config.pm: Bareword file handle opened at line 429, column 7. See pages 202,204 of PBP. (Severity: 5)
2009-12-04Fix perlcritic warnings in KeepalivedStephen Hemminger
Keepalived.pm: Code before strictures are enabled at line 25, column 1. See page 429 of PBP. (Severity: 5) Keepalived.pm: "return" statement with explicit "undef" at line 280, column 2. See page 199 of PBP. (Severity: 5)
2009-12-01fix for bug 4999Michael Larson
2009-12-01Fix 5133: vrrp transition scripts not working properly when going to backupStig Thormodsrud
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-01Add natural order sort.Stig Thormodsrud
2009-11-01Fix carrier method.Stig Thormodsrud
2009-11-01Convert keepalived to use Interface infrastructure.Stig Thormodsrud
2009-11-01Add method to retrieve carrier value.Stig Thormodsrud
2009-10-31Add VRRP capability to bonding interfaces and vifs of bonding interfaces.David S. Madole
2009-09-11Fix Bug 4919 "service dns" branch of configuration file missing ...Mohit Mehta
* use new API to get active 'original + commited' values * split 'dns forwarding' and 'dns dynamic' into different priorities
2009-09-11term multinodes perl api support to provide currently committed values.Michael Larson
2009-09-11leaf node support for new commit. Returns reconciled processed node ↵Michael Larson
returnOrigPlusComValue() no term multinode leaf support yet.
2009-09-09fix for bug 4697. Added range value check that start must be less than or ↵slioch
equal to stop address
2009-08-13Skip more wireless interfacesStephen Hemminger
Hostapd creates mon.wlanX interfaces which are not something we need to make visible.
2009-08-12Skip wmaster interface in operational commandsStephen Hemminger
Ignore the bogus wmaster interface
2009-08-07check if port name is valid for both tcp and udp when protocol tcp_udpMohit Mehta
2009-07-31Merge branch 'kenwood' of http://git.vyatta.com/vyatta-cfg into kenwoodslioch
2009-07-31cleaned out more of the islavista rank code. closing bug 4473 as a resultslioch
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-07-10Fix 4623: Removing IPSEC VPN config without removing cluster ipsec config ↵Stig Thormodsrud
drops all interfaces. Only use substring if necessary. (cherry picked from commit abfbae9c05c6c7b4bccb2255d91a32ef1bccd1c1)
2009-07-08fixed isActive() api to now support mixed level and passed in relative path ↵slioch
values. (cherry picked from commit f6d95484a2f04633767409a565debe149ef5f56c)
2009-07-08added isActive function in perl code to allow a comparison of activeslioch
(active plus working commited) nodes for comparison. (cherry picked from commit a09624069795b49d12fd5d4be40dd2eb702b97a4)
2009-07-06Merge branch 'kenwood' of http://git.vyatta.com/vyatta-cfg into kenwoodslioch
2009-07-06bugsfixed in active+working node merge for perl api.slioch
2009-07-06updated perl api for new cli to support working node representation. not yet ↵slioch
functional without additional testing.
2009-07-02add function to check if a firewall ruleset isActiveMohit Mehta
2009-06-12add validation for bash special charactersAn-Cheng Huang
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-06-12add "restrictive_filename" to TypeCheckerAn-Cheng Huang
2009-06-03change default-policy to default-action for zonesMohit Mehta