shadow.yaml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. general:
  2. stop_time: 30m
  3. bootstrap_end_time: 120s
  4. network:
  5. graph:
  6. # use a built-in network graph containing
  7. # a single vertex with a bandwidth of 1 Gbit
  8. type: 1_gbit_switch
  9. hosts:
  10. peer1: &peer_host
  11. network_node_id: 0
  12. processes:
  13. - path: mgen-peer
  14. args: "../hostsfile *.yaml"
  15. start_time: 310s
  16. expected_final_state: running
  17. environment: {RUST_LOG: "trace"}
  18. - path: tor
  19. args: --Address torclient --Nickname torclient
  20. --defaults-torrc torrc-defaults -f torrc
  21. start_time: 100
  22. expected_final_state: running
  23. peer2: *peer_host
  24. peer3: *peer_host
  25. 4uthority:
  26. network_node_id: 0
  27. ip_addr: 100.0.0.1
  28. processes:
  29. - path: tor
  30. args: --Address 4uthority --Nickname 4uthority
  31. --defaults-torrc torrc-defaults -f torrc
  32. start_time: 1
  33. expected_final_state: running
  34. exit1:
  35. network_node_id: 0
  36. processes:
  37. - path: tor
  38. args: --Address exit1 --Nickname exit1
  39. --defaults-torrc torrc-defaults -f torrc
  40. start_time: 60
  41. expected_final_state: running
  42. exit2:
  43. network_node_id: 0
  44. processes:
  45. - path: tor
  46. args: --Address exit2 --Nickname exit2
  47. --defaults-torrc torrc-defaults -f torrc
  48. start_time: 60
  49. expected_final_state: running
  50. relay1:
  51. network_node_id: 0
  52. processes:
  53. - path: tor
  54. args: --Address relay1 --Nickname relay1
  55. --defaults-torrc torrc-defaults -f torrc
  56. start_time: 60
  57. expected_final_state: running
  58. relay2:
  59. network_node_id: 0
  60. processes:
  61. - path: tor
  62. args: --Address relay2 --Nickname relay2
  63. --defaults-torrc torrc-defaults -f torrc
  64. start_time: 60
  65. expected_final_state: running
  66. relay3:
  67. network_node_id: 0
  68. processes:
  69. - path: tor
  70. args: --Address relay3 --Nickname relay3
  71. --defaults-torrc torrc-defaults -f torrc
  72. start_time: 60
  73. expected_final_state: running
  74. relay4:
  75. network_node_id: 0
  76. processes:
  77. - path: tor
  78. args: --Address relay4 --Nickname relay4
  79. --defaults-torrc torrc-defaults -f torrc
  80. start_time: 60
  81. expected_final_state: running