Hi,
Thanks for sharing your app.
@set_ev_cls(event.EventSwitchEnter)
def get_topology_data(self, ev):
global switches
switch_list = get_switch(self.topology_api_app, None)
switches=[switch.dp.id for switch in switch_list]
self.datapath_list=[switch.dp
I wrote the following simple code to see how RYU works. Based on the code,
I can see the list of switches. However, the links between switches
(wireless) are empty.
from ryu.base import app_manager
from ryu.controller import ofp_event
from ryu.controller.handler import CONFIG_DISPATCHER, MAIN_
Hi,
When (or in which handler) do you call "get_link()" API?
Early point of starting up? For example, in your app's "__init__()" or
"switch_features_handler()", topology service could not yet discover links.
To discover all links, it will take some seconds and you need to wait for it.
For anothe
Thank you for your reply.
I added the same code. However, I only can see the list of switches and the
list of links is empty (Links between switches are wireless.)
I used the following lines to see links.
links_list = get_link(self.topology_api_app, None)
print links_list
Do you
Hi,
You can enables the LLDP topology discovery feature, provided by "ryu.topology"
module, to discover switches (and hosts) on your topology.
https://github.com/osrg/ryu/blob/master/ryu/topology/api.py
https://github.com/osrg/ryu/blob/master/ryu/topology/event.py
=
...(snip)...
Hello,
I am new to Ryu controller. I have a wireless network with two
openvswitch(running on wireless nodes) both of them connected to Ryu.
Could you guide me how to enable topology discovery for this
wireless network in Ryu?
Using other SDN controllers, after connecting Openvswitches to the
con