From 24d6634b7939577fcbf58f135dfea8fb95ea3148 Mon Sep 17 00:00:00 2001
From: gifrerenom <lluis.gifre@cttc.es>
Date: Mon, 24 Mar 2025 16:18:50 +0000
Subject: [PATCH] OFC25 tests:

- Added labels in all-in-one deployment to differentiate TFS instances
---
 src/tests/ofc25/deploy.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/tests/ofc25/deploy.sh b/src/tests/ofc25/deploy.sh
index fb892e14c..c630647a0 100755
--- a/src/tests/ofc25/deploy.sh
+++ b/src/tests/ofc25/deploy.sh
@@ -57,6 +57,7 @@ cp manifests/contextservice.yaml manifests/contextservice.yaml.bak
 source src/tests/ofc25/deploy_specs_opt.sh
 cp manifests/contextservice.yaml.bak manifests/contextservice.yaml
 sed -i '/name: CRDB_DATABASE/{n;s/value: .*/value: "tfs_opt_context"/}' manifests/contextservice.yaml
+sed -i 's|\(<h2>ETSI TeraFlowSDN Controller\)</h2>|\1 (Optical)</h2>|' src/webui/service/templates/main/home.html
 
 ./deploy/crdb.sh
 ./deploy/nats.sh
@@ -73,6 +74,7 @@ mv tfs_runtime_env_vars.sh tfs_runtime_env_vars_opt.sh
 source src/tests/ofc25/deploy_specs_ip.sh
 cp manifests/contextservice.yaml.bak manifests/contextservice.yaml
 sed -i '/name: CRDB_DATABASE/{n;s/value: .*/value: "tfs_ip_context"/}' manifests/contextservice.yaml
+sed -i 's|\(<h2>ETSI TeraFlowSDN Controller\)</h2>|\1 (Packet)</h2>|' src/webui/service/templates/main/home.html
 
 ./deploy/crdb.sh
 ./deploy/nats.sh
@@ -89,6 +91,7 @@ mv tfs_runtime_env_vars.sh tfs_runtime_env_vars_ip.sh
 source src/tests/ofc25/deploy_specs_e2e.sh
 cp manifests/contextservice.yaml.bak manifests/contextservice.yaml
 sed -i '/name: CRDB_DATABASE/{n;s/value: .*/value: "tfs_e2e_context"/}' manifests/contextservice.yaml
+sed -i 's|\(<h2>ETSI TeraFlowSDN Controller\)</h2>|\1 (End-to-End)</h2>|' src/webui/service/templates/main/home.html
 
 ./deploy/crdb.sh
 ./deploy/nats.sh
-- 
GitLab