News for hackers. Stuff that matters.
Re:Making a Linux-managed network switch by wmf on Wednesday July 03, 2024 @10:31PM (#40871869)
OpenFlow was kind of the wrong solution to the problem. (The right solution is switchdev or SAI.)
Re:Making a Linux-managed network switch by wesapien on Thursday July 04, 2024 @02:11AM (#40872713)
I'll look them up. Cheers.
Re:Making a Linux-managed network switch by SSLy on Thursday July 04, 2024 @04:44AM (#40873383)
SAI being what?
Re:Making a Linux-managed network switch by wmf on Thursday July 04, 2024 @11:12AM (#40875538)
Switch Abstraction Interface
Re:Making a Linux-managed network switch by p_l on Thursday July 04, 2024 @08:00AM (#40874185)
OpenFlow is a protocol, switchdev is a driver API for exposing access to essentially the same operation model as OpenFlow targets. You don't replace OpenFlow with switchdev, you might use OpenFlow to integrate a switchdev with an SDN
Re:Making a Linux-managed network switch by wmf on Thursday July 04, 2024 @11:16AM (#40875564)
You want to write code that runs on the switch, whether it's a routing protocol or an intent reconciliation loop or whatever. You don't want to send low-level OpenFlow commands over the network because it ends up being slow and chatty.
Re:Making a Linux-managed network switch by p_l on Thursday July 04, 2024 @04:43PM (#40877896)
A considerable portion of SDN craze involved pretty much this. Even systems that didn't use OpenFlow were incredibly chatty, creating complex chains of NextHop routes from centralized or at least semi-centralized servers to the actual switches.

Even in more sane setups, it's not actually uncommon to have control plane talk over network to actual forwarding plane - IIRC Cisco Nexus operates this way, with actual forwarding engines talking with control plane over Ethernet link.

I like the code to run on the switches directly, but SDNs very often eschewed that for dumber forwarding engines controlled OpenFlow way, even if actual protocols used weren't OpenFlow.