aboutsummaryrefslogtreecommitdiff
path: root/rumba/prototypes/irati.py
Commit message (Collapse)AuthorAgeFilesLines
* prototypes: Fix syntax for starting irati ipcmDimitri Staessens2018-06-251-1/+2
| | | | | | The redirection syntax was not fully portable between shells. Fixes #58
* elements: Experiment: add missing enrollment_strategy argumentVincenzo Maffione2018-05-081-2/+5
| | | | | | This is necessary to enable scripts to use full-mesh or manual enrollment strategies. Fixes #54.
* rumba: Update copyright on license headersSander Vrijders2018-04-231-2/+2
| | | | | This updates the copyright on the license headers to that it is extended to the current year.
* model: add parameter for not adding default cubesMarco Capitani2018-04-121-7/+9
|
* model & irati: add QOS cubesMarco Capitani2018-04-121-1/+17
| | | | | Fixes #45 Only implemented in IRATI, other prototypes warn and ignore.
* irati: add app_mappings argument to experimentMarco Capitani2018-04-051-6/+18
| | | | | | | | previously it was impossible to change the `da.map` configuration. Now it can be specified via the app_mappings argument in the constructor and the self.app_mappings of `irati.Experiment` Fixes #49
* testbeds, prototypes, model: Add docstringsSander Vrijders2018-03-281-11/+13
| | | | | This adds docstrings for methods of in the testbeds, prototypes and certain things in the model.
* irati: fix for da.map calling str(dif) instead of dif.nameMarco Capitani2018-03-271-2/+2
| | | | fixes #42
* prototypes: Add local Ouroboros supportSander Vrijders2018-03-141-0/+3
| | | | | | | | | | | | | | | | 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.
* irati: add prototype log parameterMarco Capitani2018-02-271-2/+3
|
* utils & storyboard: add syslog retrieval functionalityMarco Capitani2018-02-271-1/+5
| | | | | Implements #39. Also updated examples.
* model & more: add prototype/system log fieldsMarco Capitani2018-02-271-1/+1
| | | | | | | | 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: Add option to choose git repo and branchSander Vrijders2018-02-131-3/+5
| | | | | | This adds two extra parameters to the Experiment class, so that users can specify their custom repositories and branches for testing new features.
* model: Add timings for every public Experiment callSander Vrijders2017-12-261-2/+2
| | | | | | | This measures the time for every public function of the Experiment class and logs them. Fixes #40
* testbed-qemu: refactor swapout to use call_in_parallelMarco Capitani2017-11-161-5/+1
| | | | minor: also cleaned up some commented old code
* rumba: Use saner names and add Dimitri as authorSander Vrijders2017-11-151-1/+2
| | | | | This uses a saner name for multiprocessing_utils and adds some licenses where they were missing and adds Dimitri as author.
* prototypes: Add parallel installation for OuroborosSander Vrijders2017-11-151-0/+1
| | | | This will install Ouroboros in parallel on the different nodes.
* prototypes: Add parallel installation for IRATIMarco Capitani2017-11-151-7/+18
| | | | | | | This adds parallel installation for IRATI, it also adds support for multithread/multiprocess logging. Furthermore prototype-agnostic utilities for multiprocessing have been added. Caching of clients has been re-enabled for the ssh connections.
* prototypes: Fix VLAN setup for IRATI on UbuntuDimitri Staessens2017-11-151-5/+5
| | | | | | | Some exogeni nodes have scripts that auto-rename interfaces in a way that causes conflicts with VLAN setup for IRATI. This removes those scripts and restarts the network daemon for the changes to take effect.
* prototypes: Use common aptitude install functionSander Vrijders2017-11-151-8/+7
| | | | | This lets the prototypes use a common function to install packages through aptitude.
* prototypes: Wait before IRATI installDimitri Staessens2017-11-151-1/+3
| | | | | | | This adds a command that waits for any running package managers before attempting to update apt. This avoids bailing from some exogeni virtual machines, which seem to perform some package management in the background at boot.
* Revert "prototypes: modprobe 8021q before running IRATI"Sander Vrijders2017-11-141-2/+1
| | | | This reverts commit 16bfd75e0318304727433363217510310787756e.
* prototypes: modprobe 8021q before running IRATIDimitri Staessens2017-11-131-1/+2
| | | | | This inserts the 802.1Q VLAN module into the kernel to make sure it is available when creating VLANs for the IRATI shim DIF.
* prototypes: Update IRATI installDimitri Staessens2017-11-091-2/+2
| | | | The package versions specified give conflicts on Ubuntu.
* prototypes, testbeds, ssh_support: Add several fixesSander Vrijders2017-10-251-9/+8
| | | | | This adds several fixes in order for rlite to function on the exogeni testbed.
* Irati: typo fixMarco Capitani2017-09-191-1/+1
|
* IRATI: added chmod for /dev/irati-ctrlMarco Capitani2017-09-191-0/+3
|
* IRATI: fix for variable installpathMarco Capitani2017-09-181-12/+15
|
* rumba: Add better error handling of SSH connectSander Vrijders2017-09-151-1/+1
| | | | | | If an SSH connect doesn't succeed at first, it is retried up to 5 times with an exponential backoff. It also adds an error message in case of an offending host key.
* rumba: Update license headersSander Vrijders2017-09-081-4/+9
| | | | | This makes the license headers uniform and adds the authors and a copyright.
* Model & ssh: ssh-related methods renamingMarco Capitani2017-07-281-1/+1
|
* rumba: Better placement of files created by RumbaSander Vrijders2017-06-191-1/+1
| | | | | | | | | Temporary files such as ssh_info, the rspecs, logs, ... are now created in /tmp/rumba to avoid too many files being created and never removed. The VM images and jFed CLI are kept in ~/.cache/rumba to avoid redownloading every reboot. Closes #18, #19
* IRATI: added per-node policy support, and revamped policy data model.Marco Capitani2017-06-131-5/+10
| | | | | | additional: + fixed small bug rlated to vhost checking in qemu. + example scripts now correctly use policies.
* IRATI switched wait and logMarco Capitani2017-06-131-1/+1
|
* tools: democonf updated; irati: added sleep after ipcm startMarco Capitani2017-06-081-8/+2
|
* Merge branch 'master' into jfed-irati-fixesMarco Capitani2017-06-071-8/+5
|\
| * Merge branch 'download' into 'master'Vincenzo Maffione2017-06-011-0/+3
| |\ | | | | | | | | | | | | QEMU plugin: download buildroot images if not provided by the user See merge request !51
| | * model: Experiment: add prototype_name()Vincenzo Maffione2017-06-011-0/+3
| | |
| * | Merge branch 'issue9-proxy' into 'master'Vincenzo Maffione2017-06-011-1/+1
| |\ \ | | |/ | |/| | | | | | | Remove hardcoded proxy See merge request !50
| | * model: added proxy field. ssh: added execute_proxy_commandsMarco Capitani2017-06-011-1/+1
| | |
| * | model: remove registration and bindingsVincenzo Maffione2017-06-011-7/+1
| |/ | | | | | | Fixes #7
* | Typo fix in package installationsMarco Capitani2017-06-011-1/+1
| |
* | jfed-irati absolute'ed paths, added mac2ifname.shMarco Capitani2017-06-011-2/+1
| |
* | Merge branch 'master' into jfed-irati-fixesMarco Capitani2017-05-311-0/+3
|\|
| * prototypes: irati: align setup to new kernel build systemVincenzo Maffione2017-05-201-0/+3
| |
* | jfed-irati: fixes after rumba imageMarco Capitani2017-05-311-8/+10
| |
* | jfed-irati small fixes for compatibilityMarco Capitani2017-05-101-10/+11
|/
* Merge branch 'logging-levels' into 'master' Sander Vrijders2017-04-241-6/+6
|\ | | | | | | | | Logging: added set and reset logging level method, small logging modifications. See merge request !40
| * Logging: added set and reset logging level method, small logging modifications.Marco Capitani2017-04-241-6/+6
| |
* | model, prototypes: enrollment lists contain IPCP objects rather than Node onesVincenzo Maffione2017-04-211-6/+7
|/ | | | | | | This fixes a conceptual bug, that was leading to unnecessary workarounds in the prototype plugins. All the plugins have been modified to use the correct format of enrollment lists.