Re: [Ryu-devel] Topology discovery for multidomain controllers

2019-03-21 Thread IWAMOTO Toshihiro
On Wed, 20 Mar 2019 07:35:02 +0900, willian C wrote: > I am new to Ryu and studying about how to perform topology discovery for > multidomain controllers. It would be helpful if anyone could provide a > hint/solution. Have you checked this? https://ryu.readthedocs.io/en/latest/gui.html I canno

Re: [Ryu-devel] topology discovery in wireless networks

2018-03-05 Thread Iwase Yusuke
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

Re: [Ryu-devel] topology discovery in wireless networks

2018-03-05 Thread Myra Sh
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_

Re: [Ryu-devel] topology discovery in wireless networks

2018-03-04 Thread Iwase Yusuke
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

Re: [Ryu-devel] topology discovery in wireless networks

2018-03-04 Thread Myra Sh
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

Re: [Ryu-devel] topology discovery in wireless networks

2018-03-03 Thread Iwase Yusuke
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)...

Re: [Ryu-devel] Topology discovery for wireless networks

2017-11-01 Thread Iwase Yusuke
Hi, As far as I know, Ryu's topology discovery service handles only LLDP. Sorry I don't know the details about topology discovery of wireless networks, it requires some modification on Ryu if wireless networks need the specific protocol handling. Thanks, Iwase On 2017年11月02日 07:01, Sgh snhz w

Re: [Ryu-devel] Topology discovery with OpenFlow1.5

2017-04-18 Thread Khubaib
Thanks for the prompt reply Satoshi. I was aware that OVS 2.5 for example did not support all OpenFlow 1.5 features but thought maybe OVS 2.7 had added support for the remaining ones. — Khubaib On Wed, Apr 19, 2017 at 5:08 AM, Fujimoto Satoshi < satoshi.fujimo...@gmail.com> wrote: > Hi, Khubaib

Re: [Ryu-devel] Topology discovery with OpenFlow1.5

2017-04-18 Thread Fujimoto Satoshi
Hi, Khubaib Unfortunately, there is no switch which fully supports OpenFlow1.5, so currently the topology api probably not be able to work successfully with OpenFlow1.5... Thanks, Fujimoto On 2017年04月18日 16:18, Khubaib wrote: The topology api doesn't work with OpenFlow1.5 because that versio

Re: [Ryu-devel] Topology Discovery

2017-04-03 Thread Yi Tseng
Hi Iwase, Thanks for reply. -Yi 2017-04-02 19:27 GMT-07:00 Iwase Yusuke : > Hi Yi, > > > On 2017年04月01日 05:26, Yi Tseng wrote: > > Hi, > > > > Please don't drop mailing list. > > > > It looks like the host discovery handler didn't handle the packet in > message > > > > The reason I guess is tha

Re: [Ryu-devel] Topology Discovery

2017-04-02 Thread Iwase Yusuke
Hi Yi, On 2017年04月01日 05:26, Yi Tseng wrote: > Hi, > > Please don't drop mailing list. > > It looks like the host discovery handler didn't handle the packet in message > > The reason I guess is that the packet in message was dropped by host > discovery handler. > > The handler only drop LLDP

Re: [Ryu-devel] Topology Discovery

2017-03-31 Thread Yi Tseng
Hi, Please don't drop mailing list. It looks like the host discovery handler didn't handle the packet in message The reason I guess is that the packet in message was dropped by host discovery handler. The handler only drop LLDP and CFM message. I guess there is no correct packet in message sen

Re: [Ryu-devel] Topology Discovery

2017-03-17 Thread Yi Tseng
I think currently there is no "--observe-hosts" option for Ryu now. If your OpenFlow version is 1.3, you should install packet lost flow in switch first. Ryu use packet-in message to discover hosts Yi 2017-03-17 12:35 GMT-07:00 Edison Albuquerque : > OK. > I'll do it this weekend. > Openflow

Re: [Ryu-devel] Topology Discovery

2017-03-17 Thread Yi Tseng
Hi Please don't drop mailing list. 1. Can you paste your debug information here? (with "--verbose"), to make sure anything works fine. 2. What version OpenFlow you are use? 3. Can you show flows in the switch? Thanks Yi 2017-03-17 4:21 GMT-07:00 Edison Albuquerque : > Thanks. > In Mininet

Re: [Ryu-devel] Topology Discovery

2017-03-16 Thread Yi Tseng
Hi, Host should be discovered when a host sent a packet (ip, arp...) Yi 2017-03-16 7:49 GMT-07:00 Edison Albuquerque : > Using the code that is inside Ryu Manual, I was able to see the switches > of the network I created with Mininet, as well as see the links between > them. > I changed the cod

Re: [Ryu-devel] topology discovery

2013-04-23 Thread YAMADA Hideki
Try to run dumper only. $ ryu-manager --verbose --observe-links ryu/topology/dumper.py After the following commit, switches.py is loaded automatically by dumper.py. https://github.com/osrg/ryu/commit/e64bb2b43fe3e3e308ce9501ddf81cb5ed59d408 (2013/04/24 10:42), Nikhil wrote: > sudo ryu-manager --

Re: [Ryu-devel] topology discovery

2013-04-23 Thread Nikhil
sudo ryu-manager --verbose --observe-links ryu/topology/switches.py ryu/topology/dumper.py [sudo] password for sdn: loading app ryu/topology/switches.py loading app ryu/topology/dumper.py loading app ryu.controller.ofp_handler creating context switches instantiating app ryu/topology/dumper.py insta

Re: [Ryu-devel] topology discovery

2013-04-23 Thread YAMADA Hideki
Hi Nikhil, (2013/04/23 15:23), Nikhil wrote: > Hi, > > > > When i ran ryu topology application with mininet tree topology > > > > ./bin/ryu-manager --verbose --observe-links ryu/topology/switches.py > ryu/topology/dumper.py > > > I am getting below error (exception) > > assert not app.name in SERV

Re: [Ryu-devel] topology discovery on openvswitch using ryu controller.

2013-04-04 Thread YAMADA Hideki
Hi, (2013/04/04 10:20), Karthik Sharma wrote: > Hi, > > I'm new to openVswitch and Ryu. There is a description about using Ryu Network > Operating System with OpenStack as Openflow controller in Ryu 1.2 > documentation. > However, this instruction is a little bit complicated for anewbie like me, >

Re: [Ryu-devel] Topology discovery

2012-10-15 Thread Isaku Yamahata
The latest patches are at http://thread.gmane.org/gmane.network.ryu.devel/467 On Mon, Oct 15, 2012 at 03:13:20PM -0300, Ramon Marques wrote: > Hi, > > Is there any application in Ryu to discover the topology? > > Best regards > -- > Ramon Marques Ramos > > Engenheiro de Computa??o > Mestrando e