intel-staging / libptpmgmt_iaclocklib

The Clock Manager is a library for monitoring network time synchronization on the local platform. Disclaimer: This project is under development. All source code and features on the main branch is for the purpose of testing or evaluation and not production ready. We will upstream the code and archive this GitHub repo thereafter.
Other
4 stars 7 forks source link

Feature: Complete the connect msg path with timeout #12

Closed AzuraTarmiziIntel closed 6 months ago

AzuraTarmiziIntel commented 6 months ago

The connect message now will return the client session ID to the client. It will also have the timeout of 5 sec by default to receive the proxy reply.

This could be changed in the future.

AzuraTarmiziIntel commented 6 months ago

How to test : Using ilab Just open 2 shell, one is running the proxy, and the other is running the client/run_test.sh (change the libpatch accordingly)

My functionality test :

  1. normal test - you will get session = 0
  2. i change the sessionID to something else to ensure what is being sent is received - it changes See below :

image

  1. proxy 5 seco timeout reply - it passes.
AzuraTarmiziIntel commented 6 months ago

Approved and merged