janani b | e18b534 | 2016-07-13 21:06:41 +0530 | [diff] [blame] | 1 | module 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 | } |
| 8 | grouping te-node-tunnel-termination-capability { |
| 9 | 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 |
| 28 | } |