A leaf with type "empty" is often times used to represent a boolean: present == 
set, not present == not set.  Is there a way in YANG to specify that the 
"empty" type leaf is "set" by default?  Perhaps like this:

    leaf flag {
        type empty;
        default "";
    }

Kent // contributor

_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to