dtorkin

Untitled

May 18th, 2025 (edited)
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.10 KB | None | 0 0
  1. dtorkin@ubuntu1:~/Desktop/practice$ ./svm_app
  2. SVM Multi-Port Server starting...
  3. Message handlers initialized.
  4. SVM: Loading configuration...
  5. Configuration parsed successfully from 'config.ini'.
  6. Found configurations for 4 SVM instances in file.
  7. --- Effective Configuration ---
  8. interface_type = ethernet
  9. UVM Target: 192.168.189.129:8080
  10. SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
  11. Simulate Control Failure: No
  12. Disconnect After: -1 messages
  13. Simulate Response Timeout: No
  14. Send Warning on Confirm: No (TKS: 1)
  15. SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
  16. Simulate Control Failure: Yes
  17. Disconnect After: -1 messages
  18. Simulate Response Timeout: No
  19. Send Warning on Confirm: No (TKS: 1)
  20. SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
  21. Simulate Control Failure: No
  22. Disconnect After: -1 messages
  23. Simulate Response Timeout: Yes
  24. Send Warning on Confirm: No (TKS: 1)
  25. SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
  26. Simulate Control Failure: No
  27. Disconnect After: 5 messages
  28. Simulate Response Timeout: No
  29. Send Warning on Confirm: No (TKS: 1)
  30. -----------------------------
  31. SVM: Will attempt to start 4 instances based on config.
  32. DEBUG SVM MAIN - Instance 0 Settings: LAK=0x08, simulate_control_failure=0, disconnect_after=-1, simulate_timeout=0, send_warning=0, tks=1
  33. DEBUG SVM MAIN - Instance 1 Settings: LAK=0x09, simulate_control_failure=1, disconnect_after=-1, simulate_timeout=0, send_warning=0, tks=1
  34. DEBUG SVM MAIN - Instance 2 Settings: LAK=0x0A, simulate_control_failure=0, disconnect_after=-1, simulate_timeout=1, send_warning=0, tks=1
  35. DEBUG SVM MAIN - Instance 3 Settings: LAK=0x0B, simulate_control_failure=0, disconnect_after=5, simulate_timeout=0, send_warning=0, tks=1
  36. SVM: Loading configuration...
  37. Configuration parsed successfully from 'config.ini'.
  38. Found configurations for 4 SVM instances in file.
  39. --- Effective Configuration ---
  40. interface_type = ethernet
  41. UVM Target: 192.168.189.129:8080
  42. SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
  43. Simulate Control Failure: No
  44. Disconnect After: -1 messages
  45. Simulate Response Timeout: No
  46. Send Warning on Confirm: No (TKS: 1)
  47. SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
  48. Simulate Control Failure: Yes
  49. Disconnect After: -1 messages
  50. Simulate Response Timeout: No
  51. Send Warning on Confirm: No (TKS: 1)
  52. SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
  53. Simulate Control Failure: No
  54. Disconnect After: -1 messages
  55. Simulate Response Timeout: Yes
  56. Send Warning on Confirm: No (TKS: 1)
  57. SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
  58. Simulate Control Failure: No
  59. Disconnect After: 5 messages
  60. Simulate Response Timeout: No
  61. Send Warning on Confirm: No (TKS: 1)
  62. -----------------------------
  63. SVM: Will attempt to start 4 instances based on config.
  64. Thread-safe QueuedMessage queue created with capacity 400
  65. SVM: Listener thread 0 initiated for Port 8080 (LAK 0x08).
  66. SVM: Listener thread 1 initiated for Port 8081 (LAK 0x09).
  67. SVM: Listener thread 2 initiated for Port 8082 (LAK 0x0A).
  68. SVM: Listener thread 3 initiated for Port 8083 (LAK 0x0B).
  69. SVM: Starting common threads (Timer, Sender)...
  70. SVM: All common threads started. 4 listeners active. Running...
  71. SVM Main: Waiting for shutdown signal...
  72. Ethernet: Listening on port 8082 (handle: 3)
  73. Listener thread started for SVM ID 2 (LAK 0x0A, Port 8082, Listen FD 3)
  74. Listener (SVM 2): Waiting for connection on port 8082...
  75. SVM Timer thread started.
  76. Ethernet: Listening on port 8080 (handle: 5)
  77. Listener thread started for SVM ID 0 (LAK 0x08, Port 8080, Listen FD 5)
  78. Listener (SVM 0): Waiting for connection on port 8080...
  79. SVM Sender thread started (reads global outgoing queue).
  80. Ethernet: Listening on port 8083 (handle: 7)
  81. Listener thread started for SVM ID 3 (LAK 0x0B, Port 8083, Listen FD 7)
  82. Listener (SVM 3): Waiting for connection on port 8083...
  83. Ethernet: Listening on port 8081 (handle: 8)
  84. Listener thread started for SVM ID 1 (LAK 0x09, Port 8081, Listen FD 8)
  85. Listener (SVM 1): Waiting for connection on port 8081...
  86. Listener (SVM 0): Accepted connection from 192.168.189.128:35852 (Client FD 6)
  87. Thread-safe QueuedMessage queue created with capacity 100
  88. Listener (SVM 0): Instance activated. Worker threads started.
  89. SVM Processor thread started for instance 0.
  90. SVM Receiver thread started for instance 0 (handle: 6).
  91. Listener (SVM 1): Accepted connection from 192.168.189.128:54128 (Client FD 10)
  92. Thread-safe QueuedMessage queue created with capacity 100
  93. Listener (SVM 1): Instance activated. Worker threads started.
  94. SVM Processor thread started for instance 1.
  95. SVM Receiver thread started for instance 1 (handle: 10).
  96. Listener (SVM 2): Accepted connection from 192.168.189.128:43286 (Client FD 4)
  97. Thread-safe QueuedMessage queue created with capacity 100
  98. Listener (SVM 2): Instance activated. Worker threads started.
  99. Listener (SVM 3): Accepted connection from 192.168.189.128:48410 (Client FD 9)
  100. SVM Receiver thread started for instance 2 (handle: 4).
  101. Thread-safe QueuedMessage queue created with capacity 100
  102. Listener (SVM 3): Instance activated. Worker threads started.
  103. SVM Receiver thread started for instance 3 (handle: 9).
  104. SVM Processor thread started for instance 3.
  105. SVM Processor thread started for instance 2.
  106.  
  107.  
  108. dtorkin@ubuntu1:~/Desktop/practice$ sudo ./uvm_app DR
  109. DEBUG UVM: Effective RadarMode selected: 129
  110. UVM: Загрузка конфигурации...
  111. Configuration parsed successfully from 'config.ini'.
  112. Found configurations for 4 SVM instances in file.
  113. --- Effective Configuration ---
  114. interface_type = ethernet
  115. UVM Target: 192.168.189.129:8080
  116. SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
  117. Simulate Control Failure: No
  118. Disconnect After: -1 messages
  119. Simulate Response Timeout: No
  120. Send Warning on Confirm: No (TKS: 1)
  121. SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
  122. Simulate Control Failure: Yes
  123. Disconnect After: -1 messages
  124. Simulate Response Timeout: No
  125. Send Warning on Confirm: No (TKS: 1)
  126. SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
  127. Simulate Control Failure: No
  128. Disconnect After: -1 messages
  129. Simulate Response Timeout: Yes
  130. Send Warning on Confirm: No (TKS: 1)
  131. SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
  132. Simulate Control Failure: No
  133. Disconnect After: 5 messages
  134. Simulate Response Timeout: No
  135. Send Warning on Confirm: No (TKS: 1)
  136. -----------------------------
  137. UVM: Found 4 SVM configurations in config file.
  138. Thread-safe UVM request queue created with capacity 50
  139. Thread-safe UVM Response queue created with capacity 200
  140. UVM: Connecting to SVMs...
  141. UVM: Attempting to connect to SVM ID 0 (IP: 192.168.189.129, Port: 8080)...
  142. Ethernet: Connected to 192.168.189.129:8080 (handle: 3)
  143. UVM: Successfully connected to SVM ID 0 (Handle: 3).
  144. UVM: Attempting to connect to SVM ID 1 (IP: 192.168.189.129, Port: 8081)...
  145. Ethernet: Connected to 192.168.189.129:8081 (handle: 4)
  146. UVM: Successfully connected to SVM ID 1 (Handle: 4).
  147. UVM: Attempting to connect to SVM ID 2 (IP: 192.168.189.129, Port: 8082)...
  148. Ethernet: Connected to 192.168.189.129:8082 (handle: 5)
  149. UVM: Successfully connected to SVM ID 2 (Handle: 5).
  150. UVM: Attempting to connect to SVM ID 3 (IP: 192.168.189.129, Port: 8083)...
  151. Ethernet: Connected to 192.168.189.129:8083 (handle: 6)
  152. UVM: Successfully connected to SVM ID 3 (Handle: 6).
  153. UVM: Connected to 4 out of 4 configured SVMs.
  154. UVM: Запуск потоков Sender, Receiver(s) и GUI Server...
  155. UVM Sender thread started.
  156. UVM Receiver thread started for SVM ID 0 (handle: 3).
  157. UVM: All necessary threads started. Selected RadarMode: 129. Entering main loop.
  158. UVM Receiver thread started for SVM ID 3 (handle: 6).
  159. GUI Server: Starting listener on port 12345
  160. GUI Server: Waiting for GUI connection on port 12345...
  161. UVM Receiver thread started for SVM ID 2 (handle: 5).
  162. UVM Receiver thread started for SVM ID 1 (handle: 4).
  163.  
  164. dtorkin@ubuntu1:~/Desktop/practice$ nc localhost 12345
  165. EVENT;SVM_ID:0;Type:LinkStatus;Details:NewStatus=2,AssignedLAK=0x08
  166. EVENT;SVM_ID:1;Type:LinkStatus;Details:NewStatus=2,AssignedLAK=0x09
  167. EVENT;SVM_ID:2;Type:LinkStatus;Details:NewStatus=2,AssignedLAK=0x0A
  168. EVENT;SVM_ID:3;Type:LinkStatus;Details:NewStatus=2,AssignedLAK=0x0B
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
Advertisement
Add Comment
Please, Sign In to add comment