I believe data store don't allow matching based delete, you can probably do bulk delete by deleting the entire node, but i believe that is not what you are looking for. Openflowplugin depends on how data is modified in the data store, it just acts to the data modification notification that it receives from data store. So as far as i know, this is a limitation from data store side. As an alternative you can use deleteFlow rpc that plugin expose, but again in that case cleaning the data store is users responsibility, because if switch will reconnect, all the flows will end up in the switch because they are still present in the config data store. It might not be that useful in your case, but i think that depends on the usecase.
On Fri, Dec 15, 2017 at 9:24 PM, Faseela K <[email protected]> wrote: > Hello, > > We in genius use opendaylight-inventory-nodes config DS, as the method > to push flows to the switch. > > But there are several delete use-cases, where a deletion based on a > cookie which will be far easier for us. > > Is there a way to do this, because we want to delete all entries in the > config DS which matches for a particular flow cookie? > > Thanks, > > Faseela > > _______________________________________________ > openflowplugin-dev mailing list > [email protected] > https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev > > -- Thanks Anil
_______________________________________________ openflowplugin-dev mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev
