I'm not sure what "action" is in this context. In a typical case in POX, you'd be appending to the action list of a an ofp_packet_out or ofp_flow_mod ("msg"): msg.actions.append(of.ofp_action_output(port=...)) msg.actions.append(of.ofp_action_output(port=...))
Or just: msg.actions = [ of.ofp_action_output(port=1), of.ofp_action_output(port=2) ] -- Murphy On Apr 25, 2014, at 1:27 AM, Chanthan Hel <hel.chantha...@gmail.com> wrote: > Dear Murphy, > So it looks like, > action(of.ofp_action_output(port=......)) > action(of.ofp_action_output(port=......)) > action(of.ofp_action_output(port=......)) > if we want to get 3 packet out > > > > On Fri, Apr 25, 2014 at 3:23 PM, Murphy McCauley <murphy.mccau...@gmail.com> > wrote: > The actions list on flow-mods and packet-outs are executed sequentially, so > if I'm understanding you correctly, you can simply use multiple output > actions. > > -- Murphy > > On Apr 25, 2014, at 1:08 AM, Chanthan Hel <hel.chantha...@gmail.com> wrote: > > > Dear all, > > First of all thanks so much for your help in previous time. > > I send 1 packet from requester when that packet reach the first switch I > > want controller to do action on that packet by copy 2 more packets then > > send those 3 same packets to the next switch. > > Can pox do that?? > > if it can, which message of pox we can use? > > Thanks, > > Chanthan > > > > > > -- > > Mr. Chanthan Hel > > Electrical engineering, Faculty of Engineering, > > Chulalongkorn University (CU) > > > > *Phone: +66 81 456 84 27* > > > > > > > -- > Mr. Chanthan Hel > Electrical engineering, Faculty of Engineering, > Chulalongkorn University (CU) > > *Phone: +66 81 456 84 27* >