Gaurav Agrawal | bd80447 | 2016-03-25 11:25:36 +0530 | [diff] [blame] | 1 | module Test { |
2 | yang-version 1; | ||||
3 | namespace http://huawei.com; | ||||
4 | prefix Ant; | ||||
5 | list valid { | ||||
6 | key address; | ||||
7 | grouping endpoint { | ||||
8 | description "grouping under test"; | ||||
9 | status current; | ||||
10 | reference "RFC 6020"; | ||||
11 | leaf address { | ||||
12 | type ip-address; | ||||
13 | } | ||||
14 | leaf port { | ||||
15 | type port-number; | ||||
16 | } | ||||
17 | } | ||||
18 | leaf address { | ||||
19 | type ip; | ||||
20 | } | ||||
21 | grouping endpoint { | ||||
22 | description "grouping under test"; | ||||
23 | status current; | ||||
24 | reference "RFC 6020"; | ||||
25 | leaf address { | ||||
26 | type ip-address; | ||||
27 | } | ||||
28 | leaf port { | ||||
29 | type port-number; | ||||
30 | } | ||||
31 | } | ||||
32 | } | ||||
33 | } |