OFSim, an event-driven OpenFlow simulator, which can simulate the behaviors of both network devices and the centralized controller and perform evaluations with real-life traffic traces.