This sounds like something you could implement using Open vSwitch's "learn" extension; you might look into that if you're okay with making it specific to Open vSwitch.
Depending on what you're doing, you could also consider having the packet *always* sent to the controller and let the controller decide what to do with it (drop it or not). -- Murphy On Jul 16, 2015, at 1:43 AM, nor masri sahri <masri.sa...@gmail.com> wrote: > thank you murphy for your reply. i know that the action for entry can be set > to send any packet that match rule to controller, but my intention is like > this. I want to purposely set entry action as "drop" at first. After that the > packet that hit the entry will timeout and retransmit (same header info). > when the second packet hit the entry, i want the packet to notify/to be sent > to controller for further action. Is it possible?thank you murphy for your > hint and help > > On Thu, Jul 16, 2015 at 4:51 PM, Murphy McCauley <murphy.mccau...@gmail.com> > wrote: > OpenFlow has a virtual port for the controller (OFPP_CONTROLLER). If you add > an output action to your entry which specifies it as the output port, packets > hitting the entry will be sent to the controller (similar as to when there's > a table miss). If you don't do this, packets hitting the entry won't be sent > to the controller. > > -- Murphy > > On Jul 16, 2015, at 12:47 AM, nor masri sahri <masri.sa...@gmail.com> wrote: > > > hi everyone, is there any mechanism in openflow that after flow entry has > > been installed, whenever packet that match the entry has the ability to > > notify/not to notify the controller? (switch to controller message) > > thanks. > > > > -- > > Regards, > > > > masri.sahri > > > > _______________________________________________ > > openflow-discuss mailing list > > openflow-discuss@lists.stanford.edu > > https://mailman.stanford.edu/mailman/listinfo/openflow-discuss > > > > > -- > Regards, > > masri.sahri >
_______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/openflow-discuss