revision-date 2013-02-27;
}
+ include subfoo {
+ revision-date "2013-02-27";
+ }
+
organization "opendaylight";
contact "http://www.opendaylight.org/";
reference " WILL BE DEFINED LATER";
}
+ typedef identifier {
+ type int32;
+ }
+
leaf int32-leaf {
type br:int32-ext2 {
range "12..max";
type br:string-ext4;
}
+ leaf invalid-pattern-string-leaf {
+ type br:invalid-string-pattern;
+ }
+
+ leaf invalid-direct-string-pattern-def-leaf {
+ type string {
+ pattern "[[A-1*-%22!^^}";
+ }
+ }
+
+ leaf multiple-pattern-string-leaf {
+ type br:multiple-pattern-string;
+ }
+
+ leaf multiple-pattern-direct-string-def-leaf {
+ type string {
+ pattern "[e-z]*";
+ pattern "[[A-1*-%22!^^}";
+ pattern "[a-d]*";
+ }
+ }
+
leaf length-leaf {
type br:string-ext2 {
length "7..max";
"(ifType = 'ethernet' and ifMTU = 1500)" {
error-message "An ethernet MTU must be 1500";
}
- mountpoint "mnt-extension";
+ foo:mountpoint "mnt-extension";
}
refine port {
description "description of port defined by refine";