summaryrefslogtreecommitdiff
path: root/src/cli_parse.y
AgeCommit message (Collapse)Author
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