blob: 2457cbe18354b5790bb82a9c8ed79f84d3226292 [file] [log] [blame]
Gaurav Agrawalbd804472016-03-25 11:25:36 +05301module 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}