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 opendaylight-port-types {prefix port;revision-date "2013-09-25";}
8 import opendaylight-inventory {prefix inv;revision-date "2013-08-19";}
9 import opendaylight-table-types {prefix table;revision-date "2013-10-26";}
10 import opendaylight-flow-types {prefix flow;revision-date "2013-10-26";}
11 import opendaylight-group-types {prefix group;revision-date "2013-10-18";}
12 import opendaylight-meter-types {prefix meter;revision-date "2013-09-18";}
14 revision "2013-08-19" {
15 description "Flow Capable Node extensions to the Inventory model";
18 identity feature-capability {
21 identity flow-feature-capability-flow-stats {
22 description "Flow statistics";
23 base feature-capability;
26 identity flow-feature-capability-table-stats {
27 description "Table statistics";
28 base feature-capability;
31 identity flow-feature-capability-port-stats {
32 description "Port statistics";
33 base feature-capability;
36 identity flow-feature-capability-stp {
37 description "802.1d spanning tree";
38 base feature-capability;
41 identity flow-feature-capability-reserved {
42 description "Reserved, must be zero";
43 base feature-capability;
46 identity flow-feature-capability-ip-reasm {
47 description "Can reassemble IP fragments";
48 base feature-capability;
51 identity flow-feature-capability-queue-stats {
52 description "Queue statistics";
53 base feature-capability;
56 identity flow-feature-capability-arp-match-ip {
57 description "Match IP addresses in ARP pkts";
58 base feature-capability;
61 identity flow-feature-capability-group-stats {
62 description "Group statistics";
63 base feature-capability;
66 identity flow-feature-capability-port-blocked {
67 description "Switch will block looping ports";
68 base feature-capability;
73 type inv:support-type;
80 description "id for the specific queue";
83 container properties {
105 uses table:table-features;
150 container supported-match-types {
155 type string; // FIXME: Add identity
161 container supported-instructions {
162 list instruction-type {
166 type string; // FIXME: Add identity
171 container supported-actions {
177 type string; // FIXME: Add identity
182 container switch-features {
192 leaf-list capabilities {
194 base feature-capability;
201 grouping flow-node-connector {
203 uses port:flow-capable-port;
206 augment "/inv:nodes/inv:node" {
207 ext:augment-identifier "flow-capable-node";
211 augment "/inv:nodes/inv:node/inv:node-connector" {
212 ext:augment-identifier "flow-capable-node-connector";
213 uses flow-node-connector;
216 augment "/inv:node-updated" {
217 ext:augment-identifier "flow-capable-node-updated";
221 augment "/inv:node-updated/inv:node-connector" {
222 //ext:identical-augment "flow-capable-node-connector";
223 ext:augment-identifier "flow-capable-node-connector-update-fields";
224 uses flow-node-connector;
227 augment "/inv:node-connector-updated" {
228 ext:augment-identifier "flow-capable-node-connector-updated";
229 uses flow-node-connector;