Hi,

IPv6 feature on mininet is the cause of this problem, I think.
When starting up mininet, the mininet hosts will send some IPv6 packets (ICMPv6 
ND and so on),
these packets may disturb ryu.topology discovering the topology.
But I'm sorry I could not investigate why.

To disable IPv6 on mininet, please refer to this issue on mininet GitHub.
  https://github.com/mininet/mininet/issues/454

If you could not disable IPv6 for some reason,
please run ryu-manager after some minutes (one minitute or so) from running 
mininet
for waiting to finish ICMPv6 ND.

Thanks,
Iwase


On 2015年10月21日 06:53, Ezzat Zar wrote:
> forgot to send dump-flows after ping:
> 
> mininet> sh ovs-ofctl dump-flows s1
> 
> NXST_FLOW reply (xid=0x4):
>  cookie=0x0, duration=300.798s, table=0, n_packets=341, n_bytes=17391, 
> idle_age=0, priority=65535,dl_dst=01:80:c2:00:00:0e,dl_type=0x88cc 
> actions=CONTROLLER:51
>  cookie=0x0, duration=195.916s, table=0, n_packets=3162, n_bytes=132972, 
> idle_age=0, in_port=1,dl_dst=00:00:00:00:00:01 actions=output:2
>  cookie=0x0, duration=195.673s, table=0, n_packets=2, n_bytes=196, 
> idle_age=194, in_port=2,dl_dst=00:00:00:00:00:03 actions=output:1
> 
> 
> On Wed, Oct 21, 2015 at 1:21 AM, Ezzat Zar <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>     Thanks for reply here is what I get: (I've attached netgraph.py and sp.py 
> which does shortest path routing)
> 
>     sudo mn --mac --switch ovsk --custom ~/mininet/custom/netgraph.py --topo 
> mytopo --controller remote
>     ryu-manager ryu.app.sp ryu.app.rest_qos ryu.app.rest_conf_switch 
> ryu.app.rest_topology --observe-links
> 
>     mininet> sh ovs-ofctl dump-flows s1
>     NXST_FLOW reply (xid=0x4):
>      cookie=0x0, duration=112.416s, table=0, n_packets=108, n_bytes=5508, 
> idle_age=0, priority=65535,dl_dst=01:80:c2:00:00:0e,dl_type=0x88cc 
> actions=CONTROLLER:51
> 
>     http://127.0.0.1:8080/v1.0/topology/links
> 
>     [{"src": {"hw_addr": "56:39:af:07:fb:3e", "name": "s3-eth2", "port_no": 
> "00000002", "dpid": "0000000000000003"}, "dst": {"hw_addr": 
> "ee:7c:7d:0d:55:a3", "name": "s4-eth1", "port_no": "00000001", "dpid": 
> "0000000000000004"}}, {"src": {"hw_addr": "d6:84:c4:43:12:00", "name": 
> "s4-eth4", "port_no": "00000004", "dpid": "0000000000000004"}, "dst": 
> {"hw_addr": "d2:f9:51:1e:78:a2", "name": "s2-eth2", "port_no": "00000002", 
> "dpid": "0000000000000002"}}, {"src": {"hw_addr": "d2:80:a1:e8:35:27", 
> "name": "s1-eth2", "port_no": "00000002", "dpid": "0000000000000001"}, "dst": 
> {"hw_addr": "02:2e:17:a1:38:66", "name": "s2-eth1", "port_no": "00000001", 
> "dpid": "0000000000000002"}}, {"src": {"hw_addr": "62:41:0f:84:fb:4d", 
> "name": "s2-eth3", "port_no": "00000003", "dpid": "0000000000000002"}, "dst": 
> {"hw_addr": "d6:fc:b2:60:7c:60", "name": "s5-eth3", "port_no": "00000003", 
> "dpid": "0000000000000005"}}, {"src": {"hw_addr": "d6:9a:51:9e:54:e4", 
> "name": "s4-eth3", "port_no": "00000003",
>     "dpid": "0000000000000004"}, "dst": {"hw_addr": "7a:8c:8a:75:72:d8", 
> "name": "s6-eth2", "port_no": "00000002", "dpid": "0000000000000006"}}, 
> {"src": {"hw_addr": "ee:7c:7d:0d:55:a3", "name": "s4-eth1", "port_no": 
> "00000001", "dpid": "0000000000000004"}, "dst": {"hw_addr": 
> "56:39:af:07:fb:3e", "name": "s3-eth2", "port_no": "00000002", "dpid": 
> "0000000000000003"}}, {"src": {"hw_addr": "02:2e:17:a1:38:66", "name": 
> "s2-eth1", "port_no": "00000001", "dpid": "0000000000000002"}, "dst": 
> {"hw_addr": "d2:80:a1:e8:35:27", "name": "s1-eth2", "port_no": "00000002", 
> "dpid": "0000000000000001"}}, {"src": {"hw_addr": "7a:8c:8a:75:72:d8", 
> "name": "s6-eth2", "port_no": "00000002", "dpid": "0000000000000006"}, "dst": 
> {"hw_addr": "d6:9a:51:9e:54:e4", "name": "s4-eth3", "port_no": "00000003", 
> "dpid": "0000000000000004"}}, {"src": {"hw_addr": "d2:f9:51:1e:78:a2", 
> "name": "s2-eth2", "port_no": "00000002", "dpid": "0000000000000002"}, "dst": 
> {"hw_addr": "d6:84:c4:43:12:00", "name": "s4-eth4",
>     "port_no": "00000004", "dpid": "0000000000000004"}}, {"src": {"hw_addr": 
> "d6:fc:b2:60:7c:60", "name": "s5-eth3", "port_no": "00000003", "dpid": 
> "0000000000000005"}, "dst": {"hw_addr": "62:41:0f:84:fb:4d", "name": 
> "s2-eth3", "port_no": "00000003", "dpid": "0000000000000002"}}, {"src": 
> {"hw_addr": "2a:c2:f4:09:e0:6d", "name": "s5-eth2", "port_no": "00000002", 
> "dpid": "0000000000000005"}, "dst": {"hw_addr": "e2:6b:84:cc:08:70", "name": 
> "s4-eth2", "port_no": "00000002", "dpid": "0000000000000004"}}, {"src": 
> {"hw_addr": "e2:6b:84:cc:08:70", "name": "s4-eth2", "port_no": "00000002", 
> "dpid": "0000000000000004"}, "dst": {"hw_addr": "2a:c2:f4:09:e0:6d", "name": 
> "s5-eth2", "port_no": "00000002", "dpid": "0000000000000005"}}]
> 
>     mininet> h1 ping h3
>     PING 10.0.0.3 (10.0.0.3) 56(84) bytes of data.
>     64 bytes from 10.0.0.3 <http://10.0.0.3>: icmp_seq=1 ttl=64 time=285 ms
>     64 bytes from 10.0.0.3 <http://10.0.0.3>: icmp_seq=2 ttl=64 time=0.128 ms
>     64 bytes from 10.0.0.3 <http://10.0.0.3>: icmp_seq=3 ttl=64 time=0.043 ms
>     ^C
>     --- 10.0.0.3 ping statistics ---
> 
>     http://127.0.0.1:8080/v1.0/topology/links
>     [{"src": {"hw_addr": "d2:f9:51:1e:78:a2", "name": "s2-eth2", "port_no": 
> "00000002", "dpid": "0000000000000002"}, "dst": {"hw_addr": 
> "7a:8c:8a:75:72:d8", "name": "s6-eth2", "port_no": "00000002", "dpid": 
> "0000000000000006"}}, {"src": {"hw_addr": "62:41:0f:84:fb:4d", "name": 
> "s2-eth3", "port_no": "00000003", "dpid": "0000000000000002"}, "dst": 
> {"hw_addr": "e2:6b:84:cc:08:70", "name": "s4-eth2", "port_no": "00000002", 
> "dpid": "0000000000000004"}}, {"src": {"hw_addr": "56:39:af:07:fb:3e", 
> "name": "s3-eth2", "port_no": "00000002", "dpid": "0000000000000003"}, "dst": 
> {"hw_addr": "ee:7c:7d:0d:55:a3", "name": "s4-eth1", "port_no": "00000001", 
> "dpid": "0000000000000004"}}, {"src": {"hw_addr": "7a:8c:8a:75:72:d8", 
> "name": "s6-eth2", "port_no": "00000002", "dpid": "0000000000000006"}, "dst": 
> {"hw_addr": "62:41:0f:84:fb:4d", "name": "s2-eth3", "port_no": "00000003", 
> "dpid": "0000000000000002"}}, {"src": {"hw_addr": "d6:84:c4:43:12:00", 
> "name": "s4-eth4", "port_no": "00000004",
>     "dpid": "0000000000000004"}, "dst": {"hw_addr": "d6:fc:b2:60:7c:60", 
> "name": "s5-eth3", "port_no": "00000003", "dpid": "0000000000000005"}}, 
> {"src": {"hw_addr": "d2:f9:51:1e:78:a2", "name": "s2-eth2", "port_no": 
> "00000002", "dpid": "0000000000000002"}, "dst": {"hw_addr": 
> "56:39:af:07:fb:3e", "name": "s3-eth2", "port_no": "00000002", "dpid": 
> "0000000000000003"}}, {"src": {"hw_addr": "d6:84:c4:43:12:00", "name": 
> "s4-eth4", "port_no": "00000004", "dpid": "0000000000000004"}, "dst": 
> {"hw_addr": "d2:f9:51:1e:78:a2", "name": "s2-eth2", "port_no": "00000002", 
> "dpid": "0000000000000002"}}, {"src": {"hw_addr": "7a:8c:8a:75:72:d8", 
> "name": "s6-eth2", "port_no": "00000002", "dpid": "0000000000000006"}, "dst": 
> {"hw_addr": "56:39:af:07:fb:3e", "name": "s3-eth2", "port_no": "00000002", 
> "dpid": "0000000000000003"}}, {"src": {"hw_addr": "d6:84:c4:43:12:00", 
> "name": "s4-eth4", "port_no": "00000004", "dpid": "0000000000000004"}, "dst": 
> {"hw_addr": "d2:80:a1:e8:35:27", "name": "s1-eth2",
>     "port_no": "00000002", "dpid": "0000000000000001"}}, {"src": {"hw_addr": 
> "7a:8c:8a:75:72:d8", "name": "s6-eth2", "port_no": "00000002", "dpid": 
> "0000000000000006"}, "dst": {"hw_addr": "d2:f9:51:1e:78:a2", "name": 
> "s2-eth2", "port_no": "00000002", "dpid": "0000000000000002"}}, {"src": 
> {"hw_addr": "2a:c2:f4:09:e0:6d", "name": "s5-eth2", "port_no": "00000002", 
> "dpid": "0000000000000005"}, "dst": {"hw_addr": "e2:6b:84:cc:08:70", "name": 
> "s4-eth2", "port_no": "00000002", "dpid": "0000000000000004"}}, {"src": 
> {"hw_addr": "56:39:af:07:fb:3e", "name": "s3-eth2", "port_no": "00000002", 
> "dpid": "0000000000000003"}, "dst": {"hw_addr": "2a:c2:f4:09:e0:6d", "name": 
> "s5-eth2", "port_no": "00000002", "dpid": "0000000000000005"}}, {"src": 
> {"hw_addr": "7a:8c:8a:75:72:d8", "name": "s6-eth2", "port_no": "00000002", 
> "dpid": "0000000000000006"}, "dst": {"hw_addr": "2a:c2:f4:09:e0:6d", "name": 
> "s5-eth2", "port_no": "00000002", "dpid": "0000000000000005"}}, {"src": 
> {"hw_addr":
>     "d2:f9:51:1e:78:a2", "name": "s2-eth2", "port_no": "00000002", "dpid": 
> "0000000000000002"}, "dst": {"hw_addr": "2a:c2:f4:09:e0:6d", "name": 
> "s5-eth2", "port_no": "00000002", "dpid": "0000000000000005"}}, {"src": 
> {"hw_addr": "d2:80:a1:e8:35:27", "name": "s1-eth2", "port_no": "00000002", 
> "dpid": "0000000000000001"}, "dst": {"hw_addr": "02:2e:17:a1:38:66", "name": 
> "s2-eth1", "port_no": "00000001", "dpid": "0000000000000002"}}, {"src": 
> {"hw_addr": "2a:c2:f4:09:e0:6d", "name": "s5-eth2", "port_no": "00000002", 
> "dpid": "0000000000000005"}, "dst": {"hw_addr": "d2:f9:51:1e:78:a2", "name": 
> "s2-eth2", "port_no": "00000002", "dpid": "0000000000000002"}}, {"src": 
> {"hw_addr": "e2:6b:84:cc:08:70", "name": "s4-eth2", "port_no": "00000002", 
> "dpid": "0000000000000004"}, "dst": {"hw_addr": "56:39:af:07:fb:3e", "name": 
> "s3-eth2", "port_no": "00000002", "dpid": "0000000000000003"}}, {"src": 
> {"hw_addr": "d2:f9:51:1e:78:a2", "name": "s2-eth2", "port_no": "00000002", 
> "dpid":
>     "0000000000000002"}, "dst": {"hw_addr": "d2:80:a1:e8:35:27", "name": 
> "s1-eth2", "port_no": "00000002", "dpid": "0000000000000001"}}, {"src": 
> {"hw_addr": "d6:84:c4:43:12:00", "name": "s4-eth4", "port_no": "00000004", 
> "dpid": "0000000000000004"}, "dst": {"hw_addr": "7a:8c:8a:75:72:d8", "name": 
> "s6-eth2", "port_no": "00000002", "dpid": "0000000000000006"}}, {"src": 
> {"hw_addr": "e2:6b:84:cc:08:70", "name": "s4-eth2", "port_no": "00000002", 
> "dpid": "0000000000000004"}, "dst": {"hw_addr": "2a:c2:f4:09:e0:6d", "name": 
> "s5-eth2", "port_no": "00000002", "dpid": "0000000000000005"}}, {"src": 
> {"hw_addr": "7a:8c:8a:75:72:d8", "name": "s6-eth2", "port_no": "00000002", 
> "dpid": "0000000000000006"}, "dst": {"hw_addr": "d6:9a:51:9e:54:e4", "name": 
> "s4-eth3", "port_no": "00000003", "dpid": "0000000000000004"}}, {"src": 
> {"hw_addr": "56:39:af:07:fb:3e", "name": "s3-eth2", "port_no": "00000002", 
> "dpid": "0000000000000003"}, "dst": {"hw_addr": "d6:fc:b2:60:7c:60", "name": 
> "s5-eth3", "port_no":
>     "00000003", "dpid": "0000000000000005"}}, {"src": {"hw_addr": 
> "62:41:0f:84:fb:4d", "name": "s2-eth3", "port_no": "00000003", "dpid": 
> "0000000000000002"}, "dst": {"hw_addr": "d6:fc:b2:60:7c:60", "name": 
> "s5-eth3", "port_no": "00000003", "dpid": "0000000000000005"}}, {"src": 
> {"hw_addr": "2a:c2:f4:09:e0:6d", "name": "s5-eth2", "port_no": "00000002", 
> "dpid": "0000000000000005"}, "dst": {"hw_addr": "d2:80:a1:e8:35:27", "name": 
> "s1-eth2", "port_no": "00000002", "dpid": "0000000000000001"}}, {"src": 
> {"hw_addr": "56:39:af:07:fb:3e", "name": "s3-eth2", "port_no": "00000002", 
> "dpid": "0000000000000003"}, "dst": {"hw_addr": "62:41:0f:84:fb:4d", "name": 
> "s2-eth3", "port_no": "00000003", "dpid": "0000000000000002"}}, {"src": 
> {"hw_addr": "56:39:af:07:fb:3e", "name": "s3-eth2", "port_no": "00000002", 
> "dpid": "0000000000000003"}, "dst": {"hw_addr": "d2:f9:51:1e:78:a2", "name": 
> "s2-eth2", "port_no": "00000002", "dpid": "0000000000000002"}}, {"src": 
> {"hw_addr": "2a:c2:f4:09:e0:6d", "name":
>     "s5-eth2", "port_no": "00000002", "dpid": "0000000000000005"}, "dst": 
> {"hw_addr": "56:39:af:07:fb:3e", "name": "s3-eth2", "port_no": "00000002", 
> "dpid": "0000000000000003"}}, {"src": {"hw_addr": "e2:6b:84:cc:08:70", 
> "name": "s4-eth2", "port_no": "00000002", "dpid": "0000000000000004"}, "dst": 
> {"hw_addr": "d2:80:a1:e8:35:27", "name": "s1-eth2", "port_no": "00000002", 
> "dpid": "0000000000000001"}}, {"src": {"hw_addr": "d2:80:a1:e8:35:27", 
> "name": "s1-eth2", "port_no": "00000002", "dpid": "0000000000000001"}, "dst": 
> {"hw_addr": "d6:fc:b2:60:7c:60", "name": "s5-eth3", "port_no": "00000003", 
> "dpid": "0000000000000005"}}, {"src": {"hw_addr": "d6:fc:b2:60:7c:60", 
> "name": "s5-eth3", "port_no": "00000003", "dpid": "0000000000000005"}, "dst": 
> {"hw_addr": "d2:80:a1:e8:35:27", "name": "s1-eth2", "port_no": "00000002", 
> "dpid": "0000000000000001"}}, {"src": {"hw_addr": "d6:fc:b2:60:7c:60", 
> "name": "s5-eth3", "port_no": "00000003", "dpid": "0000000000000005"}, "dst": 
> {"hw_addr":
>     "d6:84:c4:43:12:00", "name": "s4-eth4", "port_no": "00000004", "dpid": 
> "0000000000000004"}}, {"src": {"hw_addr": "56:39:af:07:fb:3e", "name": 
> "s3-eth2", "port_no": "00000002", "dpid": "0000000000000003"}, "dst": 
> {"hw_addr": "7a:8c:8a:75:72:d8", "name": "s6-eth2", "port_no": "00000002", 
> "dpid": "0000000000000006"}}, {"src": {"hw_addr": "ee:7c:7d:0d:55:a3", 
> "name": "s4-eth1", "port_no": "00000001", "dpid": "0000000000000004"}, "dst": 
> {"hw_addr": "56:39:af:07:fb:3e", "name": "s3-eth2", "port_no": "00000002", 
> "dpid": "0000000000000003"}}, {"src": {"hw_addr": "d6:84:c4:43:12:00", 
> "name": "s4-eth4", "port_no": "00000004", "dpid": "0000000000000004"}, "dst": 
> {"hw_addr": "56:39:af:07:fb:3e", "name": "s3-eth2", "port_no": "00000002", 
> "dpid": "0000000000000003"}}, {"src": {"hw_addr": "e2:6b:84:cc:08:70", 
> "name": "s4-eth2", "port_no": "00000002", "dpid": "0000000000000004"}, "dst": 
> {"hw_addr": "7a:8c:8a:75:72:d8", "name": "s6-eth2", "port_no": "00000002", 
> "dpid":
>     "0000000000000006"}}, {"src": {"hw_addr": "d6:9a:51:9e:54:e4", "name": 
> "s4-eth3", "port_no": "00000003", "dpid": "0000000000000004"}, "dst": 
> {"hw_addr": "7a:8c:8a:75:72:d8", "name": "s6-eth2", "port_no": "00000002", 
> "dpid": "0000000000000006"}}, {"src": {"hw_addr": "d2:80:a1:e8:35:27", 
> "name": "s1-eth2", "port_no": "00000002", "dpid": "0000000000000001"}, "dst": 
> {"hw_addr": "d6:84:c4:43:12:00", "name": "s4-eth4", "port_no": "00000004", 
> "dpid": "0000000000000004"}}, {"src": {"hw_addr": "56:39:af:07:fb:3e", 
> "name": "s3-eth2", "port_no": "00000002", "dpid": "0000000000000003"}, "dst": 
> {"hw_addr": "d2:80:a1:e8:35:27", "name": "s1-eth2", "port_no": "00000002", 
> "dpid": "0000000000000001"}}, {"src": {"hw_addr": "02:2e:17:a1:38:66", 
> "name": "s2-eth1", "port_no": "00000001", "dpid": "0000000000000002"}, "dst": 
> {"hw_addr": "d2:80:a1:e8:35:27", "name": "s1-eth2", "port_no": "00000002", 
> "dpid": "0000000000000001"}}, {"src": {"hw_addr": "e2:6b:84:cc:08:70", 
> "name": "s4-eth2",
>     "port_no": "00000002", "dpid": "0000000000000004"}, "dst": {"hw_addr": 
> "62:41:0f:84:fb:4d", "name": "s2-eth3", "port_no": "00000003", "dpid": 
> "0000000000000002"}}, {"src": {"hw_addr": "d2:f9:51:1e:78:a2", "name": 
> "s2-eth2", "port_no": "00000002", "dpid": "0000000000000002"}, "dst": 
> {"hw_addr": "d6:84:c4:43:12:00", "name": "s4-eth4", "port_no": "00000004", 
> "dpid": "0000000000000004"}}, {"src": {"hw_addr": "d6:fc:b2:60:7c:60", 
> "name": "s5-eth3", "port_no": "00000003", "dpid": "0000000000000005"}, "dst": 
> {"hw_addr": "62:41:0f:84:fb:4d", "name": "s2-eth3", "port_no": "00000003", 
> "dpid": "0000000000000002"}}, {"src": {"hw_addr": "2a:c2:f4:09:e0:6d", 
> "name": "s5-eth2", "port_no": "00000002", "dpid": "0000000000000005"}, "dst": 
> {"hw_addr": "7a:8c:8a:75:72:d8", "name": "s6-eth2", "port_no": "00000002", 
> "dpid": "0000000000000006"}}]
> 
> 
>     Thanks...
> 
> 
>     On Tue, Oct 20, 2015 at 9:53 AM, Yusuke Iwase <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>         Hi,
> 
> 
>         On 2015年10月20日 06:49, Ezzat Zar wrote:
>         > Hi again,
>         > There seems to be another problem with rest_topology.py which I 
> cannot figure out how to resolve. When I use
>         >
>         > GET /v1.0/topology/links
>         >
>         > at the beginning of network creation, it show links between 
> switches correctly. But when I start sending packets through the network, 
> using this shows up a whole bunch of new links which does not really exist in 
> the topology... For example if a packet had been forwarded from a switch to 
> another via multiple switch hops, a link shows up from source to destination 
> switch!
> 
>         Could you show us the flow entries you installed?
>         On my environment, rest_topology.py outputs all links correctly.
> 
>         $ sudo mn --topo linear,3 --mac --controller remote
> 
>         $ ryu-manager --observe-links ryu.app.rest_topology 
> ryu.app.simple_switch_13
> 
>         Before ping:
>         mininet> sh ovs-ofctl dump-flows s1
>         NXST_FLOW reply (xid=0x4):
>          cookie=0x0, duration=16.729s, table=0, n_packets=18, n_bytes=918, 
> idle_age=1, priority=65535,dl_dst=01:80:c2:00:00:0e,dl_type=0x88cc 
> actions=CONTROLLER:65535
>          cookie=0x0, duration=16.730s, table=0, n_packets=64, n_bytes=8962, 
> idle_age=6, priority=0 actions=CONTROLLER:65535
> 
>         $ curl -X GET http://localhost:8080/v1.0/topology/links
>         [{"src": {"hw_addr": "66:df:c7:f7:0c:04", "name": "s2-eth3", 
> "port_no": "00000003", "dpid": "0000000000000002"}, "dst": {"hw_addr": 
> "16:3c:5a:66:aa:f6", "name": "s3-eth2", "port_no": "00000002", "dpid": 
> "0000000000000003"}}, {"src": {"hw_addr": "4e:51:8c:48:4d:d8", "name": 
> "s2-eth2", "port_no": "00000002", "dpid": "0000000000000002"}, "dst": 
> {"hw_addr": "96:ae:dd:c4:0f:c0", "name": "s1-eth2", "port_no": "00000002", 
> "dpid": "0000000000000001"}}, {"src": {"hw_addr": "16:3c:5a:66:aa:f6", 
> "name": "s3-eth2", "port_no": "00000002", "dpid": "0000000000000003"}, "dst": 
> {"hw_addr": "66:df:c7:f7:0c:04", "name": "s2-eth3", "port_no": "00000003", 
> "dpid": "0000000000000002"}}, {"src": {"hw_addr": "96:ae:dd:c4:0f:c0", 
> "name": "s1-eth2", "port_no": "00000002", "dpid": "0000000000000001"}, "dst": 
> {"hw_addr": "4e:51:8c:48:4d:d8", "name": "s2-eth2", "port_no": "00000002", 
> "dpid": "0000000000000002"}}]
> 
>         mininet> h1 ping h3
>         PING 10.0.0.3 (10.0.0.3) 56(84) bytes of data.
>         64 bytes from 10.0.0.3 <http://10.0.0.3>: icmp_seq=1 ttl=64 time=21.6 
> ms
>         64 bytes from 10.0.0.3 <http://10.0.0.3>: icmp_seq=2 ttl=64 
> time=0.068 ms
>           ...
> 
>         After ping:
>         mininet> sh ovs-ofctl dump-flows s1
>         NXST_FLOW reply (xid=0x4):
>          cookie=0x0, duration=55.786s, table=0, n_packets=62, n_bytes=3162, 
> idle_age=0, priority=65535,dl_dst=01:80:c2:00:00:0e,dl_type=0x88cc 
> actions=CONTROLLER:65535
>          cookie=0x0, duration=4.954s, table=0, n_packets=4, n_bytes=336, 
> idle_age=2, priority=1,in_port=2,dl_dst=00:00:00:00:00:01 actions=output:1
>          cookie=0x0, duration=4.950s, table=0, n_packets=3, n_bytes=294, 
> idle_age=2, priority=1,in_port=1,dl_dst=00:00:00:00:00:03 actions=output:2
>          cookie=0x0, duration=55.787s, table=0, n_packets=71, n_bytes=9572, 
> idle_age=4, priority=0 actions=CONTROLLER:65535
> 
>         $ curl -X GET http://localhost:8080/v1.0/topology/links
>         [{"src": {"hw_addr": "66:df:c7:f7:0c:04", "name": "s2-eth3", 
> "port_no": "00000003", "dpid": "0000000000000002"}, "dst": {"hw_addr": 
> "16:3c:5a:66:aa:f6", "name": "s3-eth2", "port_no": "00000002", "dpid": 
> "0000000000000003"}}, {"src": {"hw_addr": "4e:51:8c:48:4d:d8", "name": 
> "s2-eth2", "port_no": "00000002", "dpid": "0000000000000002"}, "dst": 
> {"hw_addr": "96:ae:dd:c4:0f:c0", "name": "s1-eth2", "port_no": "00000002", 
> "dpid": "0000000000000001"}}, {"src": {"hw_addr": "16:3c:5a:66:aa:f6", 
> "name": "s3-eth2", "port_no": "00000002", "dpid": "0000000000000003"}, "dst": 
> {"hw_addr": "66:df:c7:f7:0c:04", "name": "s2-eth3", "port_no": "00000003", 
> "dpid": "0000000000000002"}}, {"src": {"hw_addr": "96:ae:dd:c4:0f:c0", 
> "name": "s1-eth2", "port_no": "00000002", "dpid": "0000000000000001"}, "dst": 
> {"hw_addr": "4e:51:8c:48:4d:d8", "name": "s2-eth2", "port_no": "00000002", 
> "dpid": "0000000000000002"}}]
> 
>         Thanks,
>         Iwase
> 
>         >
>         > Any idea on how to resolve this issue?  I can use the topology from 
> prior data transfer phase but I need to periodically access topology info 
> during network runtime too.
>         >
>         > Thanks.
>         >
>         >
>         >
>         > 
> ------------------------------------------------------------------------------
>         >
>         >
>         >
>         > _______________________________________________
>         > Ryu-devel mailing list
>         > [email protected] 
> <mailto:[email protected]>
>         > https://lists.sourceforge.net/lists/listinfo/ryu-devel
>         >
> 
> 
> 

------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to