Shankara-Huawei | 234cd09 | 2016-07-14 11:35:34 +0530 | [diff] [blame] | 1 | module IdentityIntraFile { |
| 2 | yang-version 1; |
| 3 | namespace http://huawei.com; |
| 4 | prefix IdentityIntraFile; |
| 5 | |
| 6 | import "IdentityInModule" { |
| 7 | prefix "IdentityInModule"; |
| 8 | } |
| 9 | |
| 10 | identity ipv4-address-family { |
| 11 | base IdentityInModule:ref-address-family; |
| 12 | } |
| 13 | |
| 14 | identity ipv6-address-family { |
| 15 | base IdentityInModule:ref-address-family; |
| 16 | } |
| 17 | |
| 18 | leaf tunnel { |
| 19 | type identityref { |
| 20 | base IdentityInModule:ref-address-family; |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | leaf-list network-ref { |
| 25 | type identityref { |
| 26 | base IdentityInModule:ref-address-family; |
| 27 | } |
| 28 | } |
| 29 | } |