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

Pre-merge code cleanup

parent 033a8db0
Loading
Loading
Loading
Loading

complete_deploy.sh

deleted100755 → 0
+0 −8
Original line number Diff line number Diff line
./src/tests/ofc22/run_test_03_delete_service.sh
./src/tests/ofc22/run_test_04_cleanup.sh
source src/tests/ofc22/deploy_specs.sh
source my_deploy.sh
./deploy/all.sh
source tfs_runtime_env_vars.sh
ofc22/run_test_01_bootstrap.sh
ofc22/run_test_02_create_service.sh
 No newline at end of file

get_ml_model_info.sh

deleted100755 → 0
+0 −2
Original line number Diff line number Diff line
pod=$(kubectl get pods -n "tfs" -l app=l3-centralizedattackdetectorservice | sed -n '2p' | cut -d " " -f1)
while true; do kubectl -n "tfs" cp $pod:prediction_accuracy.txt ./prediction_accuracy.txt; clear; cat prediction_accuracy.txt | tail -n 10; sleep 1; done
 No newline at end of file

launch_webui.sh

deleted100755 → 0
+0 −1
Original line number Diff line number Diff line
ssh -L 12345:localhost:80 ubuntu@192.168.165.78
+23 −0
Original line number Diff line number Diff line
#!/bin/bash
# Copyright 2022-2023 ETSI TeraFlowSDN - TFS OSG (https://tfs.etsi.org/)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

./src/tests/ofc22/run_test_03_delete_service.sh
./src/tests/ofc22/run_test_04_cleanup.sh
source src/tests/ofc22/deploy_specs.sh
source my_deploy.sh
./deploy/all.sh
source tfs_runtime_env_vars.sh
ofc22/run_test_01_bootstrap.sh
ofc22/run_test_02_create_service.sh
+16 −1
Original line number Diff line number Diff line
#!/bin/bash
# Copyright 2022-2023 ETSI TeraFlowSDN - TFS OSG (https://tfs.etsi.org/)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

component=$1

source "my_deploy.sh"
Loading