forwarding.config.sample 932 B

1234567891011121314151617181920212223242526272829303132333435
  1. #!/bin/bash
  2. # SPDX-License-Identifier: GPL-2.0
  3. ##############################################################################
  4. # Topology description. p1 looped back to p2, p3 to p4 and so on.
  5. declare -A NETIFS
  6. NETIFS[p1]=veth0
  7. NETIFS[p2]=veth1
  8. NETIFS[p3]=veth2
  9. NETIFS[p4]=veth3
  10. NETIFS[p5]=veth4
  11. NETIFS[p6]=veth5
  12. NETIFS[p7]=veth6
  13. NETIFS[p8]=veth7
  14. ##############################################################################
  15. # Defines
  16. # IPv4 ping utility name
  17. PING=ping
  18. # IPv6 ping utility name. Some distributions use 'ping' for IPv6.
  19. PING6=ping6
  20. # Packet generator. Some distributions use 'mz'.
  21. MZ=mausezahn
  22. # Time to wait after interfaces participating in the test are all UP
  23. WAIT_TIME=5
  24. # Whether to pause on failure or not.
  25. PAUSE_ON_FAIL=no
  26. # Whether to pause on cleanup or not.
  27. PAUSE_ON_CLEANUP=no
  28. # Type of network interface to create
  29. NETIF_TYPE=veth
  30. # Whether to create virtual interfaces (veth) or not
  31. NETIF_CREATE=yes