Package Details: mininet 2.2.2-1

Git Clone URL: https://aur.archlinux.org/mininet.git (read-only)
Package Base: mininet
Description: Process-based network emulator (stable branch)
Upstream URL: https://github.com/mininet/mininet/
Licenses: custom
Submitter: pedromj
Maintainer: pedromj
Last Packager: pedromj
Votes: 12
Popularity: 0.002773
First Submitted: 2014-11-07 17:38
Last Updated: 2018-05-07 06:44

Latest Comments

« First ‹ Previous 1 2

glindstedt commented on 2015-09-30 17:02

@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

@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

Done, please test. Thank you.

jetm commented on 2015-08-18 19:36

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

Updated, please test.

pedromj commented on 2015-04-16 13:52

Updated, please test.

frablondel commented on 2015-04-07 11:58

Hi,
I also had to install manually python-networkx bridge-utils openvswitch
Thanks !

vmaffione commented on 2014-12-06 12:27

It works fine now.

Thanks,
Vincenzo

pedromj commented on 2014-12-03 17:09

I've updated the package. Please test it. Thank you.

vmaffione commented on 2014-12-03 13:18

Hi,
I see that python2-setuptools is needed to build the package, but this is not listed into the make dependencies.

This is the error that I get

python2 setup.py install --prefix=/usr --root="/home/vmaffione/tmp/mininet/pkg/mininet" --optimize=1 install
Traceback (most recent call last):
File "setup.py", line 5, in <module>
from setuptools import setup, find_packages
ImportError: No module named setuptools
Makefile:43: recipe for target 'install' failed
make: *** [install] Error 1
==> ERROR: A failure occurred in package().
Aborting...


I am able to build the package as long as I install python2-setuptools from the official repositories. Can you update the PKGBUILD with this dependency?

Cheers,
Vincenzo