Debian Codegraph @

tests/multi_middleware/i226/packet/ref.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 reference applications
22 ../../../../build/reference -c reference_vid100.yaml >ref1.log &
23 sleep 1
24 ../../../../build/reference -c reference_opcua_vid200.yaml >ref2.log &
25 sleep 1
26 ../../../../build/reference -c reference_opcua_vid300.yaml >ref3.log &
27 sleep 1
28 ../../../../build/reference -c reference_avtp_vid400.yaml >ref4.log &
29
30 exit 0