dtorkin

Untitled

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