blob: b8a5d9898abea69b1d91d4d4c6f6eaca09d0fe22 [file] [log] [blame]
janani be18b5342016-07-13 21:06:41 +05301module module1 {
2 yang-version 1;
3 namespace "urn:ietf:params:xml:ns:yang:ietf-te-topology";
4 prefix "tet";
5 import module2 {
6 prefix "nt";
7 }
janani b23ccc312016-07-14 19:35:22 +05308 container te-node-tunnel-termination-capability {
janani be18b5342016-07-13 21:06:41 +05309 description
10 "Termination capability of a tunnel termination point on a
11 TE node.";
12 list termination-capability {
13 key "link-tp";
14 description
15 "The termination capabilities between
16 tunnel-termination-point and link termination-point.
17 The capability information can be used to compute
18 the tunnel path.";
19 leaf link-tp {
20 type leafref {
21 path "/nt:termination-point/nt:tp-id";
22 }
23 description
24 "Link termination point.";
25 }
26 } // termination-capability
27 } // te-node-tunnel-termination-capability
janani b23ccc312016-07-14 19:35:22 +053028}