<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">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"):<div>msg.actions.append(of.ofp_action_output(port=...))</div><div><div>msg.actions.append(of.ofp_action_output(port=...))</div><div><br></div><div>Or just:</div><div>msg.actions = [ of.ofp_action_output(port=1), of.ofp_action_output(port=2) ]</div><div><br></div><div>-- Murphy</div><div><div><br><div><div>On Apr 25, 2014, at 1:27 AM, Chanthan Hel <<a href="mailto:hel.chanthan65@gmail.com">hel.chanthan65@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Dear Murphy,<div>So it looks like,</div><div>action(of.ofp_action_output(port=......))</div><div>action(of.ofp_action_output(port=......))<br></div><div>action(of.ofp_action_output(port=......))<br></div><div>
if we want to get 3 packet out</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 25, 2014 at 3:23 PM, Murphy McCauley <span dir="ltr"><<a href="mailto:murphy.mccauley@gmail.com" target="_blank">murphy.mccauley@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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.<br>

<span class="HOEnZb"><font color="#888888"><br>
-- Murphy<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Apr 25, 2014, at 1:08 AM, Chanthan Hel <<a href="mailto:hel.chanthan65@gmail.com">hel.chanthan65@gmail.com</a>> wrote:<br>
<br>
> Dear all,<br>
> First of all thanks so much for your help in previous time.<br>
> 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.<br>
> Can pox do that??<br>
> if it can, which message of pox we can use?<br>
> Thanks,<br>
> Chanthan<br>
><br>
><br>
> --<br>
> Mr. Chanthan Hel<br>
> Electrical engineering, Faculty of Engineering,<br>
> Chulalongkorn University (CU)<br>
><br>
> *Phone: <a href="tel:%2B66%2081%20456%2084%2027" value="+66814568427">+66 81 456 84 27</a>*<br>
><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Mr. Chanthan Hel<br>Electrical engineering, Faculty of Engineering,<br>Chulalongkorn University (CU)<br><br>*Phone: +66 81 456 84 27*<br><br>
</div>
</blockquote></div><br></div></div></div></body></html>