forwarding.config.sample 706 B

123456789101112131415161718192021222324252627282930
  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. NETIFS=(
  6. [p1]=veth0
  7. [p2]=veth1
  8. [p3]=veth2
  9. [p4]=veth3
  10. [p5]=veth4
  11. [p6]=veth5
  12. [p7]=veth6
  13. [p8]=veth7
  14. [p9]=veth8
  15. [p10]=veth9
  16. )
  17. # Port that does not have a cable connected.
  18. NETIF_NO_CABLE=eth8
  19. ##############################################################################
  20. # In addition to the topology-related variables, it is also possible to override
  21. # in this file other variables that net/lib.sh, net/forwarding/lib.sh or other
  22. # libraries or selftests use. E.g.:
  23. PING6=ping6
  24. MZ=mausezahn
  25. WAIT_TIME=5