janani b | 4e53f9b | 2016-04-26 18:49:20 +0530 | [diff] [blame^] | 1 | module Test { |
2 | yang-version 1; | ||||
3 | namespace http://huawei.com; | ||||
4 | prefix Ant; | ||||
5 | grouping Percentage { | ||||
6 | leaf hello{ | ||||
7 | type String; | ||||
8 | } | ||||
9 | } | ||||
10 | container ospf { | ||||
11 | list valid { | ||||
12 | key "invalid"; | ||||
13 | leaf invalid{ | ||||
14 | type String; | ||||
15 | } | ||||
16 | uses Ant:FirstClass; | ||||
17 | grouping FirstClass { | ||||
18 | uses PassingClass; | ||||
19 | } | ||||
20 | } | ||||
21 | grouping PassingClass { | ||||
22 | uses Ant:Percentage; | ||||
23 | } | ||||
24 | } | ||||
25 | } |