1, Ryu controller change monitoring port
The ofproto_common.py below the Ryu/ryu/ofproto
The following changes are made. Thank you @ BEIJING-Otaku @ Lone Shrimp
2, mininet in custom self-built topology and connect to the specified controller command interpretation
Assuming that you want a simple self-built topology on mininet, it is possible to build it under Mininet/custom. The final name of the. py file willThe command executed is the MN--custom self-built topology file name--topo Mytopo assumes that the controller that needs to be connected is specified. The ability to join the connection reference MN--custom Self-built topology file name--topo Mytopo--controller remote,ip=ipaddr,port=port number, you can also have a specific step on the self-built topology to see the link: http ://www.muzixing.com/pages/2013/12/06/yuan-chuang-mininetda-jian-zi-ding-yi-wang-luo-tuo-bu-by-muzi.html
One thing to note: MN is the command to start mininet. --topo. --custom,--controller are all options that you want to configure. There are--test and so on, and the parameters followed by these configuration items are the specific parameters of the configuration options, such as the--controller following the remote,ip=ipaddr,port=port number, note: In the form of only the remote front is a space, There is absolutely no space between the number of references.
Otherwise it will be an error.
Ryu change monitoring port mininet in custom self-built topology and connect to the specified controller command explained