As discussed in #742 , it could be useful sometimes to (manually or scripted) launch a new node that connects to an already-running simulation. OTNS currently gets the node's startup event already. What it could do in that case:
- check if the node ID used is still 'free'
- if it is free, create a simulation node of a default type e.g. 'external'
- connect to the virtual-UART CLI of the new node
To consider in the design whether:
- The new node is auto-configured with the current OTNS startup script, so that the new node gets the network key and other params.
- The new node does not get any configuration - treated as setup type 'raw'.
- There's a setting in the running simulation (OTNS) whether 1 or 2 above is applied. YAML file can specify the startup script for node types 'external' just like for other types like 'br'.
As discussed in #742 , it could be useful sometimes to (manually or scripted) launch a new node that connects to an already-running simulation. OTNS currently gets the node's startup event already. What it could do in that case:
To consider in the design whether: