How to connect wifi topology (simulated with ns3) to ONOS?

32 views
Skip to first unread message

Rania SAHRAOUI

unread,
Mar 19, 2025, 12:24:48 PMMar 19
to ONOS Developers

Hello everyone,

How can we connect a Wi-Fi topology simulated by ns-3 to the ONOS controller? (I have to use ns-3 because it introduces the Wi-Fi 7 standard.)

Here's what I've tried so far:

Case A: ns-3 + ofswitch13 module + ONOS

  • Problem: ONOS detects the switch connected to the Access Points (the APs appear as hosts), but it does not show the Wi-Fi stations in the ONOS topology (those stations associated with the APs).

Case B: ns-3 + ONOS via Mininet

  • Problem: ONOS detects a switch connected directly to the Wi-Fi stations (the Wi-Fi stations appear as hosts), without showing any Access Point. It appears that ONOS treats the AP and switch as a single component in this case.

I would greatly appreciate any help or guidance.
Thank you!


Ruben

unread,
Mar 22, 2025, 4:42:35 AMMar 22
to Rania SAHRAOUI, ONOS Developers
Dear Rania,

I'm not very familiar with ns3 simulator, but for ONOS to detect a device (AP or switch) they need to send LLDP frames to it's neighbors. Is there any way to activate LLDP on ns3? Hope this link can help:

https://wiki.onosproject.org/plugins/servlet/mobile?contentId=4752036#content/view/4752036

Best regards,
Ruben

Ruben

unread,
Mar 22, 2025, 5:10:17 AMMar 22
to Rania SAHRAOUI, ONOS Developers
Hi again.

I misread the previous message. Only devices that appear in ONOS topology are SDN compatible ones, so only if it is possible with ns3 simulated APs you'll be able to see them. Otherwise, legacy switches and APs are not detected.

Best regards,
Ruben
Reply all
Reply to author
Forward
0 new messages