Ryu change monitoring port mininet in custom self-built topology and connect to the specified controller command explained

Source: Internet
Author: User

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

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.