Vidyashree Rama | 72719fa | 2016-07-15 14:06:56 +0530 | [diff] [blame] | 1 | module ietf-network { |
2 | yang-version 1; | ||||
3 | namespace "urn:ietf:params:xml:ns:yang:ietf-network"; | ||||
4 | prefix nd; | ||||
5 | |||||
6 | revision 2015-12-08 { | ||||
7 | description | ||||
8 | "Initial revision. | ||||
9 | NOTE TO RFC EDITOR: Please replace the following reference | ||||
10 | to draft-ietf-i2rs-yang-network-topo-02 with | ||||
11 | RFC number when published (i.e. RFC xxxx)."; | ||||
12 | } | ||||
13 | |||||
14 | container networks { | ||||
15 | list network { | ||||
16 | key "network-id"; | ||||
17 | leaf network-id { | ||||
18 | type string; | ||||
19 | } | ||||
20 | list node { | ||||
21 | key "node-id"; | ||||
22 | leaf node-id { | ||||
23 | type string; | ||||
24 | } | ||||
25 | } | ||||
26 | } | ||||
27 | } | ||||
28 | } |