summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-02-08Change order of config loadStephen Hemminger
OSPF and RIP have to be started before interfaces
2009-02-08Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-cfg into jennerStephen Hemminger
2009-02-06Merge branch 'jenner' of http://git.vyatta.com/vyatta-cfg into jennerStig Thormodsrud
2009-02-06Force firewall group to be configured before firewall.Stig Thormodsrud
2009-02-050.14.11debian/0.14.11Stephen Hemminger
2009-02-05Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-cfg into jennerStephen Hemminger
2009-02-05Merge branch 'jenner' of 192.168.100.1:git/vyatta-cfg into jennerStephen Hemminger
2009-02-05Move config reload from quagga to vyatta-cfgStephen Hemminger
More generally useful, and maintaince is better when closer to home
2009-02-050.14.10debian/0.14.10Stephen Hemminger
2009-02-05Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-cfg into jennerStephen Hemminger
2009-02-05Fix boolean errorStephen Hemminger
Earlier commit d8922b367e5d45dc8bb2b5dfba59d9473c3403e8 broke isChanged.
2009-02-040.14.9debian/0.14.9Bob Gilligan
2009-02-04Add type checking functions for 16- and 32-bit hexadecimal values.Bob Gilligan
2009-02-040.14.8debian/0.14.8Stephen Hemminger
2009-02-04Vyatta::Config - parseTmpl convert to 3 arg openStephen Hemminger
2009-02-04Vyatta::Config - exists simplificationStephen Hemminger
No need for if (-d node) { return ... can just use use return ( -d node )
2009-02-04Vyatta::ConfigOutput - test for exists should not use definedStephen Hemminger
exists returns a boolean so no need to explicitly check for defined.
2009-02-04Vyatta::Config - don't use global handle for opendirStephen Hemminger
Global file handles are trap waiting to happen.
2009-02-04Vyatta::Config - simplify booleanStephen Hemminger
When returning boolean no need to have if (expr) return 1; else return 0 Also the proper boolean for false is undef not 0.
2009-02-04Vyatta::Config - fix perlcritic warnings from dangling returnStephen Hemminger
2009-02-04Vyatta::Config::returnValue - change to three argument openStephen Hemminger
Using three argument open is safer against global handle clash, and accidental scripting.
2009-02-04Revert "Cleanup confg library"Stephen Hemminger
Save is broken by this, so do in smaller chunks.
2009-02-040.14.7debian/0.14.7Stephen Hemminger
2009-02-03Cleanup confg libraryStephen Hemminger
Make this code pass perl critic. Mostly by changing it to return proper booleans, and use three argument open.
2009-02-03Missing semicolonStephen Hemminger
Mistake in earlier change.
2009-02-03Simplify and add strict checksStephen Hemminger
2009-02-03Replace bare file handle with variableStephen Hemminger
PBP recommends using local variable rather than global file handle.
2009-02-03Simplify logicStephen Hemminger
Use || operator
2009-02-03Reindent load config for clarityStephen Hemminger
Run through perltidy.
2009-01-260.14.6debian/0.14.6Stephen Hemminger
2009-01-26DOMTree: Fix perlcritic warningsStephen Hemminger
Get rid of these: "return" statement with explicit "undef" at line 333, column 27. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 335, column 35. See page 199 of PBP. (Severity: 5) "return" statement with explicit "undef" at line 366, column 2. See page 199 of PBP. (Severity: 5)
2009-01-26Vyatta::Misc - Fix perl critic warningsStephen Hemminger
Eliminate warnings about 2 arg open, and non stricture.
2009-01-26ConfigOutput: Fix perlcritic warningStephen Hemminger
Minor fix: Code before strictures are enabled at line 31, column 1. See page 429 of PBP. (Severity: 5)
2009-01-260.14.5debian/0.14.5Stephen Hemminger
2009-01-26save_config: fix perlcritic warningsStephen Hemminger
Use three arg form of open etc.
2009-01-26config load: avoid possible bug in getConfigDiffStephen Hemminger
The map function operates on an alias of the passed list, so any modification of the elements has bad side effects. Make an explicit copy instead: Original warning: Don't modify $_ in list functions at line 410, column 17. See page 114 of PBP. (Severity: 5)
2009-01-26config load: fix perlcritic warningsStephen Hemminger
Fix the easy perlcritc warning about explicit return undef, and use strict
2009-01-26add lib to link when building vyatta-cfg soslioch
2009-01-26expose new cli functions in cfg library.slioch
2009-01-26Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-cfg into jennerStephen Hemminger
2009-01-26Cleanup type checkerStephen Hemminger
Use standard getprotoent() rather than manual parsing. Fix perlcritic warnings.
2009-01-220.14.4debian/0.14.4Bob Gilligan
2009-01-21Add more IPv6 address and prefix validation functions.Bob Gilligan
2009-01-20update unit testsStephen Hemminger
Add more unit tests.
2009-01-20Fix isIPinInterfacesStephen Hemminger
fix bug in conversion to Vyatta::Interface by rewriting/refactoring.
2009-01-18Fix regression in Vyatta::MiscStephen Hemminger
Handle requests for interfaces of a specific type
2009-01-140.14.3debian/0.14.3An-Cheng Huang
2009-01-13Better usage of NetAddr::IPStephen Hemminger
Only get address once, and don't call new() directly, use in OO style.
2009-01-13Add test for is_ip_v4Stephen Hemminger
More standalone test.