-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to connect one parent to multiple children? #101
Comments
might be an easy fix: Would of course have to add a check for whether CHILDID is a list or not. Still testing... |
Yes, related to the previous issue -- i think we should move away from hardcoded ips/ports/relationships towards a model where agents can be more flexibly deployed (eg. no fixed notion of 'child' and 'parent,' but communication between multiple agents is specified programmatically by the structure of the task), but before we have an automated means of discovery they still need to be parameterized somewhere. The way I would imagine doing this for now would be to have a Alternatively you could create So if that fix^^ works for you, then that (maybe with a little |
This is sort of a continuation of our discussion in #93 (comment)
But that title is not so relevant anymore.
The situation is that I am trying to connect one Parent Pi to multiple Child Pi. Currently, I can connect the Parent to one Child at a time, so I know the Children are each set up correctly. However, I am not sure how to tell the Parent to expect multiple children.
An important pref is likely CHILDID, which currently expects a string. Is the idea that it would expect a list for the case of multiple children? When I provide a list, this happens:
Alternatively, should the Children be serially connected, each a Child of the other? Can there be a multi-generational setup like this? If so, not sure if LINEAGE should be PARENT or CHILD.
I suppose alternatively, I could try to manually send the message to start the task to each child separately. This is how we send the message to one Child.
However, I'm not sure how to modify this last line to go to the correct child. It seems to just go to whichever one is specified in CHILDID. I tried the obvious thing (changing the
to
field to the child's name), but no message arrived, I'm not sure I was doing theto
syntax correctly.thanks!!
The text was updated successfully, but these errors were encountered: