hardware.example.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. {
  2. "mode": "hardware",
  3. "listen": "127.0.0.1:50051",
  4. "data_dir": "../var/hardware",
  5. "telemetry_interval_s": 2.0,
  6. "profile_files": [
  7. "profiles/cxmt-live-gnr.json"
  8. ],
  9. "stations": [
  10. {
  11. "station_id": "S1",
  12. "frontend_index": 0,
  13. "name": "工位 001",
  14. "mode": "hardware",
  15. "cpu_count": 2,
  16. "channels_per_cpu": 12,
  17. "target_min_c": 0,
  18. "target_max_c": 100,
  19. "supply_mode": "manual",
  20. "bmc": {
  21. "host": "192.168.0.100",
  22. "user": "ADMIN",
  23. "password_env": "STL_BMC_S1_PASSWORD",
  24. "cipher_suite": 17,
  25. "timeout_s": 15,
  26. "sol_helper_argv": [
  27. "python3",
  28. "native/stl_sol_bridge.py"
  29. ],
  30. "console_transport": "ipmi_sol"
  31. },
  32. "bridge": {
  33. "argv": [
  34. "/opt/xjkj-stl-site/thermal_bridge",
  35. "--station",
  36. "S1"
  37. ],
  38. "timeout_s": 5
  39. }
  40. },
  41. {
  42. "station_id": "S2",
  43. "frontend_index": 1,
  44. "name": "工位 002",
  45. "mode": "hardware",
  46. "cpu_count": 2,
  47. "channels_per_cpu": 12,
  48. "target_min_c": 0,
  49. "target_max_c": 100,
  50. "supply_mode": "manual",
  51. "bmc": {
  52. "host": "192.168.0.101",
  53. "user": "ADMIN",
  54. "password_env": "STL_BMC_S2_PASSWORD",
  55. "cipher_suite": 17,
  56. "timeout_s": 15,
  57. "sol_helper_argv": [
  58. "python3",
  59. "native/stl_sol_bridge.py"
  60. ],
  61. "console_transport": "ipmi_sol"
  62. },
  63. "bridge": {
  64. "argv": [
  65. "/opt/xjkj-stl-site/thermal_bridge",
  66. "--station",
  67. "S2"
  68. ],
  69. "timeout_s": 5
  70. }
  71. },
  72. {
  73. "station_id": "S3",
  74. "frontend_index": 2,
  75. "name": "工位 003",
  76. "mode": "hardware",
  77. "cpu_count": 2,
  78. "channels_per_cpu": 12,
  79. "target_min_c": 0,
  80. "target_max_c": 100,
  81. "supply_mode": "manual",
  82. "bmc": {
  83. "host": "192.168.0.102",
  84. "user": "ADMIN",
  85. "password_env": "STL_BMC_S3_PASSWORD",
  86. "cipher_suite": 17,
  87. "timeout_s": 15,
  88. "sol_helper_argv": [
  89. "python3",
  90. "native/stl_sol_bridge.py"
  91. ],
  92. "console_transport": "ipmi_sol"
  93. },
  94. "bridge": {
  95. "argv": [
  96. "/opt/xjkj-stl-site/thermal_bridge",
  97. "--station",
  98. "S3"
  99. ],
  100. "timeout_s": 5
  101. }
  102. },
  103. {
  104. "station_id": "S4",
  105. "frontend_index": 3,
  106. "name": "工位 004",
  107. "mode": "hardware",
  108. "cpu_count": 2,
  109. "channels_per_cpu": 12,
  110. "target_min_c": 0,
  111. "target_max_c": 100,
  112. "supply_mode": "manual",
  113. "bmc": {
  114. "host": "192.168.0.103",
  115. "user": "ADMIN",
  116. "password_env": "STL_BMC_S4_PASSWORD",
  117. "cipher_suite": 17,
  118. "timeout_s": 15,
  119. "sol_helper_argv": [
  120. "python3",
  121. "native/stl_sol_bridge.py"
  122. ],
  123. "console_transport": "ipmi_sol"
  124. },
  125. "bridge": {
  126. "argv": [
  127. "/opt/xjkj-stl-site/thermal_bridge",
  128. "--station",
  129. "S4"
  130. ],
  131. "timeout_s": 5
  132. }
  133. }
  134. ],
  135. "recipes": [
  136. {
  137. "recipe_id": "CXMT-ASSISTED",
  138. "name": "CXMT 实机辅助流程:现场核对参数后使用",
  139. "revision": 1,
  140. "profile_id": "cxmt-live-gnr",
  141. "dimm_target_c": 80.0,
  142. "preheat_air_c": 70.0,
  143. "preheat_hold_s": 30,
  144. "preheat_timeout_s": 3600,
  145. "phase_timeout_s": 14400,
  146. "finish_timeout_s": 30,
  147. "run_rmt": true,
  148. "run_amt": true,
  149. "run_mt": true,
  150. "stage1_commands": [],
  151. "mt_command": "memtest.efi",
  152. "required_artifact_kinds": [
  153. "memtest_html"
  154. ],
  155. "notes": "硬件接入模板。BIOS 与 UEFI 参数由操作员核对;未显式配置的参数不会自动发送。",
  156. "stop_on_test_error": true,
  157. "metadata": {}
  158. }
  159. ]
  160. }