blob: a9d1b3b70e72111b10b9a55087a6c9e0676bc5ab [file] [log] [blame]
Gaurav Agrawalbd804472016-03-25 11:25:36 +05301module Test {
2 yang-version 1;
3 namespace http://huawei.com;
4 prefix Ant;
Vinod Kumar Sd4deb062016-04-15 18:08:57 +05305 import ietf-yang-types {
6 prefix "P";
7 }
Gaurav Agrawalbd804472016-03-25 11:25:36 +05308 list valid {
9 key address;
10 grouping endpoint {
11 description "grouping under test";
12 status current;
13 reference "RFC 6020";
14 leaf address {
15 type ip-address;
16 }
17 leaf port {
18 type port-number;
19 }
20 }
21 leaf address {
22 type ip;
23 }
24 grouping endpoint {
25 description "grouping under test";
26 status current;
27 reference "RFC 6020";
28 leaf address {
29 type ip-address;
30 }
31 leaf port {
32 type port-number;
33 }
34 }
35 }
36}