Skip to content

Feature: enable externally started nodes to connect to running simulation #753

@EskoDijk

Description

@EskoDijk

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:

  1. The new node is auto-configured with the current OTNS startup script, so that the new node gets the network key and other params.
  2. The new node does not get any configuration - treated as setup type 'raw'.
  3. 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'.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions