dtorkin

Untitled

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