WIP FPC-III support
[linux/fpc-iii.git] / tools / testing / selftests / net / forwarding / forwarding.config.sample
blobb802c14d295096d5e656ed4ea06b2da4287d2e6f
1 #!/bin/bash
2 # SPDX-License-Identifier: GPL-2.0
4 ##############################################################################
5 # Topology description. p1 looped back to p2, p3 to p4 and so on.
6 declare -A NETIFS
8 NETIFS[p1]=veth0
9 NETIFS[p2]=veth1
10 NETIFS[p3]=veth2
11 NETIFS[p4]=veth3
12 NETIFS[p5]=veth4
13 NETIFS[p6]=veth5
14 NETIFS[p7]=veth6
15 NETIFS[p8]=veth7
17 # Port that does not have a cable connected.
18 NETIF_NO_CABLE=eth8
20 ##############################################################################
21 # Defines
23 # IPv4 ping utility name
24 PING=ping
25 # IPv6 ping utility name. Some distributions use 'ping' for IPv6.
26 PING6=ping6
27 # Packet generator. Some distributions use 'mz'.
28 MZ=mausezahn
29 # Time to wait after interfaces participating in the test are all UP
30 WAIT_TIME=5
31 # Whether to pause on failure or not.
32 PAUSE_ON_FAIL=no
33 # Whether to pause on cleanup or not.
34 PAUSE_ON_CLEANUP=no
35 # Type of network interface to create
36 NETIF_TYPE=veth
37 # Whether to create virtual interfaces (veth) or not
38 NETIF_CREATE=yes
39 # Timeout (in seconds) before ping exits regardless of how many packets have
40 # been sent or received
41 PING_TIMEOUT=5