Debian Codegraph @

tests/multi_middleware/stmmac/packet/mirror.sh

raw symbols SCIP
1 #!/bin/bash
2 #
3 # Copyright (C) 2022 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 enp0s29f2
15 sleep 10
16
17 # Configure flow
18 ./flow_ehl.sh enp0s29f2
19 sleep 10
20
21 # Start four instances of mirror applications
22 ../../../../build/mirror -c mirror_vid100_ehl.yaml >mirror1.log &
23 sleep 1
24 ../../../../build/mirror -c mirror_opcua_vid200_ehl.yaml >mirror2.log &
25 sleep 1
26 ../../../../build/mirror -c mirror_opcua_vid300_ehl.yaml >mirror3.log &
27 sleep 1
28 ../../../../build/mirror -c mirror_avtp_vid400_ehl.yaml >mirror4.log &
29
30 exit 0