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;
82 description "Create parents if doesn't exist";
88 description "Add or delete";
94 description "No of DPNs";
100 description "Flows to be pushed per DPN";
102 leaf start-table-id {
106 description "Start adding flows from this table id";
112 description "The last table to add flows to and then wrap around";
118 description "batch size";
124 description "Whether to use sequential or concurrent writer";
130 description "Whether to use PingPong Broker or not. seq is ignored.";
136 description "sleep for the given milliseconds";
142 description "Sleep after the given number of iterations. Will be used in the concurrent case only";
153 description "Add or delete";
159 description "No of DPNs";
165 description "true for Config DS and false for Operational DS";
171 description "Flows to be pushed per DPN";
173 leaf start-table-id {
177 description "Start reading from this table id";
183 description "The last table id to read from and then wrap over";
188 rpc flow-rpc-add-test {
194 description "DPID to which flows are pushed";
200 description "Flows to be pushed per DPN";
202 leaf rpc-batch-size {
206 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";
211 rpc flow-rpc-add-multiple {
217 description "Flows to be pushed per DPN";
219 leaf rpc-batch-size {
223 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";
236 description "Type of operation, add or delete";
243 description "Total number of dpns to add these tables";
246 leaf start-table-id {
250 description "Starting table id";
257 description "Last table id";