Commit 5e602004 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Test Ryu-OpenFlow:

- Corrected create/delete service scripts
parent 661301aa
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -16,5 +16,5 @@
source /var/teraflow/tfs_runtime_env_vars.sh
source /var/teraflow/tfs_runtime_env_vars.sh
export PYTHONPATH=/var/teraflow
export PYTHONPATH=/var/teraflow
pytest --verbose --log-level=INFO \
pytest --verbose --log-level=INFO \
    --junitxml=/opt/results/report_service_ietf_create.xml \
    --junitxml=/opt/results/report_service_ietf_create_h1_h3.xml \
    /var/teraflow/tests/ryu-openflow/tests/test_service_ietf_create.py
    /var/teraflow/tests/ryu-openflow/tests/test_service_ietf_create_h1_h3.py
+20 −0
Original line number Original line Diff line number Diff line
#!/bin/bash
# Copyright 2022-2025 ETSI SDG TeraFlowSDN (TFS) (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.

source /var/teraflow/tfs_runtime_env_vars.sh
export PYTHONPATH=/var/teraflow
pytest --verbose --log-level=INFO \
    --junitxml=/opt/results/report_service_ietf_create_h2_h4.xml \
    /var/teraflow/tests/ryu-openflow/tests/test_service_ietf_create_h2_h4.py
+2 −2
Original line number Original line Diff line number Diff line
@@ -16,5 +16,5 @@
source /var/teraflow/tfs_runtime_env_vars.sh
source /var/teraflow/tfs_runtime_env_vars.sh
export PYTHONPATH=/var/teraflow
export PYTHONPATH=/var/teraflow
pytest --verbose --log-level=INFO \
pytest --verbose --log-level=INFO \
    --junitxml=/opt/results/report_service_ietf_remove.xml \
    --junitxml=/opt/results/report_service_ietf_remove_h1_h3.xml \
    /var/teraflow/tests/ryu-openflow/tests/test_service_ietf_remove.py
    /var/teraflow/tests/ryu-openflow/tests/test_service_ietf_remove_h1_h3.py
+20 −0
Original line number Original line Diff line number Diff line
#!/bin/bash
# Copyright 2022-2025 ETSI SDG TeraFlowSDN (TFS) (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.

source /var/teraflow/tfs_runtime_env_vars.sh
export PYTHONPATH=/var/teraflow
pytest --verbose --log-level=INFO \
    --junitxml=/opt/results/report_service_ietf_remove_h2_h4.xml \
    /var/teraflow/tests/ryu-openflow/tests/test_service_ietf_remove_h2_h4.py