blob: 73796f4024a3d7a3f09fad487d219c08f795c1f4 [file] [log] [blame]
janani b9ed76be2017-08-29 19:11:33 +05301/*
2WARNING:
3This yang model is just for fuction ONOS opensource project demo purpose only,
4And is subject to change in future, Huawei does not commit provide compatibilty
5in commercial product.
6*/
7module ne-tnlm {
8 namespace "ne-tnlm";
9 prefix tnlm;
10
11 import ne-l3vpncomm-type {
12 prefix l3vpncomm-type;
13 }
14 import ne-tnlm-type {
15 prefix tnlmtype;
16 }
17 organization "Huawei Technologies Co., Ltd";
18 contact "Huawei Industrial Base
19 Bantian, Longgang
20 Shenzhen 518129
21 People's Republic of China
22 Website: http://www.huawei.com
23 Email: support@huawei.com";
24 description "VRP V800R010 Schema";
25 revision "2014-12-25" {
26 reference "Huawei VRPV8 Schema";
27 }
28 container devices {
29 list device {
30 key deviceid;
31 leaf deviceid {
32 type string;
33 }
34 container tnlm {
35 container tunnelPolicys {
36 list tunnelPolicy {
37 key tnlPolicyName;
38 leaf tnlPolicyName {
39 type string;
40 }
41 leaf tnlPolicyType {
42 type tnlmtype:tnlmbaseTnlPolicyType;
43 }
44 container tpNexthops {
45 list tpNexthop {
46 key nexthopIPaddr;
47 leaf nexthopIPaddr {
48 type "l3vpncomm-type:ipv4Address";
49 }
50 leaf tnlPolicyName {
51 type string;
52 }
53 container tpTunnels {
54 list tpTunnel {
55 key "tunnelName";
56 leaf autoTunnel {
57 type boolean;
58 }
59 leaf tunnelName {
60 type string;
61 }
62 }
63 }
64 }
65 }
66 }
67 }
68 }
69 }
70 }
71}