From f52b7b63a2d8e4b820b3a3cea07f225aaed1de23 Mon Sep 17 00:00:00 2001 From: Yifei Xue Date: Mon, 11 Sep 2017 10:38:18 +0800 Subject: Upgrade odl from carbon to nitrogen JIRA: - 1. Because of the bug in odl sfc carbon, this patch upgrade the odl to Nitrogen release. 2. Use the latest stable/ocata of networking-sfc and networking-odl 3. Fix the bug in the patch of multiple physnet mapping Change-Id: Id6e6084d9af76ff92d3c3ba6f8127154b2675aee Signed-off-by: Yifei Xue --- plugins/odl_cluster/roles/setup-odl/files/odl_pkg.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 plugins/odl_cluster/roles/setup-odl/files/odl_pkg.sh (limited to 'plugins/odl_cluster/roles/setup-odl/files/odl_pkg.sh') diff --git a/plugins/odl_cluster/roles/setup-odl/files/odl_pkg.sh b/plugins/odl_cluster/roles/setup-odl/files/odl_pkg.sh new file mode 100755 index 00000000..55639907 --- /dev/null +++ b/plugins/odl_cluster/roles/setup-odl/files/odl_pkg.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +rm -rf /home/networking +rm -rf /home/tmp + +mkdir -p /home/networking +mkdir -p /home/tmp + +cd /home/networking + +git clone https://github.com/openstack/networking-odl.git -b stable/ocata + +sed -i 's/^Babel.*/Babel!=2.4.0,>=2.3.4/' /home/networking/networking-odl/requirements.txt + +pip wheel /home/networking/networking-odl/ -w /home/tmp/ + +cp /home/tmp/networking* /var/www/repo/os-releases/15.1.4/ubuntu-16.04-x86_64/ + +sleep 30 -- cgit 1.2.3-korg