Package Details: mininet 2.3.0-2

Git Clone URL: https://aur.archlinux.org/mininet.git (read-only, click to copy)
Package Base: mininet
Description: Emulator for rapid prototyping of Software Defined Networks
Upstream URL: https://github.com/mininet/mininet
Keywords: mininet openflow sdn
Licenses: custom
Submitter: pedromj
Maintainer: kyechou
Last Packager: kyechou
Votes: 15
Popularity: 0.000020
First Submitted: 2014-11-07 17:38 (UTC)
Last Updated: 2023-11-21 03:37 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

martinjlowm commented on 2016-05-07 10:17 (UTC)

It should be noted by @jetm's contribution that the post install message seems to include a mistake. ovsdb-server is enabled twice and ovs-vswitchd is started twice. Both ovsdb-server and ovs-vswitchd should be enabled and started afterwards. This mistake got my attention after @francozappa's issue Mininet/626 on GitHub (https://github.com/mininet/mininet/issues/626) To sum it up, the correct sequence is: $ systemctl enable ovsdb-server.service $ systemctl start ovsdb-server.service $ systemctl enable ovs-vswitchd.service $ systemctl start ovs-vswitchd.service

pedromj commented on 2015-10-01 10:01 (UTC)

I've updated the package. Please test it.

jetm commented on 2015-09-30 17:54 (UTC)

@glindste: Thanks! With your suggestions mininet runs as it's expected. @pedromj: To avoid these errors, I would put openvswitch as a required dependency (non optional). Also, I would show a message after installation saying ovsdb-server.service and ovs-vswitchd.service are needed to be executed before call 'sudo mn' or I would enable them. For a post installation message you can take an example on virtio-win AUR package. Look in virtio-win.install file. For start the required services, I think with just execute these will be OK: $ systemctl enable ovsdb-server.service $ systemctl start ovs-vswitchd.service $ systemctl enable ovsdb-server.service $ systemctl start ovs-vswitchd.service If you need help with AUR package, let me know. I can send you a Git patch. Regards.

glindstedt commented on 2015-09-30 17:06 (UTC)

Ok, solved it now. After installing openvswitch, start BOTH ovsdb-server.service and ovs-vswitchd.service. Then 'sudo mn' should run fine.

glindstedt commented on 2015-09-30 17:02 (UTC)

@jetm: I had the same problem, but if I install openvswitch (optional dependency) it doesn't crash. However if I run 'sudo mn' it gets stuck at starting the switch, don't know why. *** Creating network *** Adding controller *** Adding hosts: h1 h2 *** Adding switches: s1 *** Adding links: (h1, s1) (h2, s1) *** Configuring hosts h1 h2 *** Starting controller c0 *** Starting 1 switches s1 ...

jetm commented on 2015-09-18 16:35 (UTC)

@pedromj: Installation was good, but calling nm fails with this message: $ sudo nm *** Creating network *** Adding controller *** Adding hosts: h1 h2 *** Adding switches: -------------------------------------------------------------------------------- Caught exception. Cleaning up... OSError: [Errno 2] No such file or directory -------------------------------------------------------------------------------- *** Removing excess controllers/ofprotocols/ofdatapaths/pings/noxes killall controller ofprotocol ofdatapath ping nox_core lt-nox_core ovs-openflowd ovs-controller udpbwtest mnexec ivs 2> /dev/null killall -9 controller ofprotocol ofdatapath ping nox_core lt-nox_core ovs-openflowd ovs-controller udpbwtest mnexec ivs 2> /dev/null pkill -9 -f "sudo mnexec" *** Removing junk from /tmp rm -f /tmp/vconn* /tmp/vlogs* /tmp/*.out /tmp/*.log *** Removing old X11 tunnels *** Removing excess kernel datapaths ps ax | egrep -o 'dp[0-9]+' | sed 's/dp/nl:/' *** Removing OVS datapaths ovs-vsctl --timeout=1 list-br /bin/sh: ovs-vsctl: command not found ovs-vsctl --timeout=1 list-br /bin/sh: ovs-vsctl: command not found *** Removing all links of the pattern foo-ethX ip link show | egrep -o '([-_.[:alnum:]]+-eth[[:digit:]]+)' ip link show *** Killing stale mininet node processes pkill -9 -f mininet: *** Shutting down stale tunnels pkill -9 -f Tunnel=Ethernet pkill -9 -f .ssh/mn rm -f ~/.ssh/mn/* *** Cleanup complete.

pedromj commented on 2015-09-07 18:05 (UTC)

Done, please test. Thank you.

jetm commented on 2015-08-18 19:36 (UTC)

Hi @pedromj, Could you change PKGBUILD to get mininet binary releases instead of using Git? The mininet binary releases are in https://github.com/mininet/mininet/releases and you can get them with https://github.com/mininet/mininet/archive/VERSION.tar.gz, e.g.: https://github.com/mininet/mininet/archive/2.2.1.tar.gz I cannot install this package because my current corporate Internet is through a proxy/firewall with git:// protocol blocked. Other people with similar Internet setup could have same issue. Thanks!

pedromj commented on 2015-04-22 16:13 (UTC)

Updated, please test.

pedromj commented on 2015-04-16 13:52 (UTC)

Updated, please test.