MiniEdit 2.1.0.7
December 5, 2013 11 Comments
This is a quick small release. It contains a bug fix and a feature that I originally dropped from the last release.
- Bug fix in the Export not exporting controller information correctly.
- You can import one of the MiniNet named topologies on startup.
- sudo ./miniedit-2.1.0.7.py --topo linear,3
- You can import a custom topology on startup.
- sudo ./miniedit-2.1.0.7.py --custom mininet/custom/topo-2sw-2host.py --topo mytopo
Be warned that the import of the topology is pretty crude and will be limiting. I don’t have any fancy auto layout features to nicely place icons on the screen. Currently, I just create rows of icons. You will need to lay them out yourself. If someone knows of some python code that can do this autolayout, I’d be glad to hear from you.
Download MiniEdit 2.1.0.7 here.
how to install the miniedit… after downloading
Just run it with sudo. There is no installer.
I tried to sudo, It says no command found, Please help.
You don’t have sudo? MiniEdit is a python script that must be run on the same system that mininet is installed on.
I did have sudo, Mostly its issue with DISPLAY variable. I get the error “No Display variable and No display environment set”, can you please suggest me , as i am very new to python, how do i set my DISPLAY variable.
Look at the MiniNet FAQ. https://github.com/mininet/mininet/wiki/FAQ#wiki-x11-forwarding
You might need to ‘chmod 755 miniedit*’ first.
please type this command sudo ~/mininet/examples/miniedit.py
Thanks. I was in desperate need of such a tool. When I try to run any topology, it throws
exception: cgroups not mounted on /sys/fs/cgroup
MiniEdit is a GUI for MiniNet (mininet.org). Does Mininet work on your system? You also need to run MiniEdit as root (or sudo). What OS are you running it on. MiniNet was mainly written on Ubuntu.
Thanks for your reply. Mininet does work on my system. I had to manually mount cgroups at /sys/fs/cgroup and then install package cgroup-bin. I am running a stripped down Ubuntu server.