shadow.yaml 815 B

1234567891011121314151617181920212223242526272829303132333435
  1. general:
  2. stop_time: 1h
  3. # old versions of cURL use a busy loop, so to avoid spinning in this busy
  4. # loop indefinitely, we add a system call latency to advance the simulated
  5. # time when running non-blocking system calls
  6. #model_unblocked_syscall_latency: true
  7. network:
  8. graph:
  9. # use a built-in network graph containing
  10. # a single vertex with a bandwidth of 1 Gbit
  11. type: 1_gbit_switch
  12. hosts:
  13. peer1:
  14. network_node_id: 0
  15. ip_addr: 100.0.0.1
  16. processes:
  17. - path: mgen-peer
  18. args: "*.toml"
  19. start_time: 5s
  20. peer2:
  21. network_node_id: 0
  22. ip_addr: 100.0.0.2
  23. processes:
  24. - path: mgen-peer
  25. args: "*.toml"
  26. start_time: 5s
  27. peer3:
  28. network_node_id: 0
  29. ip_addr: 100.0.0.3
  30. processes:
  31. - path: mgen-peer
  32. args: "*.toml"
  33. start_time: 5s