src/cli_new.c   |  185 +++++++++++++++++++++++++++++++++++++-------------------
 src/cli_parse.y |    6 +
 src/cli_val.h   |    1 
 src/commit2.c   |    7 +-
 4 files changed, 138 insertions(+), 61 deletions(-)

New commits:
commit 6e99cd44d88e70cce50f1e6fa105525809d8409e
Author: Michael Larson <[email protected]>
Date:   Thu Apr 15 13:39:40 2010 -0700

    Multiple (i.e. one or two) datatypes can now be supported on a node.def 
type 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:
    
    vya...@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.

http://suva.vyatta.com/git/?p=vyatta-cfg.git;a=commitdiff;h=6e99cd44d88e70cce50f1e6fa105525809d8409e
_______________________________________________
svn mailing list
[email protected]
http://mailman.vyatta.com/mailman/listinfo/svn

Reply via email to