-# the current deploy_vtn.sh script used by integration will be pushed
-# into the system during dynamic spin-up as it has changed often enough
-# that sticking it into the image may not be good as changing it would
-# either require updating the image or doing it during the dynamic
-# spin-up anyway.
+yum install -q -y net-snmp-devel libpcap-devel autoconf make automake libtool libconfig-devel
+
+git clone git://gitosis.stanford.edu/openflow.git $OF_DIR &> /dev/null
+git clone https://github.com/andi-bigswitch/oflops.git $OFLOPS_DIR &> /dev/null
+
+cd $OFLOPS_DIR
+./boot.sh &> /dev/null
+./configure --with-openflow-src-dir=$OF_DIR &> /dev/null
+make &> /dev/null
+make install &> /dev/null