Gaurav Agrawal | bd80447 | 2016-03-25 11:25:36 +0530 | [diff] [blame] | 1 | module Test { |
| 2 | yang-version 1; |
| 3 | namespace http://huawei.com; |
| 4 | prefix Ant; |
Vinod Kumar S | d4deb06 | 2016-04-15 18:08:57 +0530 | [diff] [blame] | 5 | import ietf-yang-types { |
| 6 | prefix "P"; |
janani b | 4e53f9b | 2016-04-26 18:49:20 +0530 | [diff] [blame] | 7 | } |
| 8 | grouping endpoint { |
| 9 | } |
Gaurav Agrawal | bd80447 | 2016-03-25 11:25:36 +0530 | [diff] [blame] | 10 | list valid { |
| 11 | key address; |
| 12 | leaf address { |
Gaurav Agrawal | d9d6cc8 | 2016-03-29 02:17:23 +0530 | [diff] [blame] | 13 | type P:ip; |
Gaurav Agrawal | bd80447 | 2016-03-25 11:25:36 +0530 | [diff] [blame] | 14 | } |
| 15 | uses endpoint { |
| 16 | description "grouping under test"; |
| 17 | status current; |
| 18 | reference "RFC 6020"; |
| 19 | } |
| 20 | } |
| 21 | } |