Bug 49 : Update vpr-router charm to support workload state

Signed-off-by: Philip Joseph <philip.joseph@riftio.com>
diff --git a/vpe-router/Makefile b/vpe-router/Makefile
new file mode 100644
index 0000000..255da3d
--- /dev/null
+++ b/vpe-router/Makefile
@@ -0,0 +1,25 @@
+#!/usr/bin/make
+
+all: lint unit_test
+
+
+.PHONY: clean
+clean:
+	@rm -rf .tox
+
+.PHONY: apt_prereqs
+apt_prereqs:
+	@# Need tox, but don't install the apt version unless we have to (don't want to conflict with pip)
+	@which tox >/dev/null || (sudo apt-get install -y python-pip && sudo pip install tox)
+
+.PHONY: lint
+lint: apt_prereqs
+	@tox --notest
+	@PATH=.tox/py34/bin:.tox/py35/bin flake8 $(wildcard hooks reactive lib unit_tests tests)
+	@which charm > /dev/null ||  (sudo apt-get install -y charm)
+	@charm proof
+
+.PHONY: unit_test
+unit_test: apt_prereqs
+	@echo Starting tests...
+	tox