LLDP Support for Legacy Switches [ONOS 2.7.0]

8 views
Skip to first unread message

Tiago Marques

unread,
Oct 12, 2023, 12:30:51 PM10/12/23
to ONOS Discuss
Hello everyone! I have a (hybrid) network with both SDN switches and legacy switches, said legacy switches have the capability of sending and reading LLDP packets. What i want to know is if ONOS is capable of processing other LLDP packets that aren't from itself or other ONOS instances and recognize the links between the legacy switches and the SDN switches.

I'm asking this because of the processLldp function.

Tiago Marques

unread,
Oct 14, 2023, 12:04:39 PM10/14/23
to ONOS Discuss, Tiago Marques
So I have tried this hypothesis, making some minor changes to the LinkDiscovery.java and I have encountered a problem: since the legacy switch is not
a device that communicates with ONOS, the controller can't find the device. What I'm asking is if there is a way to create a new type of device that can represent legacy switches on ONOS.

This is the function where the problem occurs.

Eder Ollora

unread,
Oct 17, 2023, 6:49:43 AM10/17/23
to Tiago Marques, ONOS Discuss
Hi,

So the question could be to Wireshark the LLDP and make it look like it is from other legacy switches (maybe change the LinkDiscovery.java). When it is from other ONOS instances you already know but if it is from other legacy switches, you could have a different icon or so.

Cheers,

--
You received this message because you are subscribed to the Google Groups "ONOS Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-discuss...@opennetworking.org.
To view this discussion on the web visit https://groups.google.com/a/opennetworking.org/d/msgid/onos-discuss/b9ab7914-3ac0-4305-87b3-d20632eda9c1n%40opennetworking.org.
For more options, visit https://groups.google.com/a/opennetworking.org/d/optout.

Tiago Marques

unread,
Oct 17, 2023, 11:00:53 AM10/17/23
to ONOS Discuss, gan...@gmail.com, ONOS Discuss, Tiago Marques
Hi, sorry, but I didn't understand what you meant.

I have a legacy switch with capabilities to create LLDP packets, but said LLDP packets (from the legacy switch) can't be parsed by ONOS because the controller can't find the deviceID since the switch isn't connected to the controller. So my idea is to create a new type of device for ONOS to recognize the LLDP packets from the legacy switch and consequently retrieve some metrics from said switch, maybe through something like telnet, and for the device to also appear in the GUI of the ropology and add some more features if possible.
What I want to know is if my idea is possible to accomplish, and if it is, how can I do it?

Thanks for the help
Reply all
Reply to author
Forward
0 new messages