Hi,
I try to write function to get topology info in simple_switch.py,but I receive
a lot of packet in messages when I start ryu controller.
If I run "ryu-manager simple_switch.py ",the controller is run normally,but I
can't discover link info.And if run "ryu-manager --observe-links
simple_switch.py",I will receive a lot of packet in messages. I don't know why.
sudo mn --controller=remote --topo linear,2
Add function in simple_simple_switch.py is :
@set_ev_cls(event.EventSwitchEnter)
def get_topology(self,ev):
switch_list=get_switch(self.topology_api_app,None)
switches=[switch.dp.id for switch in switch_list]
links_list=get_link(self.topology_api_app,None)
receive:
packet in 2 02:d5:9e:b1:87:b7 01:80:c2:00:00:0e 2
packet in 1 56:52:4e:dc:b5:b6 01:80:c2:00:00:0e 2
packet in 1 56:52:4e:dc:b5:b6 01:80:c2:00:00:0e 2
packet in 2 f6:a1:05:d0:db:73 33:33:00:00:00:16 1
packet in 1 f6:a1:05:d0:db:73 33:33:00:00:00:16 2
packet in 2 02:d5:9e:b1:87:b7 01:80:c2:00:00:0e 2
packet in 1 56:52:4e:dc:b5:b6 01:80:c2:00:00:0e 2
packet in 1 56:52:4e:dc:b5:b6 33:33:00:00:00:fb 2
packet in 2 02:d5:9e:b1:87:b7 01:80:c2:00:00:0e 2
packet in 1 56:52:4e:dc:b5:b6 01:80:c2:00:00:0e 2
packet in 2 02:d5:9e:b1:87:b7 33:33:00:00:00:fb 2
packet in 1 56:52:4e:dc:b5:b6 33:33:00:00:00:02 2
packet in 2 02:d5:9e:b1:87:b7 01:80:c2:00:00:0e 2
:
:
thanks------------------------------------------------------------------------------
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