Gaurav Agrawal | f6ccc97 | 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 | container valid { | ||||
6 | grouping endpoint { | ||||
7 | leaf address { | ||||
8 | type ip-address; | ||||
9 | } | ||||
10 | leaf port { | ||||
11 | type port-number; | ||||
12 | } | ||||
13 | } | ||||
14 | grouping endpoint { | ||||
15 | leaf address { | ||||
16 | type ip-address; | ||||
17 | } | ||||
18 | leaf port { | ||||
19 | type port-number; | ||||
20 | } | ||||
21 | } | ||||
22 | } | ||||
23 | } |