blob: 26ccd1fbdc030917aef3797dbf26ce79ff81ac83 [file] [log] [blame]
janani be18b5342016-07-13 21:06:41 +05301module ietf-network {
2 yang-version 1;
3 namespace "urn:ietf:params:xml:ns:yang:ietf-network";
4 prefix nd;
5 container networks {
6 description
7 "Serves as top-level container for a list of networks.";
8 leaf network-id {
9 type leafref {
10 path "/status/current";
11 }
12 description
13 "Identifies a network.";
14 }
15 }
16 container status {
17 leaf current {
18 type uint8;
19 }
20 }
21 leaf network-ref {
22 type leafref {
23 path "/networks/network-id";
24 }
25 }
26}