Debian Codegraph @

tests/multi_middleware/i226/packet/mirror.sh

raw symbols SCIP
1 #!/bin/bash
2 #
3 # Copyright (C) 2022-2024 Linutronix GmbH
4 # Author Kurt Kanzenbach <[email protected]>
5 #
6 # SPDX-License-Identifier: BSD-2-Clause
7 #
8
9 set -e
10
11 cd "$(dirname "$0")"
12
13 # Start PTP
14 ../../../../scripts/ptp.sh enp3s0
15 sleep 30
16
17 # Configure flow
18 ./flow.sh enp3s0
19 sleep 30
20
21 # Start four instances of mirror applications
22 ../../../../build/mirror -c mirror_vid100.yaml >mirror1.log &
23 sleep 1
24 ../../../../build/mirror -c mirror_opcua_vid200.yaml >mirror2.log &
25 sleep 1
26 ../../../../build/mirror -c mirror_opcua_vid300.yaml >mirror3.log &
27 sleep 1
28 ../../../../build/mirror -c mirror_avtp_vid400.yaml >mirror4.log &
29
30 exit 0