1 module flow-node-inventory {
2 namespace "urn:opendaylight:flow:inventory";
5 import yang-ext {prefix ext; revision-date "2013-07-09";}
6 import ietf-inet-types {prefix inet; revision-date "2010-09-24";}
7 import ietf-yang-types {prefix yang; revision-date "2010-09-24";}
8 import opendaylight-port-types {prefix port;revision-date "2013-09-25";}
9 import opendaylight-inventory {prefix inv;revision-date "2013-08-19";}
10 import opendaylight-table-types {prefix table;revision-date "2013-10-26";}
11 import opendaylight-flow-types {prefix flow;revision-date "2013-10-26";}
12 import opendaylight-group-types {prefix group;revision-date "2013-10-18";}
13 import opendaylight-meter-types {prefix meter;revision-date "2013-09-18";}
15 revision "2013-08-19" {
16 description "Flow Capable Node extensions to the Inventory model";
19 identity feature-capability {
22 identity flow-feature-capability-flow-stats {
23 description "Flow statistics";
24 base feature-capability;
27 identity flow-feature-capability-table-stats {
28 description "Table statistics";
29 base feature-capability;
32 identity flow-feature-capability-port-stats {
33 description "Port statistics";
34 base feature-capability;
37 identity flow-feature-capability-stp {
38 description "802.1d spanning tree";
39 base feature-capability;
42 identity flow-feature-capability-reserved {
43 description "Reserved, must be zero";
44 base feature-capability;
47 identity flow-feature-capability-ip-reasm {
48 description "Can reassemble IP fragments";
49 base feature-capability;
52 identity flow-feature-capability-queue-stats {
53 description "Queue statistics";
54 base feature-capability;
57 identity flow-feature-capability-arp-match-ip {
58 description "Match IP addresses in ARP pkts";
59 base feature-capability;
62 identity flow-feature-capability-group-stats {
63 description "Group statistics";
64 base feature-capability;
67 identity flow-feature-capability-port-blocked {
68 description "Switch will block looping ports";
69 base feature-capability;
74 type inv:support-type;
81 description "id for the specific queue";
84 container properties {
95 type uint32; // Note: This doesn't really belong here, and not sure if unint32 is right
106 uses table:table-features;
151 container supported-match-types {
155 type string; // FIXME: Add identity
161 container supported-instructions {
162 list instruction-type {
165 type string; // FIXME: Add identity
170 container supported-actions {
175 type string; // FIXME: Add identity
180 container switch-features {
190 leaf-list capabilities {
192 base feature-capability;
199 grouping flow-node-connector {
201 uses port:flow-capable-port;
204 augment "/inv:nodes/inv:node" {
205 ext:augment-identifier "flow-capable-node";
209 augment "/inv:nodes/inv:node/inv:node-connector" {
210 ext:augment-identifier "flow-capable-node-connector";
211 uses flow-node-connector;
214 augment "/inv:node-updated" {
215 ext:augment-identifier "flow-capable-node-updated";
219 augment "/inv:node-updated/inv:node-connector" {
220 //ext:identical-augment "flow-capable-node-connector";
221 ext:augment-identifier "flow-capable-node-connector-update-fields";
222 uses flow-node-connector;
225 augment "/inv:node-connector-updated" {
226 ext:augment-identifier "flow-capable-node-connector-updated";
227 uses flow-node-connector;