Commit c1f7fe07 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Added temporarily deploy specs and scripts

parent 06505bcc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -250,7 +250,7 @@ export GRAF_EXT_PORT_HTTP=${GRAF_EXT_PORT_HTTP:-"3000"}
./deploy/nats.sh

# Deploy QuestDB
./deploy/qdb.sh
#./deploy/qdb.sh

# Deploy Apache Kafka
./deploy/kafka.sh
@@ -259,7 +259,7 @@ export GRAF_EXT_PORT_HTTP=${GRAF_EXT_PORT_HTTP:-"3000"}
# ./deploy/monitoring.sh

# Expose Dashboard
./deploy/expose_dashboard.sh
#./deploy/expose_dashboard.sh

# Deploy TeraFlowSDN
./deploy/tfs.sh
+6 −6
Original line number Diff line number Diff line
@@ -38,11 +38,11 @@ export TFS_COMPONENTS="context device pathcomp service nbi webui"
#   To manage optical connections, "service" requires "opticalcontroller" to be deployed
#   before "service", thus we "hack" the TFS_COMPONENTS environment variable prepending the
#   "opticalcontroller" only if "service" is already in TFS_COMPONENTS, and re-export it.
#if [[ "$TFS_COMPONENTS" == *"service"* ]]; then
#    BEFORE="${TFS_COMPONENTS% service*}"
#    AFTER="${TFS_COMPONENTS#* service}"
#    export TFS_COMPONENTS="${BEFORE} opticalcontroller service ${AFTER}"
#fi
if [[ "$TFS_COMPONENTS" == *"service"* ]]; then
    BEFORE="${TFS_COMPONENTS% service*}"
    AFTER="${TFS_COMPONENTS#* service}"
    export TFS_COMPONENTS="${BEFORE} opticalcontroller service ${AFTER}"
fi

# Uncomment to activate ZTP
#export TFS_COMPONENTS="${TFS_COMPONENTS} ztp"
@@ -143,7 +143,7 @@ export CRDB_PASSWORD="tfs123"
export CRDB_DEPLOY_MODE="single"

# Disable flag for dropping database, if it exists.
export CRDB_DROP_DATABASE_IF_EXISTS=""
export CRDB_DROP_DATABASE_IF_EXISTS="YES"

# Disable flag for re-deploying CockroachDB from scratch.
export CRDB_REDEPLOY=""

redeploy.sh

0 → 100755
+4 −0
Original line number Diff line number Diff line
#!/bin/bash

source my_deploy.sh
./deploy/all.sh