blob: 161b558a5b6303fe6157ea0240343b4638841070 [file] [log] [blame]
Gaurav Agrawal3a6b5562016-05-03 00:47:40 +05301module Test {
2 yang-version 1;
3 namespace http://huawei.com;
4 prefix Ant;
5 leaf invalid-interval {
6 type hello {
7 pattern "[a-z]";
8 pattern "[A-Z]";
9 length "min..20 | 100..max";
10 }
11 }
12 typedef hello {
13 type string {
14 pattern "[0-9]";
15 pattern "[\n]";
16 }
17 }
18}