dtorkin

Untitled

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