aboutsummaryrefslogtreecommitdiff
path: root/rumba/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* elements: Add terminate prototype and reboot nodesSander Vrijders2018-06-121-1/+6
| | | | | | | This adds functions to terminate the prototype gracefully or forcefully, and to reboot all nodes in the experiment. This is useful when running the experiment interactively, so swapping out and back in is not always required.
* rumba: Update copyright on license headersSander Vrijders2018-04-231-2/+3
| | | | | This updates the copyright on the license headers to that it is extended to the current year.
* storyboard: add/format docstringsMarco Capitani2018-03-291-7/+15
| | | | | | | | | Also: + small docstring fixes in model + docstring fixes in log + log refactoring + other small refactoring + some small documentation fixes
* testbeds, prototypes, model: Add docstringsSander Vrijders2018-03-281-3/+24
| | | | | This adds docstrings for methods of in the testbeds, prototypes and certain things in the model.
* storyboard: add replayabilityMarco Capitani2018-03-161-1/+1
| | | | implements #27
* log: add log to file and flush logger functionalitiesMarco Capitani2018-02-271-4/+12
|
* utils: added prototype log retrievalMarco Capitani2018-02-271-1/+6
|
* utils & storyboard: add syslog retrieval functionalityMarco Capitani2018-02-271-15/+117
| | | | | Implements #39. Also updated examples.
* storyboard: re-add run_command methodMarco Capitani2018-01-111-12/+17
| | | | | | | | | Also: logging fix in ssh_support, Enabling changes: storyboard: refactor 'start' method, it was getting big some more minor storyboard refactoring for decoupling update examples to new syntax
* utils: Add check for Python 2Sander Vrijders2017-11-211-0/+6
| | | | | This adds a check in case Python 2 is used, since it doesn't have input(). It assigns raw_input to input if this is the case.
* utils: add exception logging for CMMarco Capitani2017-11-161-0/+1
| | | | | The stacktrace of the exception (if any) encountered in the execution will be printed at debug level, for debug purposes.
* rumba: Use saner names and add Dimitri as authorSander Vrijders2017-11-151-0/+26
| | | | | This uses a saner name for multiprocessing_utils and adds some licenses where they were missing and adds Dimitri as author.
* utils: add swap_out after prompt in ExperimentManagerMarco Capitani2017-11-151-2/+10
|
* utils, examples: Add ExperimentManager CMMarco Capitani2017-11-131-0/+27
Adds an ExperimentManager context manager for scripts: - No more ugly stack traces after execution if something goes wrong - No more ugly and easy to forget try-finally blocks