Mahesh Poojary S | 6986df3 | 2016-07-19 10:58:07 +0530 | [diff] [blame] | 1 | module 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 | } |