summaryrefslogtreecommitdiff
path: root/src/cli_parse.y
AgeCommit message (Collapse)Author
2010-07-28add new cstore libraryAn-Cheng Huang
2010-05-31add constness to parse_defAn-Cheng Huang
2010-05-28always zero vtw_def struct before parsing templateAn-Cheng Huang
2010-05-06additional fixAn-Cheng Huang
2010-05-06fix parsing error in node.def--seen with boolean default values.Michael Larson
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.
2008-04-10partial fix for bug 2181: add new template field "priority".An-Cheng Huang
2008-02-06make parse error message more usefulAn-Cheng Huang
2008-02-05allow empty line after "tag:"An-Cheng Huang
2008-01-24add "official" support for "comp_help" and "allowed" in config templateAn-Cheng Huang
parser (ignored by backend).
2007-11-06fix for bug 2273: cli parser was overwriting "type help" with "node help".An-Cheng Huang
2007-09-25initial import (from eureka /cli) plus new build system.upstreamAn-Cheng Huang