1 module opendaylight-inventory {
2 namespace "urn:opendaylight:inventory";
5 import yang-ext {prefix ext;}
6 import ietf-inet-types {prefix inet;}
7 import ietf-yang-types {prefix yang;}
10 revision "2013-08-19" {
11 description "Initial revision of Inventory model";
15 typedef support-type {
27 typedef node-connector-id {
32 type instance-identifier;
35 typedef node-connector-ref {
36 type instance-identifier;
39 identity node-context {
40 description "Identity used to mark node context";
43 identity node-connector-context {
52 list "node-connector" {
54 ext:context-instance "node-connector-context";
61 grouping node-connector {
63 type node-connector-id;
67 /** Base structure **/
71 ext:context-instance "node-context";
77 notification node-updated {
79 ext:context-reference "node-context";
85 notification node-connector-updated {
92 notification node-removed {
94 ext:context-reference "node-context";
99 notification node-connector-removed {
100 leaf node-connector-ref {
101 ext:context-reference "node-connector-context";