Hi Murphy McCauley, Sorry, KK answer the question about Nox several days before, so I think, maybe KK is mainly for answer the question about Nox. Yes, I used the "delete_datapath_flow" before "install_datapath_flow", I need to change the Action of the flow entry, So I first need to delete the related flow entry and then add the new flow entry. I don't know why the "flow expired " about the switch. Thansk for your kindly reply.
Best regards ------------------ Yang 2011-06-02 在2011-06-02 16:14:14, yangyu...@gmail.com 写到: >Well, I'm not KK, but if you'll accept a thought from just anyone... > >The most likely cause here is that one of the flow's timeouts is causing the >flow to expire. There is an "idle timeout" (if the flow isn't matched within >that period of time, the flow expires), and a "hard timeout" (the flow always >expires after that amount of time). These are specified in seconds in the >third and fourth parameters to install_datapath_flow(). The special value >OFP_FLOW_PERMANENT (0) means they should never expire. > >If you are setting these timeouts to appropriate values but the flows are >still expiring quickly, you might want to actually look at the >ofp_flow_removed message, either by writing a handler for it, or just looking >at the traffic in Wireshark. There is a "reason" field which specifies >whether the flow was removed due to the idle timeout, the hard timeout, or >because it was manually deleted. > >-- Murphy > >On Jun 2, 2011, at 12:14 AM, 杨宇 wrote: > >> Hi, kk, >> When I use the nox funcion "install_datapath_flow " to send a flow entry >> to the switch , the switch has the following response, and also this flow >> entry dose not installed on the flow table , what's the reason? >> >> 00072|openflow-event|DBG:received flow expired event from 000000000003 >> >> Best regards. >> >> yang. >> 2011-06-02 >> >> >> >> >> >> _______________________________________________ >> 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