aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* storyboard: add replayabilityMarco Capitani2018-03-168-101/+897
| | | | implements #27
* prototypes: Improve ouroboros support for fake testbedSander Vrijders2018-03-151-2/+4
| | | | | | | This ameliorates the code by incorporating Marco's comments. It is now possible to run the Ouroboros plugin with the fake testbed plugin as non root. sudo is executed in case it was not done the last 15 minutes. The cleanup is also done properly.
* prototypes: Add local Ouroboros supportSander Vrijders2018-03-145-21/+75
| | | | | | | | | | | | | | | | This adds local Ouroboros support in case of a fake testbed (i.e. no resources allocated). A next PR will abstract away the mode of communication with the testbed, since the Docker plugin will also need it. This also adds another function to the model, terminate_prototype, which should clean up the prototype gracefully, or can be skipped depending on the testbed. Currently the ouroboros plugin with the fake testbed needs to be run as root. If there is a way to run the command as root in the background and then clean it up properly, I would be happy to know how.
* log: add log to file and flush logger functionalitiesMarco Capitani2018-02-273-8/+65
|
* irati: add prototype log parameterMarco Capitani2018-02-271-2/+3
|
* utils: added prototype log retrievalMarco Capitani2018-02-271-1/+6
|
* utils & storyboard: add syslog retrieval functionalityMarco Capitani2018-02-278-36/+167
| | | | | Implements #39. Also updated examples.
* model & more: add prototype/system log fieldsMarco Capitani2018-02-274-6/+38
| | | | | | | | This commit adds the fields necessary to specify the paths and folders related to system logs and prototype logs and fetching them. Defaults are introduced and specific paths for rlite & qemu
* prototypes: Show flow statistics for ouroborosDimitri Staessens2018-02-241-2/+3
| | | | | This enables exporting the flow statistics of the data transfer component to the FUSE filesystem.
* testbeds: Fix locale-gen errorDimitri Staessens2018-02-241-0/+5
| | | | | The locale-gen error persists, even with the new mac2ifname command. This reintroduces the fix.
* storyboard: re-added client applications loggingMarco Capitani2018-02-161-2/+3
|
* examples: Add Rumba paper demonstrationSander Vrijders2018-02-151-0/+133
| | | | This adds the demo as described in the Rumba paper.
* prototypes: Add policy support for OuroborosSander Vrijders2018-02-131-0/+5
| | | | This adds policy support for the Ouroboros plugin.
* prototypes: Add option to choose git repo and branchSander Vrijders2018-02-134-13/+23
| | | | | | This adds two extra parameters to the Experiment class, so that users can specify their custom repositories and branches for testing new features.
* jfed: simplify mac2ifname to avoid LOCALE problemsMarco Capitani2018-02-121-13/+8
|
* Merge branch 'master' into testingSander Vrijders2018-02-123-25/+38
|\
| * prototypes: Fix registration in Ouroboros pluginSander Vrijders2018-02-121-2/+11
| | | | | | | | | | | | Registration was being done before the bootstrapped IPCP was actually reachable over the N-1 layer. This only does the registration once the layer below is fully connected.
| * examples: Fix Converged Operator exampleDimitri Staessens2018-02-121-20/+19
| | | | | | | | | | There were some bad registrations in the core. Some rearrangements in other registrations for consistency.
| * testbeds: Fix local message in jFed testbedDimitri Staessens2018-02-071-3/+8
| | | | | | | | | | Setting the locale sometimes prevented the warning being shown. This disables the warning alltogether.
* | Merge branch 'master' into testingSander Vrijders2018-01-201-24/+21
|\|
| * examples: Fix converged operator exampleDimitri Staessens2018-01-201-24/+21
| | | | | | | | The converged operator example contained some bugs and didn't work anymore with the new checks.
* | Merge branch 'master' into testingSander Vrijders2018-01-191-1/+6
|\|
| * testbeds: Set locale on jfed nodesDimitri Staessens2018-01-191-1/+6
| | | | | | | | | | | | Some exogeni nodes have a bad locale set, which results in a warning message to be prepended in the output of the first command run on the node. Running locale-gen fixes this message.
* | Merge branch 'master' into testingSander Vrijders2018-01-121-19/+31
|\|
| * testbeds: Add check for jFed return valueSander Vrijders2018-01-121-19/+31
| | | | | | | | | | | | | | | | This adds a check for the return value whenever jFed is called. It avoids Rumba trying to continue on an experiment that failed to swap in. Fixes #37
* | Merge branch 'master' into testingSander Vrijders2018-01-121-7/+3
|\|
| * ssh_support: Fix aptitude update bug in exogeniSander Vrijders2018-01-121-7/+3
| | | | | | | | | | | | | | This fixes a bug for when the default image is Ubuntu, which updates the packages upon swap-in, since the update deadline has been met. This commit waits for it to finish and then updates and installs the packages until it works.
* | model: Add check for number of members in ShimEthDIFSander Vrijders2018-01-121-6/+11
|/ | | | | | This adds a check to see that the number of members in the ShimEthDIF class is not exceeded by two, since it is currently not supported by Rumba.
* storyboard: re-add run_command methodMarco Capitani2018-01-117-56/+118
| | | | | | | | | 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
* Merge branch 'master' into testingSander Vrijders2018-01-091-1/+1
|\
| * testbeds: Fix bad parsing in emulab pluginSander Vrijders2018-01-091-1/+1
| | | | | | | | | | Due to either a change in the SSH module or in the emulab interface, the list of interfaces was not parsed correctly, this fixes that.
* | storyboard: recover run_command methodMarco Capitani2018-01-081-42/+55
|/
* Merge branch 'master' into testingSander Vrijders2017-12-271-2/+2
|\
| * prototypes: Avoid warnings on autobind of non normal IPCPsSander Vrijders2017-12-271-2/+2
| | | | | | | | | | | | Autobind was happening for all IPCPs, regardless if they were normal IPCPs or not. This fixes it so that it is only called for normal IPCPs, which avoids warnings in the logs.
* | model: Add timings for every public Experiment callSander Vrijders2017-12-264-8/+32
|/ | | | | | | This measures the time for every public function of the Experiment class and logs them. Fixes #40
* prototypes: Adapt to ouroboros CLI updateDimitri Staessens2017-12-221-10/+10
| | | | | The ouroboros CLI was recently updated to use more user-friendly terminology.
* prototypes: Use autobind option for ouroborosDimitri Staessens2017-12-071-9/+7
| | | | | The ouroboros irm commands were updated to bind the ipcp instance to the dif and ipcp names automatically.
* storyboard: fix bug with client durationMarco Capitani2017-12-061-7/+23
| | | | | + Fixes bug introduced in dbc7fd74d8b2c0bf3f2b8f2e81efba8ef2302c1c + implements minimum duration for clients (configurable, default 2 s)
* storyboard: force client to terminate within storyboard lifetimeMarco Capitani2017-12-061-4/+19
| | | | | Before, client could outlive the storyboard and consequently be killed abruptly, leading to ugly logs and more.
* testbeds: Add proxy for emulab testbedSander Vrijders2017-11-281-0/+3
| | | | | The proxy was not set for the emulab testbed, resulting in weird errors when trying to use aptitude.
* testbeds: Fix bad parsing in emulab pluginSander Vrijders2017-11-281-1/+1
| | | | | The Emulab plugin was not functioning anymore after the changes to the SSH support. This fixes the parsing of the topology map.
* rumba: Update to v0.7Sander Vrijders2017-11-211-1/+1
| | | | Updates Rumba to version 0.7
* examples: Add import for storyboardSander Vrijders2017-11-212-0/+2
| | | | | This adds a missing import of the storyboard for the two layers and the converged operator example.
* 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.
* ssh_support: Disable automatic aptitude updatesSander Vrijders2017-11-211-1/+5
| | | | | | This adds 4 commands to disable aptitude trying to update automatically, since it was causing Rumba to fail since the automatic updates were taking the lock.
* storyboard: add logging and log retrievalMarco Capitani2017-11-175-87/+156
|
* storyboard: make Client shutdown an argumentMarco Capitani2017-11-173-28/+109
| | | | | Before the shutdown call for the Client/ClientProcess was fixed to kill <pid>. Now it's passed as an argument to the Client constructor.
* storyboard: decouple from experimentMarco Capitani2017-11-173-276/+311
| | | | | | | | + Node no longer has "client" attribute + Client has a "nodes" attribute instead + servers, server nodes and the experiment can be added to a storyboard after instantiation to allow reuse of a SB + moved storyboard machinery to a separate module rumba.storyboard
* testbed-qemu: refactor swapout to use call_in_parallelMarco Capitani2017-11-163-233/+80
| | | | minor: also cleaned up some commented old code
* 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.