This repository contains code snippets for Software-defined Networking. These are written to try OpenFlow based network configuration. The code is written in Python and tested in Mininet emulator.