Bug 3871: Deprecate opendaylight-inventory model.
[controller.git] / opendaylight / model / model-inventory / src / main / yang / netconf-node-inventory.yang
1 module netconf-node-inventory {
2     namespace "urn:opendaylight:netconf-node-inventory";
3     prefix "netinv";
4
5     import opendaylight-inventory { prefix inv; revision-date "2013-08-19";}
6     import yang-ext {prefix ext; revision-date "2013-07-09";}
7
8     revision "2014-01-08" {
9         description "Initial revision of Inventory model";
10     }
11
12     grouping netconf-node-fields {
13         status deprecated;
14         leaf connected {
15             type boolean;
16         }
17
18         leaf-list initial-capability {
19             type string;
20         }
21
22         leaf-list current-capability {
23             type string;
24         }
25
26         container pass-through {
27             when "../connected = true";
28             description
29                 "When the underlying node is connected, its NETCONF context
30                 is available verbatim under this container through the
31                 mount extension.";
32         }
33     }
34
35     augment /inv:nodes/inv:node {
36         ext:augment-identifier "netconf-node";
37         status deprecated;
38         uses netconf-node-fields;
39     }
40 }