summaryrefslogtreecommitdiff
path: root/src/set.c
AgeCommit message (Collapse)Author
2010-06-02simplify output initAn-Cheng Huang
2010-05-28remove unnecessary memset callsAn-Cheng Huang
2010-05-21don't count current node towards limit if it already matches a node in the ↵Michael Larson
configuration.
2010-05-20fixed error message on multinode limit exceeded--refer to parent node name, ↵Michael Larson
not value.
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-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.
2009-10-09commit post-processing performance optimizationAn-Cheng Huang
* convert subshell invocations to library function calls. * reduce boot time by ~40 seconds for "certain configuration".
2008-07-29Avoid overhead of systemStephen Hemminger
Use mkdir and file operations rather than overhead of escaping to system() shell.
2008-04-22create def file to mark configuration nodes that are created by default, ↵Michael Larson
rather than a node with a default value created by a user. partial fix for bug 1219. Allows system to differentiate between active def nodes versus user created nodes with def values.
2008-02-19exit after encountering parse error when handling default values.An-Cheng Huang
2008-02-01fix for bug 2258: setting an existing node doesn't cause error.An-Cheng Huang
2007-11-08* output error message if set/delete/commit fails.An-Cheng Huang
* remove compiler warnings.
2007-11-02fix for bug 2425: add all default values along the configuration path.An-Cheng Huang
2007-11-01fix cli backend bug: syntax checking for leaf value nodes involvingAn-Cheng Huang
variable references was not working.
2007-10-31fix cli backend bug: disallow setting values for type-less nodes.An-Cheng Huang
2007-10-30handle config lockingAn-Cheng Huang
2007-10-29general cleanup of CLI outputAn-Cheng Huang
2007-10-29redirect output by defaultAn-Cheng Huang
2007-09-25initial import (from eureka /cli) plus new build system.upstreamAn-Cheng Huang