Southbound vs. Northbound APIs in SDN
Northbound APIs connect the SDN controller to upper-level applications (using REST/HTTP), while Southbound APIs connect the controller to lower-level network hardware (using NETCONF, OpenFlow).
The Role of the SDN Controller
In an SDN architecture, the controller sits in the middle. It needs to talk "up" to management applications and "down" to the actual switches and routers. It does this using distinct Application Programming Interfaces (APIs).
Northbound APIs (NBI)
The **Northbound API** is the interface between the SDN controller and higher-level network management applications or orchestration tools (like custom Python scripts or billing systems). These APIs are typically modern, RESTful APIs communicating via HTTP/HTTPS and returning data in JSON format.
Southbound APIs (SBI)
The **Southbound API** is the interface between the SDN controller and the physical data plane devices (routers/switches). The controller uses SBIs to push forwarding rules and configurations down to the hardware. Common SBIs include OpenFlow, NETCONF, RESTCONF, or even legacy CLI/SNMP for older devices.
❓ Frequently Asked Questions
Where does REST normally operate?
REST APIs are primarily used as the Northbound API in an SDN architecture.
What is OpenFlow?
OpenFlow is a well-known Southbound API protocol that allows a controller to modify the forwarding tables of network switches.
Can NETCONF be a Southbound API?
Yes, NETCONF is a standard protocol used by controllers to push configurations to network devices via XML.