Loading src/tests/hackfest3/new-probe/connect_to_mininet.sh 0 → 100755 +16 −0 Original line number Diff line number Diff line # 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. CONTAINER=`docker ps | grep mininet | cut -f1 -d" "` docker exec -it $CONTAINER /bin/bash src/tests/hackfest3/new-probe/copy.sh 0 → 100755 +5 −0 Original line number Diff line number Diff line #!/bin/bash # get container id CONTAINER=`docker ps | grep mininet | cut -f1 -d" "` docker cp ping2.py $CONTAINER:/root src/tests/hackfest3/new-probe/solution/agent.py +1 −1 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ kpi_id = KpiId() enabled = False ### Define the path to the Unix socket socket_path = "/home/nuc8/tfs-develop/ngsdn-tutorial/tmp/sock" socket_path = "/home/teraflow/ngsdn-tutorial/tmp/sock" #socket_path = "./tmp/sock" if os.path.exists(socket_path): os.remove(socket_path) Loading src/tests/hackfest3/new-probe/solution/connect_to_mininet.sh 0 → 100755 +16 −0 Original line number Diff line number Diff line # 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. CONTAINER=`docker ps | grep mininet | cut -f1 -d" "` docker exec -it $CONTAINER /bin/bash src/tests/hackfest3/new-probe/solution/copy.sh 0 → 100755 +5 −0 Original line number Diff line number Diff line #!/bin/bash # get container id CONTAINER=`docker ps | grep mininet | cut -f1 -d" "` docker cp ping2.py $CONTAINER:/root Loading
src/tests/hackfest3/new-probe/connect_to_mininet.sh 0 → 100755 +16 −0 Original line number Diff line number Diff line # 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. CONTAINER=`docker ps | grep mininet | cut -f1 -d" "` docker exec -it $CONTAINER /bin/bash
src/tests/hackfest3/new-probe/copy.sh 0 → 100755 +5 −0 Original line number Diff line number Diff line #!/bin/bash # get container id CONTAINER=`docker ps | grep mininet | cut -f1 -d" "` docker cp ping2.py $CONTAINER:/root
src/tests/hackfest3/new-probe/solution/agent.py +1 −1 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ kpi_id = KpiId() enabled = False ### Define the path to the Unix socket socket_path = "/home/nuc8/tfs-develop/ngsdn-tutorial/tmp/sock" socket_path = "/home/teraflow/ngsdn-tutorial/tmp/sock" #socket_path = "./tmp/sock" if os.path.exists(socket_path): os.remove(socket_path) Loading
src/tests/hackfest3/new-probe/solution/connect_to_mininet.sh 0 → 100755 +16 −0 Original line number Diff line number Diff line # 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. CONTAINER=`docker ps | grep mininet | cut -f1 -d" "` docker exec -it $CONTAINER /bin/bash
src/tests/hackfest3/new-probe/solution/copy.sh 0 → 100755 +5 −0 Original line number Diff line number Diff line #!/bin/bash # get container id CONTAINER=`docker ps | grep mininet | cut -f1 -d" "` docker cp ping2.py $CONTAINER:/root