dtorkin

Untitled

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