You might find the "OpenFlow in POX" section of the manual helpful. Especially the first two subsections and the OpenFlow Messages/ofp_flow_mod subsubsection.
-- Murphy On Nov 24, 2014, at 2:58 PM, Ali Reza Zamani <az...@cs.rutgers.edu> wrote: > Hi all, > > I have a question regarding defining the rules for a switch in in Pox > controller. > I am running my data plane using mininet. How can I insert some forwarding > rule for the switches. for example I want that all of the packet which are > using destination port xx forwarded to specific host. > Howe can I define these kinds of rules? > Also how can I insert the rules for the specific switches and not all of them. > > Thank you in advance, > Ali