Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[mininet-discuss] How to create multiple links between a pair of switches

Hui Kang hkang.sunysb at gmail.com
Tue Apr 8 14:29:31 PDT 2014


Hi,
Thanks for you reply. However, as far as I observe, mini net does support
loop topology, such as

s1 ------------ s2
   \              /
     \--- s3--/

My problem is that I want to create a multiple links between s1 and s2. Is
there anyway to create such multiple links? thanks.

- Hui


On Tue, Apr 8, 2014 at 3:05 PM, est B.y <eng_est_1990 at yahoo.com> wrote:

> Hello
> Mininet can not run with loop topology by default, but to run loop
> topology must use spanning tree protocol. STP is an application run with
> some types of controllers such as NOX controller. if you use NOX13 with
> openflow version 1.3, follow steps that illustrate in this attached paper
> to add spanning tree application.
>
> Regards.
> Estabrak B.
> University of Mosul, Iraq
>   On Tuesday, April 8, 2014 9:17 PM, Hui Kang <hkang.sunysb at gmail.com>
> wrote:
>  Hi,
> I am new to mininet and hope to get some answer from this mailing list.
>
> The question is that I would like to create multiple links between a pair
> of switches in order to test some loop detection of a SDN routing
> algorithm. However, when I add multiple links between a pair of switches
> and try ping from one host to another, the mininet reports following error
> and quits.
>
>
> ---------------------------------------------------------------------------------------
> TypeError: sequence item 1: expected string, NoneType found
>
> --------------------------------------------------------------------------------
> *** 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 datapathsovs-vsctl --timeout=1 list-br
> ovs-vsctl del-br s3
> ovs-vsctl del-br s4
> ovs-vsctl del-br s5
> *** Removing all links of the pattern foo-ethX
> ip link show | egrep -o '(\w+-eth\w+)'
>
> --------------------------------------------------------------------------------
>
> ** The command I use to create the network is
>        sudo mn --custom ~/mininet/custom/topo-2sw-10host-manylinks.py
> --topo mytopo --mac  --controller=remote,ip=192.168.0.186
>
> ** The controller is an external floodlight controller.
>
> ** The script has the following code to add 2 links between a pair of
> switches.
>
>       self.addLink( leftSwitch, rightSwitch )
>       self.addLink( leftSwitch, rightSwitch )
>
> By the way, there is no problem when having only one link between the two
> switches. Can any you help on the multiple links between a pair of
> switches. Thanks in advance.
>
> best
>
> - Hui Kang
>
> _______________________________________________
> mininet-discuss mailing list
> mininet-discuss at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/mininet-discuss
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/mininet-discuss/attachments/20140408/968ee1e7/attachment.html>


More information about the mininet-discuss mailing list