Hi, In most of the examples that I see, the controller sends an ofp_flow_mod instructing the switch to take 1 action for a rule. I am wondering how to specify 2 actions for a rule. Do we just send two messages- 1 for each action? Or is there some other message format to specify 2 actions for a match?
-Chitra On Thu, Oct 29, 2009 at 10:46 AM, kk yap <[email protected]> wrote: > Hi Chitra, > > You have to construct a ofp_flow_mod message (specified in openflow.h) > and send it to the switch. In NOX, I typically use a boost shared > array to hold the message, then it is just a send_openflow_command. I > cannot find a very clean segment of code, but you can look at > routing.cc for try to follow through it. > > Regards > KK > > 2009/10/29 Chitra Muthukrishnan <[email protected]>: > > I believe the controller can specify many actions to be taken for a > matching > > packet. > > I need a switch to send some packets to the controller and forward it to > an > > output port. > > Can someone tell me how we can construct such rules with nox? > > > > -Chitra > > > > _______________________________________________ > > nox-dev mailing list > > [email protected] > > http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org > > > > >
_______________________________________________ nox-dev mailing list [email protected] http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
