comnetsemu.clean module

About: ComNetsEmu cleanup

comnetsemu.clean.cleanup()

ComNetsEmu cleanup function.

comnetsemu.clean.cleanup_docker_containers()

Cleanup Docker containers created by ComNetsEmu.

comnetsemu.clean.cleanup_netdevs()

Cleanup network devices created by ComNetsEmu. ISSUE: Maybe too aggressive.

comnetsemu.clean.sh(cmd, check=True)

Run a command in string format with subprocess.run. Check is enabled and return the utf-8 decoded stdout.