Re: [Ryu-devel] Ryu rest_topology shows no links between datapaths

2018-10-02 Thread Lorenzo
Hi, I managed to get the topology by changing the mac address of the lldp packets in ryu/lib/packet/lldp.py. I set it to broadcast (ff:ff:ff:ff:ff:ff). I think it was docker to block packets and not let them reach the other switches. Thanks for your support > Il giorno 28 set 2018, alle ore 09

Re: [Ryu-devel] Ryu rest_topology shows no links between datapaths

2018-09-28 Thread Lorenzo Mignone
Hi, I found the LLDP packets on the ports between the switches eventually. However I still get an empty array when asking for links to ryu.app.rest_topology. I think my datapaths' Open vSwitch configuration is wrong. Thanks. Il giorno gio 27 set 2018 alle ore 15:52 Yusuke Iwase < iwase.yusu...@gm

Re: [Ryu-devel] Ryu rest_topology shows no links between datapaths

2018-09-27 Thread Yusuke Iwase
Hi Lorenzo, Excuse me for jumping in. I faced to the similar problem on my project (maybe this is not cause of your problem though), on my case, the cause was Linux bridge. The Linux bridge doesn’t transparently forward LLDP packets... At that time, I couldn’t find the proper solution of this

Re: [Ryu-devel] Ryu rest_topology shows no links between datapaths

2018-09-26 Thread Lorenzo Mignone
I just tried... That does not work. I think ryu.app.rest_topology should do the same job as ryu.app.ws_topology but they both don't send LLDP packets. I am thinking Open vSwitch might be the cause. Lorenzo Il giorno gio 27 set 2018 alle ore 03:31 IWAMOTO Toshihiro < iwam...@valinux.co.jp> ha scr

Re: [Ryu-devel] Ryu rest_topology shows no links between datapaths

2018-09-26 Thread IWAMOTO Toshihiro
On Wed, 26 Sep 2018 18:56:31 +0900, Lorenzo Mignone wrote: > > [1 ] > [1.1 ] > Hi, > Yes, you are right. > In my case, messages between switches and controller are: > > Switch: OFPT_HELLLO ---> Controller > Controller: OFPT_HELLO ---> Switch > Controller: OFPT_FEATURES_REQUEST ---> Switch > Swi

Re: [Ryu-devel] Ryu rest_topology shows no links between datapaths

2018-09-26 Thread Lorenzo Mignone
Hi, Yes, you are right. In my case, messages between switches and controller are: Switch: OFPT_HELLLO ---> Controller Controller: OFPT_HELLO ---> Switch Controller: OFPT_FEATURES_REQUEST ---> Switch Switch: OFPT_FEATURES_REPLY ---> Controller This message includes a field capabilities where all is

Re: [Ryu-devel] Ryu rest_topology shows no links between datapaths

2018-09-25 Thread IWAMOTO Toshihiro
On Mon, 24 Sep 2018 17:16:27 +0900, Lorenzo Mignone wrote: > > Hi, I am trying to use Ryu REST applications (ofctl_rest and rest_topology) > in my exam project. > I am not using mininet but an alternative called Kathara that was developed > at my university and it is based on docker. > > Whenever

[Ryu-devel] Ryu rest_topology shows no links between datapaths

2018-09-24 Thread Lorenzo Mignone
Hi, I am trying to use Ryu REST applications (ofctl_rest and rest_topology) in my exam project. I am not using mininet but an alternative called Kathara that was developed at my university and it is based on docker. Whenever I use rest_topolgy /v1.0/topology/links and /v1.0/topology/hosts endpoint