adjacentlink / emane

Distributed wireless network emulation framework
Other
127 stars 37 forks source link

Node joining/leaving network during scenario? #237

Closed vivianchiong closed 1 year ago

vivianchiong commented 1 year ago

Hello,

Is there a way to simulate a radio/node joining in at x time, or leaving the network (e.g. node dies) at x time during an running EMANE scenario emulation? I am using the ETCE framework.

For node exit, would you have to manually ssh into a node and kill the emane processes or maybe kill entire LXC? (In this case, would it be possible to "join back in"?) Would there be any changes needed in the escenario.eel file?

If there isn't an easy way to do this, maybe I may need to add some sort of application or script to run manually during the scenario run but I'm not sure how to do that yet.

Thank you!

eschreiber-alink commented 1 year ago

You can move a node in and out of isolation from the network by setting the pathloss to that node (or location if you're using propagationmodel set to freespace) appropriately. No need to start and stop the containing emane instance.

vivianchiong commented 1 year ago

Thanks!