fuel: Create job for os-odl_l2-sfc-ha scenario
[releng.git] / jjb / fuel / fuel-deploy.sh
index f3d2aca..6f0fdfc 100755 (executable)
@@ -1,4 +1,12 @@
 #!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2016 Ericsson AB and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
 set -o errexit
 set -o nounset
 set -o pipefail
@@ -80,4 +88,14 @@ $DEPLOY_COMMAND
 
 echo
 echo "--------------------------------------------------------"
-echo "Done!"
+echo "Deployment is done successfully!"
+
+# Quick and dirty fix for SFC scenatio - will be fixed properly post-release
+if [[ "$DEPLOY_SCENARIO" !~ "os-odl_l2-sfc" ]]; then
+    exit 0
+fi
+
+echo "SFC Scenario is deployed"
+
+# TBD: This is where we need to transfer poc.tacker-up.ssh script to
+# controller + ODL node