As we have decided to use raspberry pi as controller, we will see how to install our python based controller POX in this tutorial. Before that it assumed that you have installed a raspbian operating system on Raspberry Pi. You can refer this tutorial to install raspbian.
Its highly recommended that you do not use headless configuration(without connecting keyboard,display etc.) for Raspberry Pi, still if you’re keen on using headless configuration for sake of portability, follow this guide and set up a static ip for Pi so that you know which ip to ssh to.
1) Boot pi by connecting it to 5v power supply.
2) Login using default credentials username:raspberry password:pi
3) Run
git clone http://github.com/noxrepo/pox
cloning will take some time.