Category Archives: SDN

RYU-Faucet ubuntu setup commands used

I’ve listed out all the setup command that i used to setup¬†RYU controller with Faucet app on Ubuntu/vagrant (https://github.com/REANNZ/faucet)


sudo apt-get install python-pip

sudo pip install https://pypi.python.org/packages/source/r/ryu-faucet/ryu-faucet-0.30.tar.gz

sudo apt-get install python-dev
sudo pip install stevedore
sudo pip install debtcollector
sudo pip install greenlet
sudo pip install ryu

export FAUCET_CONFIG=/etc/ryu/faucet/faucet.yaml
export GAUGE_CONFIG=/etc/ryu/faucet/gauge.conf
export FAUCET_LOG_DIR=/var/log/ryu

sudo pip install ipaddr

sudo mkdir /var/log/faucet
sudo mkdir /etc/opt/faucet
sudo cp /etc/ryu/faucet/faucet.yaml /etc/opt/faucet/valve.yaml

sudo ryu-manager –verbose /usr/local/lib/python2.7/dist-packages/ryu_faucet/org/onfsdn/faucet/faucet.py