blob: 28d3d229469027438a74e06f3cf0296952d15bd8 [file] [log] [blame]
Mahesh Poojary S6986df32016-07-19 10:58:07 +05301module Test {
2 yang-version 1;
3 namespace http://huawei.com;
4 prefix Ant;
5
6 leaf MyString {
7 type string {
8 length "0..4";
9 pattern "[0-9a-fA-F]*";
10 }
11 default "2bB2bB";
12 }
13}