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

Reply via email to