blob: dfa8259f509f4af74e895252437b651e8d768c55 [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 container valid {
9 grouping endpoint {
10 leaf address {
Gaurav Agrawald9d6cc82016-03-29 02:17:23 +053011 type P:ip-address;
Gaurav Agrawalbd804472016-03-25 11:25:36 +053012 }
13 leaf port {
Gaurav Agrawald9d6cc82016-03-29 02:17:23 +053014 type P:port-number;
Gaurav Agrawalbd804472016-03-25 11:25:36 +053015 }
16 }
17 }
18}