Everywhere that it adds an output action to a flow_mod or a packet_out, add an extra action to send it to the extra destination port as well.
You might consider using l2_pairs instead, since it's simpler. -- Murphy On Apr 11, 2014, at 12:59 PM, hassan hatim <hassan...@yahoo.com> wrote: > Hello everybody! > > I came from a Cisco background with few programming skills, and interested > to do some kind of extension for the l2_learning switch application for the > pox controller to do port mirroring feature, where beside of forwarding > packets to the proper destination, it forward them also to a specific port > for monitoring. Just like SPAN in Cisco world, the administrator can specify > what are the source ports (the monitored ports) and the destination port that > capture all the packets form the source ports. > > > Can I have guidance for how to do this? > Thanks and regards. > > /Hassan