Monday, August 29, 2016

FAUCET on docker

docker allows you to precisely describe what an application needs, and also isolate it from what it shouldn't need. This makes installation and testing much easier. In FAUCET's case, WAND have done a nice job - as well as packaging installation, they have packaged tests. Running FAUCET's unit tests is now very easy (see below). See also for how to use docker to install and upgrade FAUCET itself.


This runs the mininet tests from the docker entry-point:
docker build -t reannz/faucet-tests -f Dockerfile.tests .
apparmor_parser -R /etc/apparmor.d/usr.sbin.tcpdump
modprobe openvswitch
sudo docker run --privileged -ti reannz/faucet-tests

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.