The mininet 2.2.0 version has a built-in Mininet visualizer miniedit, which facilitates user-defined topology creation with the Mininet visual interface, creating a simpler environment for users unfamiliar with Python scripts, intuitive interface and strong operability.
In short, it is simpler than writing a Python script, reducing the threshold of SDN entry, embarrassing, I also recently know that there is this function, together to learn a wave.
Mininet are all started with root privileges, so Miniedit is no exception.
First obtains the Mininet directory the permission, this does not elaborate, chmod blablabla can.
And then you can start the miniedit happily.
sudo ~/mininet/examples/miniedit.py [sudo for
And then it pops up the Miniedit interface.
On the left, something like a toolbar is select, Host, Switch, legancy switch, legancy router, NetLink, controller.
You can then place the required device on the right side of the panel like the controls in C #, for example: first 4 host
The Miniedit will default to host named h1,h2,,hn. We can also specify the name of the host by right-clicking on a host
You can see there are many other parameters in addition to the name can be set, the new switch compared to the traditional switch or NB Many, here I am not very clear about the settings of most parameters, skip
Mininet Miniedit Visualization operation