Add 6Wind quagga to ubuntu16.04 and centos7 images 66/53966/9 release/boron-sr3
authorrahul.agarwal <rahul.agarwal3@tcs.com>
Tue, 28 Mar 2017 17:12:07 +0000 (22:42 +0530)
committerRahul Agarwal <rahul.agarwal3@tcs.com>
Thu, 6 Apr 2017 10:38:03 +0000 (10:38 +0000)
6Wind Quagga router is Open Sourced and can be compiled in two modes
(namely 'l3vpn mode' and 'evpn mode) resulting in separate binaries
required to be installed on minion images. Both binaries are required
for Boron & Carbon DC-Gateway testing. L3VPN Quagga binary is needed
for Boron and EVPN Quagga binary is required for Carbon testing.

- https://lists.opendaylight.org/pipermail/integration-dev/
2017-March/009376.html

Change-Id: Ibfe5b941ea2f31731ad10fbafa54daeb66f18878
Signed-off-by: rahul.agarwal <rahul.agarwal3@tcs.com>
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
packer/provision/java-builder.sh
packer/provision/mininet-ovs-2.5.sh

index 9f3da56efa2ac25790cebdced4fbbd79bb52fdbc..6ef6dd271d4b29a95c1f5072782d9f06c3abcd3f 100644 (file)
@@ -73,3 +73,15 @@ unzip packer_0.12.2_linux_amd64.zip -d /usr/local/bin/
 # rename packer to avoid conflict with binary in cracklib
 mv /usr/local/bin/packer /usr/local/bin/packer.io
 
+#Check out 6Wind quagga with tag name '20170330', compile and install for router functionalities
+echo "Installing the Quagga..."
+mkdir -p /tmp/build_quagga
+cd /tmp/build_quagga
+git clone https://github.com/6WIND/zrpcd.git
+cd zrpcd
+git checkout 20170330
+chmod a+x /tmp/build_quagga/zrpcd/pkgsrc/dev_compile_script.sh
+/tmp/build_quagga/zrpcd/pkgsrc/dev_compile_script.sh -d -b -t
+
+# Removing the build_quagga folder
+rm -rf /tmp/build_quagga/
\ No newline at end of file
index 5f392cf8a15c69c97839144fa0edd6bb26d0e19b..171a764a3d176aadf1b628f948292c1bcd1f5deb 100644 (file)
@@ -47,3 +47,23 @@ apt-get install vlan
 
 # Install netaddr package which is needed by some custom mininet topologies
 apt-get install python-netaddr
+
+#Check out 6Wind quagga with tag name '20170330', compile and install for router functionalities
+echo "Installing the 6Wind Quagga..."
+mkdir -p /tmp/build_quagga
+cd /tmp/build_quagga
+git clone https://github.com/6WIND/zrpcd.git
+cd zrpcd
+git checkout 20170330
+chmod a+x /tmp/build_quagga/zrpcd/pkgsrc/dev_compile_script.sh
+
+# On Ubuntu 16.04, the 6Wind Quagga top level build script needs to be enhanced to use
+# the right libboost version for this git check-in tag name '20170330'.
+sed -e 's/libboost1.55-all-dev/libboost1.58-all-dev/' \
+pkgsrc/dev_compile_script.sh > pkgsrc/dev_compile_ubuntu16.04_script.sh
+chmod a+x /tmp/build_quagga/zrpcd/pkgsrc/dev_compile_ubuntu16.04_script.sh
+
+/tmp/build_quagga/zrpcd/pkgsrc/dev_compile_ubuntu16.04_script.sh -d -b -t
+
+# Removing the build_quagga folder
+rm -rf /tmp/build_quagga/
\ No newline at end of file