I recently started learning SDN and installed mininet to understand its working. I understood how to build basic topologies and how to create flow rules through command line as well. Then i came across POX controller which seems to better than default controller but I am not able to understand how do I insert flow rules to satisfy various types of networks constraints like traffic between 2 hosts should flow through a specific switch only.
After going through a lot of internet sources, I figured out that one way would be, I can create my own python file, but my doubt is that inside the python file , I can write syntax for building the topology and then write flow rules but what is the syntax for writing flow rules is my doubt.
Any material which can explain above issues in detail through examples would be very helpful.
Most of the tutorials on github and Internet were tough to understand.
question from:
https://stackoverflow.com/questions/65832990/how-to-add-flow-rules-in-pox-controller 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…