Commit 8b314e43 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

ECOC24 test:

- Add deployment of optical controller component in optical SDN controller
parent b1807012
Loading
Loading
Loading
Loading
+5 −5
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"