whitefield-framework / whitefield

Whitefield provides a simulation environment for wireless sensor networks by combining RF simulation provided by NS3 and network stack provided by popular IoT OSes such as Contiki/RIOT/OpenThread.
GNU General Public License v2.0
82 stars 24 forks source link

Injecting new nodes in the network at runtime #106

Open nyrahul opened 4 years ago

nyrahul commented 4 years ago

Is your feature request related to a problem? Please describe. Currently, the nodes are added using Whitefield config. Once the nodes are added, the node's attributes/interfaces/interface-attributes could be changed at runtime. However, injecting new nodes at runtime is currently not possible.

Describe the solution you'd like It should be possible to inject a new node using a node configuration file at runtime using an OAM command (for e.g., wfshell cmd_add_node config-file)

nyrahul commented 4 years ago

@philok93 , please check if the issue describes the feature you queried and comment if anything specific handling you may require. Thanks.

philok93 commented 4 years ago

@nyrahul thanks for your help. I would say that an even better idea is to add a node at runtime, save the new config into a file and restart/continue whitefield simulation (depends on your preference). This will help me to automate the procedure of doing multiple simulations with an increasing number of nodes. For now I need to create different configuration files with the specific number of nodes.