Ryu Modify the listener port Mininet in the custom self-built topology and connect to the specified controller command to interpret

Source: Internet
Author: User

1, Ryu controller modify the listening port

The ofproto_common.py under the Ryu/ryu/ofproto


The following changes, thank you @ BEIJING-Otaku small @ Lone Shrimp


2, mininet in custom self-built topology and connect to the specified controller command interpretation

If you want a simple self-built topology on the mininet, just build it under Mininet/custom, and you can finally name the. py file.The command running is MN--custom self-built topology file name--topo Mytopo If you specify a controller that needs to be connected, you can add a connection parameter mn--custom self-built topology file name--topo Mytopo--controller Remote,ip=ipa Ddr,port=port, that's it. Another detailed step for a self-built topology can be found in the links: 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 is that MN is the command to start Mininet,--topo,--custom,--controller are the options you want to configure, and--test and so on, and the parameters followed by these configuration items are the detailed parameters of the configuration options. For example, the parameters behind--controller include the remote,ip=ipaddr,port=port number, note: Only in the form of remote front there are spaces, there is absolutely no space between the parameters. Otherwise it will be an error.

Ryu Modify the listener port Mininet in the custom self-built topology and connect to the specified controller command to interpret

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.