dtorkin

Untitled

May 20th, 2025 (edited)
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.98 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 0 - Base Connection)
  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 Sender thread started.
  51. UVM Receiver thread started for SVM ID 0 (handle: 3).
  52. UVM: All threads started. Waiting for events or shutdown signal...
  53. UVM Receiver thread started for SVM ID 1 (handle: 4).
  54. UVM Receiver thread started for SVM ID 2 (handle: 5).
  55. GUI Server: Starting listener on port 12345
  56. UVM Receiver thread started for SVM ID 3 (handle: 6).
  57. GUI Server: Waiting for GUI connection on port 12345...
  58. GUI Server: Accepted connection (FD 8)
  59. GUI Server: Sending initial state to new GUI client (FD 8).
  60. GUI Server: Initial state sent to GUI client (FD 8).
  61.  
  62.  
  63.  
  64. dtorkin@ubuntu1:~/Desktop/practice$ sudo ./svm_app
  65. SVM Multi-Port Server starting...
  66. Message handlers initialized.
  67. SVM: Loading configuration...
  68. Configuration parsed successfully from 'config.ini'.
  69. Found configurations for 4 SVM instances in file.
  70. --- Effective Configuration ---
  71. interface_type = ethernet
  72. UVM Target: 192.168.189.129:8080
  73. SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
  74. Simulate Control Failure: No
  75. Disconnect After: -1 messages
  76. Simulate Response Timeout: No
  77. Send Warning on Confirm: No (TKS: 1)
  78. SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
  79. Simulate Control Failure: Yes
  80. Disconnect After: -1 messages
  81. Simulate Response Timeout: No
  82. Send Warning on Confirm: No (TKS: 1)
  83. SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
  84. Simulate Control Failure: No
  85. Disconnect After: -1 messages
  86. Simulate Response Timeout: Yes
  87. Send Warning on Confirm: No (TKS: 1)
  88. SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
  89. Simulate Control Failure: No
  90. Disconnect After: 5 messages
  91. Simulate Response Timeout: No
  92. Send Warning on Confirm: No (TKS: 1)
  93. -----------------------------
  94. SVM: Will attempt to start 4 instances based on config.
  95. DEBUG SVM MAIN - Instance 0 Settings: LAK=0x08, simulate_control_failure=0, disconnect_after=-1, simulate_timeout=0, send_warning=0, tks=1
  96. DEBUG SVM MAIN - Instance 1 Settings: LAK=0x09, simulate_control_failure=1, disconnect_after=-1, simulate_timeout=0, send_warning=0, tks=1
  97. DEBUG SVM MAIN - Instance 2 Settings: LAK=0x0A, simulate_control_failure=0, disconnect_after=-1, simulate_timeout=1, send_warning=0, tks=1
  98. DEBUG SVM MAIN - Instance 3 Settings: LAK=0x0B, simulate_control_failure=0, disconnect_after=5, simulate_timeout=0, send_warning=0, tks=1
  99. SVM: Loading configuration...
  100. Configuration parsed successfully from 'config.ini'.
  101. Found configurations for 4 SVM instances in file.
  102. --- Effective Configuration ---
  103. interface_type = ethernet
  104. UVM Target: 192.168.189.129:8080
  105. SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
  106. Simulate Control Failure: No
  107. Disconnect After: -1 messages
  108. Simulate Response Timeout: No
  109. Send Warning on Confirm: No (TKS: 1)
  110. SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
  111. Simulate Control Failure: Yes
  112. Disconnect After: -1 messages
  113. Simulate Response Timeout: No
  114. Send Warning on Confirm: No (TKS: 1)
  115. SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
  116. Simulate Control Failure: No
  117. Disconnect After: -1 messages
  118. Simulate Response Timeout: Yes
  119. Send Warning on Confirm: No (TKS: 1)
  120. SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
  121. Simulate Control Failure: No
  122. Disconnect After: 5 messages
  123. Simulate Response Timeout: No
  124. Send Warning on Confirm: No (TKS: 1)
  125. -----------------------------
  126. SVM: Will attempt to start 4 instances based on config.
  127. Thread-safe QueuedMessage queue created with capacity 400
  128. SVM: Listener thread 0 initiated for Port 8080 (LAK 0x08).
  129. SVM: Listener thread 1 initiated for Port 8081 (LAK 0x09).
  130. Ethernet: Listening on port 8080 (handle: 3)
  131. Listener thread started for SVM ID 0 (LAK 0x08, Port 8080, Listen FD 3)
  132. Listener (SVM 0): Waiting for connection on port 8080...
  133. SVM: Listener thread 2 initiated for Port 8082 (LAK 0x0A).
  134. Ethernet: Listening on port 8081 (handle: 5)
  135. Listener thread started for SVM ID 1 (LAK 0x09, Port 8081, Listen FD 5)
  136. Listener (SVM 1): Waiting for connection on port 8081...
  137. Ethernet: Listening on port 8083 (handle: 6)
  138. Listener thread started for SVM ID 3 (LAK 0x0B, Port 8083, Listen FD 6)
  139. Listener (SVM 3): Waiting for connection on port 8083...
  140. SVM: Listener thread 3 initiated for Port 8083 (LAK 0x0B).
  141. Ethernet: Listening on port 8082 (handle: 7)
  142. Listener thread started for SVM ID 2 (LAK 0x0A, Port 8082, Listen FD 7)
  143. Listener (SVM 2): Waiting for connection on port 8082...
  144. SVM: Starting common threads (Timer, Sender)...
  145. SVM: All common threads started. 4 listeners active. Running...
  146. SVM Main: Waiting for shutdown signal...
  147. SVM Sender thread started (reads global outgoing queue).
  148. SVM Timer thread started.
  149. Listener (SVM 0): Accepted connection from 192.168.189.128:55028 (Client FD 4)
  150. Thread-safe QueuedMessage queue created with capacity 100
  151. Listener (SVM 0): Instance activated. Worker threads started.
  152. SVM Processor thread started for instance 0.
  153. SVM Receiver thread started for instance 0 (handle: 4).
  154. Listener (SVM 1): Accepted connection from 192.168.189.128:59342 (Client FD 8)
  155. Thread-safe QueuedMessage queue created with capacity 100
  156. Listener (SVM 1): Instance activated. Worker threads started.
  157. SVM Receiver thread started for instance 1 (handle: 8).
  158. SVM Processor thread started for instance 1.
  159. Listener (SVM 2): Accepted connection from 192.168.189.128:60560 (Client FD 10)
  160. Thread-safe QueuedMessage queue created with capacity 100
  161. Listener (SVM 2): Instance activated. Worker threads started.
  162. Listener (SVM 3): Accepted connection from 192.168.189.128:55730 (Client FD 9)
  163. Thread-safe QueuedMessage queue created with capacity 100
  164. SVM Processor thread started for instance 2.
  165. SVM Receiver thread started for instance 2 (handle: 10).
  166. Listener (SVM 3): Instance activated. Worker threads started.
  167. SVM Receiver thread started for instance 3 (handle: 9).
  168. SVM Processor thread started for instance 3.
  169.  
  170.  
Advertisement
Add Comment
Please, Sign In to add comment