blob: f04641fee1c5788203ba3fb2d116208b69a926ac [file] [log] [blame]
Gaurav Agrawalf6ccc972016-03-25 11:25:36 +05301module Test {
2 yang-version 1;
3 namespace http://huawei.com;
4 prefix Ant;
Vinod Kumar Sf677daf2016-04-15 18:08:57 +05305 import ietf-yang-types {
6 prefix "P";
7 }
Gaurav Agrawalf6ccc972016-03-25 11:25:36 +05308 list valid {
9 key address;
10 leaf address {
Gaurav Agrawal1fbfae12016-03-29 02:17:23 +053011 type P:ip;
Gaurav Agrawalf6ccc972016-03-25 11:25:36 +053012 }
13 grouping endpoint {
14 description "grouping under test";
15 status current;
16 reference "RFC 6020";
17 leaf address {
Gaurav Agrawal1fbfae12016-03-29 02:17:23 +053018 type P:ip-address;
Gaurav Agrawalf6ccc972016-03-25 11:25:36 +053019 }
20 leaf port {
Gaurav Agrawal1fbfae12016-03-29 02:17:23 +053021 type P:port-number;
Gaurav Agrawalf6ccc972016-03-25 11:25:36 +053022 }
23 }
24 }
25}