diff --git a/src/tests/tools/mock_mw_sdn_ctrl/MockMWSdnCtrl.py b/src/tests/tools/mock_mw_sdn_ctrl/MockMWSdnCtrl.py index d3d9de4a297e8967604e6479314b6a70ff19930b..91542d85bda3851b5015a4ed88ae24b723e1b86c 100644 --- a/src/tests/tools/mock_mw_sdn_ctrl/MockMWSdnCtrl.py +++ b/src/tests/tools/mock_mw_sdn_ctrl/MockMWSdnCtrl.py @@ -53,11 +53,11 @@ NETWORK_NODES = [ ]} ] NETWORK_LINKS = [ - { + { 'link-id' : '172.18.0.1:2--172.18.0.2:2', 'source' : {'source-node': '172.18.0.1', 'source-tp': '2'}, 'destination': {'dest-node' : '172.18.0.2', 'dest-tp' : '2'}, }, - { + { 'link-id' : '172.18.0.3:2--172.18.0.4:2', 'source' : {'source-node': '172.18.0.3', 'source-tp': '2'}, 'destination': {'dest-node' : '172.18.0.4', 'dest-tp' : '2'}, } diff --git a/src/tests/tools/mock_mw_sdn_ctrl/run.sh b/src/tests/tools/mock_mw_sdn_ctrl/run.sh new file mode 100755 index 0000000000000000000000000000000000000000..415fc1751f132478889fba2e0ec1f5da742e23f1 --- /dev/null +++ b/src/tests/tools/mock_mw_sdn_ctrl/run.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env 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. + +python MockMWSdnCtrl.py