swarmrob.tests.dummy_daemon.daemon_dummy.utils package¶
Submodules¶
swarmrob.tests.dummy_daemon.daemon_dummy.utils.config module¶
swarmrob.tests.dummy_daemon.daemon_dummy.utils.errors module¶
- 
exception 
swarmrob.tests.dummy_daemon.daemon_dummy.utils.errors.CompositionException¶ Bases:
swarmrob.tests.dummy_daemon.daemon_dummy.utils.errors.SwarmRobExceptionErrors related to the experiment definition
- 
exception 
swarmrob.tests.dummy_daemon.daemon_dummy.utils.errors.DockerException¶ Bases:
swarmrob.tests.dummy_daemon.daemon_dummy.utils.errors.SwarmRobExceptionErrors related to problems with the docker daemon
- 
exception 
swarmrob.tests.dummy_daemon.daemon_dummy.utils.errors.NetworkException¶ Bases:
swarmrob.tests.dummy_daemon.daemon_dummy.utils.errors.SwarmRobExceptionErrors related to network communication
- 
exception 
swarmrob.tests.dummy_daemon.daemon_dummy.utils.errors.SwarmException¶ Bases:
swarmrob.tests.dummy_daemon.daemon_dummy.utils.errors.SwarmRobExceptionErrors related to a swarm
- 
exception 
swarmrob.tests.dummy_daemon.daemon_dummy.utils.errors.SwarmRobException¶ Bases:
exceptions.ExceptionGeneral Exception for all other SwarmRob related exceptions
swarmrob.tests.dummy_daemon.daemon_dummy.utils.network module¶
swarmrob.tests.dummy_daemon.daemon_dummy.utils.process_helper module¶
Disk And Execution MONitor (Daemon)
Configurable daemon behaviors:
1.) The current working directory set to the “/” directory. 2.) The current file creation mode mask set to 0. 3.) Close all open files (1024). 4.) Redirect standard I/O streams to “/dev/null”.
A failed call to fork() now raises an exception.
- References:
 - Advanced Programming in the Unix Environment: W. Richard Stevens
 - Unix Programming Frequently Asked Questions:
 - http://www.erlenstar.demon.co.uk/unix/faq_toc.html
 
- 
swarmrob.tests.dummy_daemon.daemon_dummy.utils.process_helper.create_daemon()¶ Detach a process from the controlling terminal and run it in the background as a daemon.