You should probably take a look at the POX FAQ. The second and third questions probably directly relate.
-- Murphy On Nov 4, 2014, at 11:30 PM, farshad tajedin <farshad.taje...@gmail.com> wrote: > hi all > i have a problem with add_flow entry in my switches. this is my code: > > msg=of.ofp_flow_mod() > msg.match.nw_src="something" > msg.match.nw_dst="something" > msg.match.tp_dst=21 > msg.match.tp_src="somthing" > msg.actions.append(of.ofp_action_output(port="something")) > > > and i send this msg to switch, when i read flow entry of switch > msg.match.tp_src and msg.match.tp_dst are None. i dont know why > Best Regards > > Farshad Tajedin