Age | Commit message (Collapse) | Author |
|
|
|
|
|
modification allows for error statement to be placed after location of error node.
|
|
|
|
|
|
|
|
rather than using first type found in node.val file. also simplified type check.
|
|
|
|
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.
|
|
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.
|
|
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.
|
|
TRUE and FALSE are already defined in glib causing warnings.
|
|
Get rid of warnings for
push_path discards qualifiers from pointer target type.
|
|
The my_malloc() etc wrappers can be shrunk by using macros.
|
|
Add a version of touch and mkdir -p commands coded directly without
going out to shell.
|
|
Use gcc annotations for noreturn and printf like formats
|
|
Don't want accidental errors
|
|
variable. note this is appied to all c code access to the
edit env variable.
|
|
|
|
|
|
Multivalue nodes are diffed with previous value for validation before
commit.
|
|
exist (for existence checks in templates).
* add debug output.
|
|
|
|
* export {copy,free}_path().
|
|
|
|
|
|
|