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

deploy: enable optical MCP and Agentic demo components

parent 50963626
Loading
Loading
Loading
Loading
+8 −8
Changes for my_deploy.sh: 8 added lines, 8 removed lines.
Original line number Diff line number Diff line
@@ -43,11 +43,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"
@@ -105,11 +105,11 @@ export TFS_COMPONENTS="context device pathcomp service nbi webui"

# Uncomment to activate MCP Server.
# Keep it near the end so it is deployed after optional components it can expose.
#export TFS_COMPONENTS="${TFS_COMPONENTS} mcp_server"
export TFS_COMPONENTS="${TFS_COMPONENTS} mcp_server"

# Uncomment to activate Agentic Module.
# Keep it after MCP Server so it can discover the local TFS MCP tool catalogue.
#export TFS_COMPONENTS="${TFS_COMPONENTS} agentic"
export TFS_COMPONENTS="${TFS_COMPONENTS} agentic"


# Set the tag you want to use for your images.
@@ -156,7 +156,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=""