SDN

SDN (Software Defined Networking) refers to the physical separation of the network control plane from the forwarding plane, and where a control plane controls several devices.

The control plane consists of one or more controllers which are considered as the brain of SDN network, where the whole intelligence is incorporated. The below figure depicts the architecture of SDN:

ns-3

ns-3 is a discrete-event network simulator. If, for example, an event scheduled for simulation time "100 seconds" is executed, and the next event is not scheduled until "200 seconds", the simulator will immediately jump from 100 seconds to 200 seconds (of simulation time) to execute the next event. This is what is meant by "discrete-event" simulator.

OpenFlow

OpenFlow is considered one of the first software-defined networking standards. It originally defined the communication protocol in SDN environments that enables an SDN controller to directly interact with the forwarding plane of network devices such as switches and routers, both physical and virtual (hypervisor-based). OpenFlow: