blob: a78b23189589f09ac0b6845804dd0e1f8331936f [file] [log] [blame]
Vidyashree Rama918f1622016-07-28 17:33:15 +05301module ietf-network {
2 yang-version 1;
3 namespace "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 reference
13 "draft-ietf-i2rs-yang-network-topo-02";
14 }
15
16 container networks {
17 list network {
18 key "network-id";
19 leaf network-id {
20 type string;
21 }
22 list node {
23 key "node-id";
24 leaf node-id {
25 type string;
26 }
27 }
28 }
29 }
30}