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...@gmail.com> ha scritto:

> 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 problem, I replaced the Linux
> bridge by the Open vSwitch.
>
> In your case, I suppose the connections between your Docker containers are
> linked with the Linux bridges, how about trying the packet captures around
> the bridges?
>
> Thanks,
> Iwase
>
> 2018/09/27 15:09、Lorenzo Mignone <lorenzomign...@gmail.com>のメール:
>
> 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 scritto:
>
>> On Wed, 26 Sep 2018 18:56:31 +0900,
>> Lorenzo Mignone wrote:
>> >
>> > [1  <multipart/alternative (7bit)>]
>> > [1.1  <text/plain; us-ascii (quoted-printable)>]
>> > 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 set to true
>> except from OFPC_IP_REASM
>> > Controller: OFPT_MULTIPART_REQUEST, OFPMP_PORT_DESC ---> Switch
>> > Switch: OFPT_MULTIPART_REPLY, OFPMP_PORT_DESC ---> Controller
>> > This message includes port information (MAC address, name, state,
>> advertised, ...)
>> > Controller: OFPT_FLOW_MOD ---> Switch
>> > This message sets a flow entry which matches the controller's MAC and
>> ethertype LLDP
>> >
>> > Then some OFPT_ECHO_REQUEST and OFPT_ECHO_REPLY follow.
>> > TCP ACKs are sent/received too.
>> > Sometimes packets like these are sent:
>> >
>> > Controller: OFPT_MULTIPART_REQUEST, OFPMP_FLOW ---> Switch
>> > Switch: OFPT_MULTIPART_REPLY, OFPMP_FLOW ---> Controller
>> > This message includes all the switch statistics and flow entries
>> >
>>
>> I think ryu.app.ws_topology needs to be run in order to generate LLDP
>> packets.
>>
>> --
>> IWAMOTO Toshihiro
>>
> _______________________________________________
> Ryu-devel mailing list
> Ryu-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
>
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to