This test leaves a lot of interfaces when it finishes, making other tests slower due to long time of loading scapy from pft_ping.py when more interfaces are present`pft_ping.py` when more interfaces are present. When both sides of epair are assigned to jails, they are both removed from `created_interfaces.lst` and thus won't be removed during cleanup from this file. DeleteAn interfaces which the test ha assigned to jail is stored in `created_jails.lst` but if it is renamed., Delete both sides of non-renamed epairs,it won't be cleaned up either. somehow those tend to not get deleted tooFurthermore this test uses identical names for multiple interfaces across multiple jails which after destroying those jails adds to overall confusion.
To address this issue a new function is provided for renaming interfaces in jails and storing their new names in `created_jails.lst` for deletion during cleanup.
Sponsored by: InnoGames GmbH