summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Config.pm
AgeCommit message (Collapse)Author
2010-06-09fix another default value display problemAn-Cheng Huang
2010-06-07Additional apis missing support for deactivate node. problem was seen when ↵Michael Larson
reactivating bgp neighbor node.
2010-06-05fix for bug 5643. API changes missed exists(). flag check added.Michael Larson
2010-06-03 implemented modified notation for pre-commit activate/deactivate. added ↵Michael Larson
check on modified nodes prior to load. modified active directory check.
2010-06-03fix for 5565.Michael Larson
2010-06-02fix for bug 5647.Michael Larson
2010-05-28make space after template fields optionalAn-Cheng Huang
2010-05-28addition support for deactivate mode in perl api. Nodes should now be masked ↵Michael Larson
when deactivated--deactivated nodes will appear as deleted.
2010-05-27fix for content-inspection on deactivate.Michael Larson
further changes forthcoming to the perl api to support interfaces outside of listNodes.
2010-05-25final fix for 5610. fixes loading where node in active config is deactivated ↵Michael Larson
and is active in loaded configuration.
2010-05-14POC implementation of unified enumeration mechanismAn-Cheng Huang
* use "enumeration" template field for both CLI completion and GUI2 enumeration support. * CLI completion now uses enumeration if it exists. * add "existing-interfaces" script as an example.
2010-05-14initial checkin of comment feature for cli.Michael Larson
/* to create a comment */ > comment [PATH-TO-NODE] "my comments" /* to delete a comment */ > comment [PATH-TO-NODE] ""
2010-05-05boot loader support now added. various bug fixes and some small rework.Michael Larson
2010-05-04initial working version of activate and deactivate: load,save,show,commit ↵Michael Larson
supported.
2010-04-16multinode limit and multiple types now supported through config.pmMichael Larson
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-05add function for traversing template hierarchyAn-Cheng Huang
2010-02-10improve default value parsingAn-Cheng Huang
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-01fix for bug 4999Michael Larson
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