Any way to perform connectivity unit test? #1505
-
We are currently in the process of setting up a new federation for a grant between 4 different sites. Do we have a baseline unit test to establish connectivity with an aggregator? It doesn't have to be a compute-intensive process, we just need to check if the network protocols are fine between the compute instances and the aggregator. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 7 replies
-
@noopurintel @payalcha - do you have any recommendations for Sarthak on this matter? If not, maybe we take an AR to add a basic Thanks! |
Beta Was this translation helpful? Give feedback.
-
@sarthakpati , do you plan to use OpenFL 1.8 for the new federation you're building? |
Beta Was this translation helpful? Give feedback.
-
My understanding of question - In our experience, if we have connection, firewall and ports properly set between aggregator and collaborators, we never faced issue in federation experiment. Regarding tests - We don't have any connectivity specific test. fx collaborator ping -- seems nice idea. |
Beta Was this translation helpful? Give feedback.
-
Thanks all for the great discussion! The consensus so far seems to settle around a new We'll discuss among the OpenFL team how this can be prioritized and delivered in an upcoming release. |
Beta Was this translation helpful? Give feedback.
-
Here's a a draft code change for this - see #1516. Please review and discuss! |
Beta Was this translation helpful? Give feedback.
-
Hi @sarthakpati, the above PR has been merged and it's part of the latest nightly build (incl. the pip install openfl-nightly==1.9.0.dev202504091 To setup the federation E2E (incl. steps on both aggregator and collaborator side), please follow the Task Runner documentation. PS: you can use this nightly build for the initial phases of setting up the federation, but ideally we recommend that you move to "production" with an official build. Let us know how it goes! |
Beta Was this translation helpful? Give feedback.
Hi @sarthakpati, the above PR has been merged and it's part of the latest nightly build (incl. the
fx collaborator ping
command).You can install it by running:
To setup the federation E2E (incl. steps on both aggregator and collaborator side), please follow the Task Runner documentation.
PS: you can use this nightly build for the initial phases of setting up the federation, but ideally we recommend that you move to "production" with an official build.
Let us know how it goes!