blob: 6a5897605fd8c67414bbdc1bda7d8eea9bc62de7 [file] [log] [blame]
Shankara-Huaweidf7b9ca2016-07-14 11:35:34 +05301module IdentityTypedef {
2 yang-version 1;
3 namespace http://huawei.com;
4 prefix IdentityTypedef;
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 type15;
20 }
21
22 leaf-list network-ref {
23 type type15;
24 }
25
26 typedef type15 {
27 type identityref {
28 base IdentityInModule:ref-address-family;
29 }
30 }
31}