intrig-unicamp / mininet-wifi

Emulator for Software-Defined Wireless Networks
https://mn-wifi.readthedocs.io/
Other
438 stars 239 forks source link

Allow running of multiple mn-wifi instances #316

Closed andynoack closed 4 years ago

andynoack commented 4 years ago

There is a name clash with internal mn%02ds%02d device names that prevents from running multiple instances of mn-wifi on one system, e.g. in different docker containers. Adding the current process ID to the internal names solves the problem. Additionally used kernel modules should only be unloaded when no other mn-wifi instance is running.

My use case is distance learning. If you do not like the idea, feel free to edit or reject the PR.