On Mon, 02 Apr 2018 17:18:57 +0900,
nadia mouawad wrote:
> I newly started to learn Ryu and I am trying to integrate it with
> mininet-wifi.
> 
> This is my topology:
> def topology():
>     "Create a network."
>     net = Mininet_wifi( controller=RemoteController,
> accessPoint=OVSKernelAP)
>     print "*** Creating nodes"
> 
>     sta1 = net.addStation( 'sta1', mac='00:00:00:00:00:02', ip='10.0.0.2/8',
> position='40,40,0' )
>     sta2 = net.addStation( 'sta2', mac='00:00:00:00:00:03', ip='10.0.0.3/8',
> position='40,50,0')
> 
>     ap1 = net.addAccessPoint( 'ap1', ssid= 'new-ssid1', dpid='1', mode=
> 'g', channel= '5', position='25,50,0' , range = 120,
> mac='00:00:00:00:00:04')
>     ap2 = net.addAccessPoint( 'ap2', ssid= 'new-ssid2', dpid='2', mode=
> 'g', channel= '5', position='50,100,0' , range = 120 ,
> mac='00:00:00:00:00:05')
>     c0 = net.addController( 'c0' , controller = RemoteController,
> ip='192.168.110.187')
> 
> 
> When I try to run gui_topology.py or shortestpath,py  I get the following
> (repeatable) output:
> 
> DPSET: Multiple connections from 0000000000000001
> Multiple connections from 0000000000000001
> 
> However, I  can not see the topology or the links.

You seem to be using the same dpid 0000000000000001 to make multiple
connections to ryu. Please read the comment in ryu.controller.dpset
and fix your code to use unique dpids.

--
IWAMOTO Toshihiro

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to