summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-06-08fix for bug 5213An-Cheng Huang
* handle absolute variable references correctly.
2010-06-05add commit hook directory.Michael Larson
The entitlement bug can be fixed https://bugzilla.vyatta.com/show_bug.cgi?id=5354 by adding a hook into this directory.
2010-06-04fix for deactivated root node that is deleted and then committed.Michael Larson
Bug found my Mohit.
2010-06-03fixed break in regression on action failures. will revisit compilier warning ↵Michael Larson
for this conditional statement in subsequent checkin.
2010-06-02simplify output initAn-Cheng Huang
2010-06-02Additional fix to cli_new.c on arg.Michael Larson
2010-06-02more fixes for compilier warnings.Michael Larson
2010-06-02fix for compilier warnings in commit2.cMichael Larson
2010-06-01Remove unnecessary return statementsStephen Hemminger
Get rid of: return; }
2010-06-01bug fix for 5646. Suppress variable replacement if deactivated for disabled ↵Michael Larson
nodes (where variables reside).
2010-05-31fix for bug 5649. Need to initialize val_types for value comparison to ↵Michael Larson
ERROR_TYPE
2010-05-31add constness to parse_defAn-Cheng Huang
2010-05-28added hook at completion of commit process.Michael Larson
2010-05-28remove unnecessary memset callsAn-Cheng Huang
2010-05-28always zero vtw_def struct before parsing templateAn-Cheng Huang
2010-05-28Merge branch 'larkspur' of suva.vyatta.com:/git/vyatta-cfg into larkspurStephen Hemminger
2010-05-28Fix compiler warnings about overriding constStephen Hemminger
Change retrieve_data and srcDst to use const. This fixes compiler warnings about violating const rules.
2010-05-28fix bad comparison in multiple-type checkMichael Larson
2010-05-27include needed headerAn-Cheng Huang
2010-05-26fix for multiple type support in cli for the following case:Michael Larson
1) If multiple types are defined and one type is a submatch of the other type (i.e. ipv4 and ipv4net) 2) And one string is a submatch of the other (i.e. 3.3.3.3 and 3.3.3.3/32) 3) Then compare data types before comparing for value equality Fixes problem where the ipv4net wouldn't let the ipv4 value from being set if the ipv4 was a substring of the ipv4net.
2010-05-21don't count current node towards limit if it already matches a node in the ↵Michael Larson
configuration.
2010-05-21Rename sysfs to net_setStephen Hemminger
Less chance of name collision, and useful for /proc as well.
2010-05-21Merge branch 'larkspur' of vm:git/vyatta-cfg into larkspurStephen Hemminger
2010-05-21Add command to get/set sysfs filesStephen Hemminger
By using a command (instead of echo), it is possible to set capability and avoid sudo.
2010-05-20fixed seg violation on commit due to extended multiple types support in ↵Michael Larson
valstruct.
2010-05-20fixed error message on multinode limit exceeded--refer to parent node name, ↵Michael Larson
not value.
2010-05-20fix for bug 5618. needed to extend valstruct to maintain multiple types ↵Michael Larson
rather than using first type found in node.val file. also simplified type check.
2010-05-19modified tag limit == 1. Now when set this node will only allow a single ↵Michael Larson
instance. todo update the parsing structure to support a signed value to support embedded tag node value of 1 (current behavior)--will address this in the future (or when this behavior is requested).
2010-05-06additional fixAn-Cheng Huang
2010-05-06fix parsing error in node.def--seen with boolean default values.Michael Larson
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-22support for PARENT reference in priority statements. Example:Michael Larson
priority: PARENT Means that this priority group will adopt the priority value of the parent. And the behavior on deletion of this priority root node will be deleted before the parent. On all other operations this node will be scheduled after the parent. This should fix problems in scheduling creation/deletion orders for priority groups so long as they are located within the same hierarchy. priority.pl has been updated as well.
2010-04-15Multiple (i.e. one or two) datatypes can now be supported on a node.def type ↵Michael Larson
definition. type: ipv4,ipv6 Will now allow for the value to validated against both data types (or the first success). In the case of both failing the following message format will be returned: vyatta@vyatta# set load-balancing wan rule 1 "1" is not a valid value of type "bool" "1" is not a valid value of type "ipv4" Note, that any combination of types with text being one of the types is not supported. The reason being is that with text any value is allowed, therefore it doesn't really make sense to validate a datatype on text + ipv4 when text will always be successful.
2010-04-13fix for bug 2176.Michael Larson
Embedded leaf nodes can now be supported in the cli structure. In additional an arbritrary limit can be set on the number of multinode values allowed. Format in the node.def is: tag: [u32] or multi: [u32] For the special case of a leaf node the value for u32 is 1. In this case the operation applied to the node is to replace the node with the set value. This generates a delete of the old tree structure from the embedded leaf and a set of the new tree structure from the embedded leaf.
2010-03-29changed double quotes to single quotes on in commit actions.Michael Larson
2010-03-26fix for bug 5300Michael Larson
2010-03-12Print node name before the warning message.Stig Thormodsrud
2010-02-15fixed problem with sibling environment variable flag. Also addedMichael Larson
designition for single entry (FIRSTLAST).
2009-12-01remove .changes file after work was done by commitMichael Larson
2009-11-10preserve node.val order for term multinodes. fix for bug 5103Michael Larson
2009-11-05Merge branch 'kenwood' of http://git.vyatta.com/vyatta-cfg into kenwoodBob Gilligan
2009-11-05Allow inline comments in config template fields.Bob Gilligan
Also change priority.pl script to display inline comments found in "priority:" fields if they are present.
2009-11-02fix for missing priority value on embedded multinode. bug behavior was more ↵slioch
limited than this--at least tag node.def and multiple configuration on commit. tested fix with limited regression test. also slightly modified break on priority values where embedded multinodes with priority values are treated as discrete transactions (which isolates failures within the multinode and not the parent of the multinode).
2009-10-23dismantle old priority file parsing and node matching code. removedslioch
references to old values.
2009-10-22activate priority values from node.def. priority file is now no longer used ↵slioch
and should be considered depricated.
2009-10-21priorities should match up on all nodes now, except where the priority file ↵slioch
diverges from the node.defs commit behavior has not changed yet, but can be completely switched over to node.def priority system with simple change.
2009-10-21preserve priorities in hierarchy. old priority still active, but commit -s ↵slioch
will now display both priorities: interfaces (t: 0, p: 850,850) the first value is from the old priority file and is the active value, the second value is the value retrieved from the node.def and is not used (yet).
2009-10-21pull priority from file into data structureslioch
2009-10-15new commit mode for debugging.slioch
-b Breaks on each priority group before execution and waits for user keystroke to proceed. this allows for examination of system before and after each priority group has been applied