Yes.  From the flow stats event, you should be able to do something like:
e.flows[0]["match"] to get the match dictionary to use with 
install_datapath_flow(), send_flow_command(), etc. for that flow.

-- Murphy

On Sep 2, 2011, at 3:16 PM, chris oleke wrote:

> Hi,
> 
> I am trying to create a rate-limiting functionality in my application using 
> the flow statistics that I obtain from the switch. I'm using the byte_count 
> from the flows to match against a threshold value that when exceeded will be 
> used to prompt flows to be dropped.  Is it possible to create a packet within 
> NOX that I would use to install a flow just like the case in a 
> packet_in_event? In other words I'd like to know if I can use the details 
> obtained from a particular flow statistic to create a packet and consequently 
> have a flow sent to the switch that will be used to drop the packets that 
> match the flow.
> 
> 
> Thanks,
> Chris 
> _______________________________________________
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev

_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev

Reply via email to