summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-07-19more cleanup to new help impl.Michael Larson
2010-07-19modified handling of status return codes for child process.Michael Larson
2010-07-19modified syntax and commit checks now applied during commit.Michael Larson
modification allows for error statement to be placed after location of error node.
2010-07-16fix for bug 5789 and bug 5860Michael Larson
2010-06-28return false for invalid value instead of exitingAn-Cheng Huang
2010-06-25fix for bug 5721 and 5722--actually these were duplicates.Michael Larson
2010-06-24fix additional case for vyatta guard restarting under deletion of ↵Michael Larson
deactivated nodes.
2010-06-23partial fix for bug 5729 (comment #1).Michael Larson
2010-06-22add val_help mechanismAn-Cheng Huang
2010-06-21lstat checks should have been covered on last checkin.Michael Larson
additional fix for 5667
2010-06-18fix for bug 5701.Michael Larson
2010-06-10add value character restrictionAn-Cheng Huang
* disallow newline in value strings. * move check into lib.
2010-06-10fix for bug 5679.Michael Larson
2010-06-09cleanup and fix cases to handle activated deleted multinodes correctly. ↵Michael Larson
simplified deactivated nodes logic in commit.
2010-06-08fix for bug 5667. Moved the location of the deactivate check.Michael Larson
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.