Re: [nox-dev] More than one action

2009-10-29 Thread kk yap
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

Re: [nox-dev] More than one action

2009-10-29 Thread Chitra Muthukrishnan
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