summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Config.pm
AgeCommit message (Collapse)Author
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-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-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-05-05Fix warnings from using undefined variableStephen Hemminger
Several places in the the listNodes() code would generate warnings if strict warnings enabled because they had constructs like "$path $node" which aren't correct if $path was not defined.
2009-03-23Remove #! /usr/bin/perlStephen Hemminger
The modules are not perl executables, they are modules. Fixes lintian warning
2009-02-05Fix boolean errorStephen Hemminger
Earlier commit d8922b367e5d45dc8bb2b5dfba59d9473c3403e8 broke isChanged.
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::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-03Cleanup confg libraryStephen Hemminger
Make this code pass perl critic. Mostly by changing it to return proper booleans, and use three argument open.
2008-11-24Need to fix some stuff from change to Vyatta::Stephen Hemminger
I wanted to use Vyatta::Config::Output, but the perl part of the autoconf installer is to stupid to handle directory trees, so had to limit it to one directory per package. So name should have been Vyatta::ConfigOutput...
2008-11-21Convert VyattaConfig (et al) to Vyatta::ConfigStephen Hemminger
Use hierarchal directory structure