serial-net.example.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. {
  2. "mode": "hardware",
  3. "listen": "127.0.0.1:50051",
  4. "data_dir": "../var/serial-net",
  5. "telemetry_interval_s": 1.0,
  6. "idle_poll_interval_s": 15,
  7. "profile_files": [
  8. "profiles/cxmt-live-gnr.json"
  9. ],
  10. "stations": [
  11. {
  12. "station_id": "S1",
  13. "frontend_index": 0,
  14. "name": "工位 001(串口转网待配置)",
  15. "mode": "hardware",
  16. "cpu_count": 2,
  17. "channels_per_cpu": 12,
  18. "supply_mode": "manual",
  19. "console": {
  20. "enabled": false,
  21. "transport": "tcp_serial",
  22. "host": "",
  23. "port": 0,
  24. "connect_timeout_s": 5,
  25. "write_timeout_s": 15
  26. },
  27. "bmc": {
  28. "enabled": false,
  29. "host": "",
  30. "user": "ADMIN",
  31. "password_env": "STL_BMC_S1_PASSWORD",
  32. "cipher_suite": 17,
  33. "timeout_s": 15
  34. }
  35. },
  36. {
  37. "station_id": "S2",
  38. "frontend_index": 1,
  39. "name": "工位 002(串口转网待配置)",
  40. "mode": "hardware",
  41. "cpu_count": 2,
  42. "channels_per_cpu": 12,
  43. "supply_mode": "manual",
  44. "console": {
  45. "enabled": false,
  46. "transport": "tcp_serial",
  47. "host": "",
  48. "port": 0,
  49. "connect_timeout_s": 5,
  50. "write_timeout_s": 15
  51. },
  52. "bmc": {
  53. "enabled": false
  54. }
  55. },
  56. {
  57. "station_id": "S3",
  58. "frontend_index": 2,
  59. "name": "工位 003(串口转网待配置)",
  60. "mode": "hardware",
  61. "cpu_count": 2,
  62. "channels_per_cpu": 12,
  63. "supply_mode": "manual",
  64. "console": {
  65. "enabled": false,
  66. "transport": "tcp_serial",
  67. "host": "",
  68. "port": 0,
  69. "connect_timeout_s": 5,
  70. "write_timeout_s": 15
  71. },
  72. "bmc": {
  73. "enabled": false
  74. }
  75. },
  76. {
  77. "station_id": "S4",
  78. "frontend_index": 3,
  79. "name": "工位 004(串口转网待配置)",
  80. "mode": "hardware",
  81. "cpu_count": 2,
  82. "channels_per_cpu": 12,
  83. "supply_mode": "manual",
  84. "console": {
  85. "enabled": false,
  86. "transport": "tcp_serial",
  87. "host": "",
  88. "port": 0,
  89. "connect_timeout_s": 5,
  90. "write_timeout_s": 15
  91. },
  92. "bmc": {
  93. "enabled": false
  94. }
  95. }
  96. ],
  97. "recipes": []
  98. }