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