Hi Murphy,

If i do not send any reply to openflow switch then what would happen to the 
packet which is waiting in openflow switch buffer id () for controller 
response. I guess that the packets which are not completely send to controller, 
just wait for controller reply. 

May be after some timeout, openflow switch may drop the packet (from buffer) by 
default but this may give chance to buffer becoming full.

Is this true in this context?

thanks,




--- On Thu, 22/9/11, Murphy McCauley <jam...@nau.edu> wrote:

From: Murphy McCauley <jam...@nau.edu>
Subject: Re: [nox-dev] command to drop the packet
To: "sachin sharma" <sharon_sac...@yahoo.co.in>
Cc: nox-dev@noxrepo.org
Date: Thursday, 22 September, 2011, 3:18 PM

OpenFlow switches do not forward by default, so to drop a packet, you simply 
don't forward it -- don't call send_openflow_packet() at all.
Of course, this assumes you don't have a flow table entry that says to forward 
it already installed.  If you do have such a rule, there's nothing you can do 
to stop an individual packet from being forwarded -- you'd have to uninstall 
the entry.

-- Murphy

On Sep 22, 2011, at 1:47 AM, sachin sharma wrote:
Hi,

I am interested to drop the packet from a particular buffer id. I found  
calling of following function from nox could help me in sending a command to 
openflow switch. 

send_openflow_packet(pi.datapath_id, buffer_id, action, pi.in_port, true);

I do not know what to write in place of action, I know in case of flooding i 
should write "action = OFPP_FLOOD". Can anyone please suggest me in this 
regards?

Thanks & Regards,
Sachin Sharma

_______________________________________________
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