From 8b314e43e07f804a99903e818347ab7f6641203a Mon Sep 17 00:00:00 2001
From: gifrerenom <lluis.gifre@cttc.es>
Date: Tue, 24 Dec 2024 17:07:34 +0000
Subject: [PATCH] ECOC24 test:

- Add deployment of optical controller component in optical SDN controller
---
 src/tests/ecoc24/deploy_specs_opt.sh | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/tests/ecoc24/deploy_specs_opt.sh b/src/tests/ecoc24/deploy_specs_opt.sh
index ca650bb65..5c2467831 100755
--- a/src/tests/ecoc24/deploy_specs_opt.sh
+++ b/src/tests/ecoc24/deploy_specs_opt.sh
@@ -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"
-- 
GitLab