shadow.yaml 828 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. general:
  2. stop_time: 1h
  3. network:
  4. graph:
  5. # use a built-in network graph containing
  6. # a single vertex with a bandwidth of 1 Gbit
  7. type: 1_gbit_switch
  8. hosts:
  9. server:
  10. network_node_id: 0
  11. ip_addr: 100.0.0.1
  12. processes:
  13. - path: mgen-server
  14. args: [server.crt, server.key, 100.0.0.1:6397]
  15. start_time: 3s
  16. expected_final_state: running
  17. web:
  18. network_node_id: 0
  19. ip_addr: 100.0.0.2
  20. processes:
  21. - path: mgen-web
  22. args: [server.crt, server.key, 100.0.0.2:6398]
  23. start_time: 3s
  24. expected_final_state: running
  25. client1: &client_host
  26. network_node_id: 0
  27. processes:
  28. - path: mgen-client
  29. args: "*.yaml"
  30. start_time: 5s
  31. expected_final_state: running
  32. environment: {RUST_LOG: "trace"}
  33. client2: *client_host
  34. client3: *client_host