Hello,

I am trying to get the topology of a network, composed of a user space
switch (https://github.com/CPqD/ofsoftswitch13), mininet (version 2.1.0),
and ryu controller. To get the topology I run the rest_topology.py, like so:
~/ryu/ryu/app$ ryu-manager --verbose --observe-links rest_topology.py
simple_switch_13.py

and mininet is run like this:  sudo mn --topo single,2 --mac --switch user
--controller remote

Testing connectivity:
mininet> pingall
*** Ping: testing ping reachability
h1 -> h2
h2 -> h1
*** Results: 0% dropped (2/2 received)

When executing the curl :

 curl -X GET http://localhost:8080/v1.0/topology/switches
[{"ports": [{"hw_addr": "b2:08:80:16:40:1b", "name": "s1-eth1", "port_no":
"00000001", "dpid": "0000000000000001"}, {"hw_addr": "aa:7f:8b:3d:b6:cd",
"name": "s1-eth2", "port_no": "00000002", "dpid": "0000000000000001"}],
"dpid": "0000000000000001"}]

curl -X GET http://localhost:8080/v1.0/topology/links
[]


And on the ryu log information:
EVENT TopologyAPI->switches EventLinkRequest
127.0.0.1 - - [27/Feb/2015 14:17:15] "GET /v1.0/topology/links HTTP/1.1"
200 124 0.000687

Can you tell me why the links are not reported ?



Best regards,
Chandra
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to