Closed kehusa closed 8 years ago
@maxleiko and @barais, have you any thought on this? It is urgent to get a solution if we are going to present the RCD dynamic model update in the review.
@kehusa Yes I'm working on it since this morning. Gonna get back to you this afternoon
@aliverud @sdalgard @maxleiko The new WSGroup is tested and it is working :-):
When connecting nodes to a master node with onConnect kevscript defined, all nodes gets the kevscript pushed out. In the situation with Safe@Home this strategy fails when other nodes than FieldNodes connect. We need some mechanism to differentiate between different types of connecting nodes.
E.g. based on connecting nodeName, something like where only nodename like FN1, FN2 etc will get the script pushed :
Or perhaps based on different onConnect configurations where the connecting node can ask for a specific one, something like :
and in the connecting node kevscript:
This situation is a showstopper for the dynamic addition of RCDs as it is now since the javanode (EmbeddedWrapper) seems to crash after receiving the wrong kevscript from the master node: