Yes Anil! There is a limitation due to the fact that we are using the datastore, and we cannot bypass the datastore since we need other features that we get by having data written to the datastore. Since openflow spec allows deletion based on cookie, is there a way this can be solved in a generic manner, so that all apps can benefit out of it? Each app maintaining cookie to flow-id list within themselves and doing a delete based on that, looks like an overhead.
Thanks, Faseela From: Anil Vishnoi [mailto:[email protected]] Sent: Saturday, December 16, 2017 1:15 PM To: Faseela K <[email protected]> Cc: [email protected] Subject: Re: [openflowplugin-dev] How to do cookie based flow deletion 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]<mailto:[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]<mailto:[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
