Thanks Murphy I will try this. Actually I am doing this to drop flows of users when flows from some priority users arrive so that their traffic can pass with no delay. This is really helpful I will try this.
On Tue, May 7, 2013 at 8:20 AM, Murphy McCauley <murphy.mccau...@gmail.com>wrote: > Certainly you can delete flows by sending an ofp_flow_mod. Selecting > which ones you want to delete is the potentially tricky part and will > depend on which ones you want to delete and why. Potentially you can just > pay attention to how many you've installed and how many have expired (by > setting the removal notification flag when you install them) and not > install any more after you reach 40. > > -- Murphy > > > On May 2, 2013, at 4:03 PM, Sayed Qaiser Ali Shah Shah wrote: > > No no, I got you point regarding queues. I am talking about flow entries > in flow table e.g lets say that flow entries reach 40 then is there anyway > to delete entries from flow table by sending some sort of command from > remote controller. and how that command should be initiated? > > On Fri, May 3, 2013 at 3:58 AM, Murphy McCauley <murphy.mccau...@gmail.com > > wrote: > >> On May 2, 2013, at 3:52 PM, Sayed Qaiser Ali Shah Shah wrote: >> >> Thanks for your reply. >> >> So, is it possible to delete flow entries from OVS flow table when it >> reached some limit by sending some sort of command from POX controller? >> >> >> When what reaches a limit? The flow table size? Or are you still >> talking about queues? If you mean queues, the answer is no. OVS and >> OpenFlow are not meant for queue manipulation. >> >> -- Murphy >> >> >> On Fri, May 3, 2013 at 3:32 AM, Murphy McCauley < >> murphy.mccau...@gmail.com> wrote: >> >>> It sounds like you're talking about monitoring and manipulating the >>> contents of queues, which is a very fine-grained operation that must >>> operate at very small timescales. This isn't addressed by OpenFlow and >>> probably isn't suitable for a remote controller. OpenFlow allows for >>> assigning packets from a flow to a specific queue -- once they're past that >>> point, they're out of OpenFlow's hands. I don't think OVS provides >>> anything beyond that. >>> >>> You may be able to achieve what you want by assigning flows to queues >>> intelligently (e.g., put the things you may want to drop into a lower >>> priority queue). If not, what you want to do is modify the queuing code >>> (e.g., either in the Linux kernel or by using something like Click). >>> >>> -- Murphy >>> >>> On May 2, 2013, at 11:12 AM, Sayed Qaiser Ali Shah Shah wrote: >>> >>> Hello Everybody, >>> >>> I am working on queues in OVS and using POX controller. I have created >>> queues in OVS and am assigning flows to Queues via POX controller. I can >>> delete flows from OVS manually but I want to do is dynamically delete flows >>> from queue, so that controller tells OVS to delete specific flow from queue >>> when its full and how can we check that whether queue is full or not? Is >>> there any technique to do this? As far as I searched, I didn't find any >>> such thing on Internet. >>> >>> -- >>> *Regards >>> >>> Sayed Qaiser Ali Shah >>> MSIT-12 >>> NUST (SEECS)* >>> >>> >>> >> >> >> -- >> *Regards >> >> Sayed Qaiser Ali Shah >> MSIT-12 >> NUST (SEECS)* >> >> >> > > > -- > *Regards > > Sayed Qaiser Ali Shah > MSIT-12 > NUST (SEECS)* > > > -- *Regards Sayed Qaiser Ali Shah MSIT-12 NUST (SEECS)*