blob: a8fad09be150b775b6c93491ef9cad37fbc03790 [file] [log] [blame]
Gaurav Agrawalf6ccc972016-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 leaf address {
Gaurav Agrawal1fbfae12016-03-29 02:17:23 +05308 type P:ip;
Gaurav Agrawalf6ccc972016-03-25 11:25:36 +05309 }
10 grouping endpoint {
11 leaf address {
Gaurav Agrawal1fbfae12016-03-29 02:17:23 +053012 type P:ip-address;
Gaurav Agrawalf6ccc972016-03-25 11:25:36 +053013 }
14 leaf port {
Gaurav Agrawal1fbfae12016-03-29 02:17:23 +053015 type P:port-number;
Gaurav Agrawalf6ccc972016-03-25 11:25:36 +053016 }
17 }
18 }
19}