2 namespace "urn:opendaylight:bulk-flow:service";
5 import opendaylight-inventory {prefix inv;revision-date "2013-08-19";}
6 import opendaylight-flow-types {prefix types;revision-date "2013-10-26";}
7 import flow-node-inventory {prefix flow-inv; revision-date "2013-08-19";}
9 description "Openflow bulk flow management.";
11 revision "2015-06-08" {
12 description "Initial revision of bulk flow service";
15 grouping bulk-flow-base-content-grouping {
16 uses inv:node-context-ref;
20 grouping bulk-flow-list-grouping {
21 description "Suitable for rpc way";
23 uses bulk-flow-base-content-grouping;
27 grouping bulk-flow-ds-list-grouping {
28 description "Suitable for dataStore way - includes flowId";
29 list bulk-flow-ds-item {
30 uses bulk-flow-base-content-grouping;
33 type flow-inv:flow-id;
39 description "register mbean etc. via rpc invocation.";
43 description "Adding multiple flows to openflow device via direct rpc invocation.";
45 uses bulk-flow-list-grouping;
49 rpc remove-flows-rpc {
50 description "Removing multiple flows from openflow device via direct rpc invocation.";
52 uses bulk-flow-list-grouping;
57 description "Adding multiple flows to openflow device via dataStore.";
59 leaf always-create-parents {
60 description "true if all items must take care of parent structure";
64 uses bulk-flow-ds-list-grouping;
69 description "Removing multiple flows from openflow device via dataStore.";
71 uses bulk-flow-ds-list-grouping;
81 description "Add or delete";
87 description "No of DPNs";
93 description "Flows to be pushed per DPN";
99 description "Start adding flows from this table id";
105 description "The last table to add flows to and then wrap around";
111 description "batch size";
117 description "Whether to use sequential or concurrent writer";
123 description "Whether to use PingPong Broker or not. seq is ignored.";
129 description "sleep for the given milliseconds";
135 description "Sleep after the given number of iterations. Will be used in the concurrent case only";
146 description "Add or delete";
152 description "No of DPNs";
158 description "true for Config DS and false for Operational DS";
164 description "Flows to be pushed per DPN";
166 leaf start-table-id {
170 description "Start reading from this table id";
176 description "The last table id to read from and then wrap over";
181 rpc flow-rpc-add-test {
187 description "DPID to which flows are pushed";
193 description "Flows to be pushed per DPN";
195 leaf rpc-batch-size {
199 description "Batch-size which would be sent continuously without any pause, If less than sal-bulk-flow:flow-count, a fixed pause of 40 ms would be introduced";
204 rpc flow-rpc-add-multiple {
210 description "Flows to be pushed per DPN";
212 leaf rpc-batch-size {
216 description "Batch-size which would be sent continuously without any pause, If less than sal-bulk-flow:flow-count, a fixed pause of 40 ms would be introduced";