blob: ec01781577e13dff55b85e15a0fa2c55c3b91005 [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 grouping endpoint {
9 leaf address {
Vinod Kumar Sd4deb062016-04-15 18:08:57 +053010 type P:ip-address;
Gaurav Agrawalbd804472016-03-25 11:25:36 +053011 }
12 leaf port {
Vinod Kumar Sd4deb062016-04-15 18:08:57 +053013 type P:port-number;
Gaurav Agrawalbd804472016-03-25 11:25:36 +053014 }
15 }
16 grouping endpoint {
17 leaf address {
Vinod Kumar Sd4deb062016-04-15 18:08:57 +053018 type P:pip-address;
Gaurav Agrawalbd804472016-03-25 11:25:36 +053019 }
20 leaf port {
Vinod Kumar Sd4deb062016-04-15 18:08:57 +053021 type P:port-number;
Gaurav Agrawalbd804472016-03-25 11:25:36 +053022 }
23 }
24}