Vidyashree Rama | 918f162 | 2016-07-28 17:33:15 +0530 | [diff] [blame^] | 1 | module ietf-network-topology { |
| 2 | yang-version 1; |
| 3 | namespace "ietf-vidya-topology"; |
| 4 | prefix lnk; |
| 5 | |
| 6 | import ietf-network { |
| 7 | prefix nd; |
| 8 | } |
| 9 | |
| 10 | revision 2015-12-08 { |
| 11 | description |
| 12 | "Initial revision. |
| 13 | NOTE TO RFC EDITOR: Please replace the following reference |
| 14 | to draft-ietf-i2rs-yang-network-topo-02 with |
| 15 | RFC number when published (i.e. RFC xxxx)."; |
| 16 | reference |
| 17 | "draft-ietf-i2rs-yang-network-topo-02."; |
| 18 | } |
| 19 | |
| 20 | augment "/nd:networks/nd:network" { |
| 21 | list link { |
| 22 | key "link-id"; |
| 23 | container source { |
| 24 | leaf source-node { |
| 25 | type string; |
| 26 | mandatory true; |
| 27 | } |
| 28 | leaf source-tp { |
| 29 | type string; |
| 30 | } |
| 31 | } |
| 32 | leaf link-id { |
| 33 | type string; |
| 34 | } |
| 35 | } |
| 36 | } |
| 37 | } |