diff options
author | Tim Rozet <trozet@redhat.com> | 2016-08-04 10:42:41 -0400 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2016-08-04 10:42:41 -0400 |
commit | 48a6e06d1d00d76998234b16fc954c9c7cd1576d (patch) | |
tree | e1ef98d5602873011e924a1d438a9fd1c06ce629 /jjb/apex/apex-deploy.sh | |
parent | 7ecfd3b34310ef43e845baf28c177a8f1cfbacc4 (diff) |
Apex: Adds fdio, ipv6 scenarios/jobs
Changes include:
- Adds nosdn-fdio scenario and daily
- Adds odl_l2-fdio scenario and daily
- Adds nosdn ipv6 deploy job to daily (no tests)
Change-Id: Ibd82f4cbda405b3e99c338df863b9a361da2d779
Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'jjb/apex/apex-deploy.sh')
-rwxr-xr-x | jjb/apex/apex-deploy.sh | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/jjb/apex/apex-deploy.sh b/jjb/apex/apex-deploy.sh index b0ff7bded..c6cfb26d1 100755 --- a/jjb/apex/apex-deploy.sh +++ b/jjb/apex/apex-deploy.sh @@ -4,6 +4,7 @@ set -o nounset set -o pipefail APEX_PKGS="common undercloud opendaylight-sfc onos" +IPV6_FLAG=False # log info to console echo "Starting the Apex virtual deployment." @@ -145,6 +146,12 @@ if [ "$OPNFV_CLEAN" == 'yes' ]; then fi fi +if echo ${DEPLOY_SCENARIO} | grep ipv6; then + IPV6_FLAG=True + DEPLOY_SCENARIO=$(echo ${DEPLOY_SCENARIO} | sed 's/-ipv6//') + echo "INFO: IPV6 Enabled" +fi + echo "Deploy Scenario set to ${DEPLOY_SCENARIO}" DEPLOY_FILE="${DEPLOY_SETTINGS_DIR}/${DEPLOY_SCENARIO}.yaml" @@ -154,11 +161,19 @@ fi if [[ "$JOB_NAME" == *virtual* ]]; then # settings for virtual deployment - NETWORK_FILE="${NETWORK_SETTINGS_DIR}/network_settings.yaml" + if [ "$IPV6_FLAG" == "True" ]; then + NETWORK_FILE="${NETWORK_SETTINGS_DIR}/network_settings_v6.yaml" + else + NETWORK_FILE="${NETWORK_SETTINGS_DIR}/network_settings.yaml" + fi DEPLOY_CMD="${DEPLOY_CMD} -v" else # settings for bare metal deployment - NETWORK_FILE="/root/network/network_settings.yaml" + if [ "$IPV6_FLAG" == "True" ]; then + NETWORK_FILE="/root/network/network_settings_v6.yaml" + else + NETWORK_FILE="/root/network/network_settings.yaml" + fi INVENTORY_FILE="/root/inventory/pod_settings.yaml" if ! sudo test -e "$INVENTORY_FILE"; then |