summaryrefslogtreecommitdiffstats
path: root/build/Makefile
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2016-08-28 21:54:21 -0400
committerFeng Pan <fpan@redhat.com>2016-08-28 21:54:21 -0400
commit2cbae61789e59ddae56e9f0fa363a8ec49651f91 (patch)
treec56359c682dc95f0142faa299c0fe0e07b195a2d /build/Makefile
parentf52438b36ea567ae6d9564de72ee6b5054396ae1 (diff)
Add networking-vpp ML2 mechanism driver to overcloud image
Change-Id: Icfeb02f73b18aa6dbcca449b83d2c8c8bf0f6dab Signed-off-by: Feng Pan <fpan@redhat.com>
Diffstat (limited to 'build/Makefile')
-rw-r--r--build/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/build/Makefile b/build/Makefile
index 74a2a610..89aa647c 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -164,6 +164,7 @@ vpp-clean:
@rm -f vpp-bin.tar.gz
@rm -rf vpp-bin vpp
@rm -rf honeycomb $(MAVEN) $(MAVEN_FILE) honeycomb-1.0.0-99.noarch.rpm
+ @rm -rf networking-vpp networking-vpp.noarch.rpm
.PHONY: vpp-build
vpp-build: vpp-bin.tar.gz
@@ -195,6 +196,15 @@ $(MAVEN): $(MAVEN_FILE)
$(MAVEN_FILE):
wget http://www.webhostingjams.com/mirror/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
+.PHONY: networking-vpp-rpm
+networking-vpp-rpm: networking-vpp.noarch.rpm
+
+networking-vpp.noarch.rpm: networking-vpp
+ pushd networking-vpp && python setup.py bdist_rpm --binary-only
+ mv networking-vpp/dist/*.rpm networking-vpp.noarch.rpm
+
+networking-vpp:
+ git clone -b stable https://github.com/naveenjoy/networking-vpp.git
###############
# UNDERCLOUD #
@@ -241,7 +251,7 @@ overcloud-full-clean:
.PHONY: overcloud-full
overcloud-full: images/overcloud-full.qcow2
-images/overcloud-full.qcow2: tacker-rpm tackerclient-rpm congress-rpm
+images/overcloud-full.qcow2: tacker-rpm tackerclient-rpm congress-rpm networking-vpp-rpm
@echo "Building the Apex Base Overcloud Image"
@./overcloud-full.sh