aboutsummaryrefslogtreecommitdiff
path: root/rumba/prototypes/rlite.py
Commit message (Collapse)AuthorAgeFilesLines
* testbeds: Abstract away use of http proxy serverSander Vrijders2018-06-281-4/+0
| | | | | | | | Certain testbeds use a proxy to access the outside world. Due to recent changes this was not working anymore. This takes a different approach to re-enable this. It simply adds the lines to /etc/profile after swap-in so that the proxy is added to every shell upon execution.
* rlite: change repo to gitlab/arcfire/rliteMarco Capitani2018-05-281-1/+1
|
* elements: Experiment: add missing enrollment_strategy argumentVincenzo Maffione2018-05-081-2/+4
| | | | | | 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 & irati: add QOS cubesMarco Capitani2018-04-121-0/+5
| | | | | Fixes #45 Only implemented in IRATI, other prototypes warn and ignore.
* testbeds, prototypes, model: Add docstringsSander Vrijders2018-03-281-1/+11
| | | | | This adds docstrings for methods of in the testbeds, prototypes and certain things in the model.
* 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.
* model & more: add prototype/system log fieldsMarco Capitani2018-02-271-2/+3
| | | | | | | | 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
* prototypes: Remove flag from make of rliteSander Vrijders2017-11-151-2/+1
| | | | | A flag to parallelize rlite compilation was causing virtual memory exhaustion on some VMs.
* prototypes: Add parallel install for rliteSander Vrijders2017-11-151-3/+19
| | | | | This adds parallel install for rlite, and speeds it up even more by passing the number of cores to make.
* rumba: Use saner names and add Dimitri as authorSander Vrijders2017-11-151-0/+1
| | | | | This uses a saner name for multiprocessing_utils and adds some licenses where they were missing and adds Dimitri as author.
* prototypes: Use common aptitude install functionSander Vrijders2017-11-151-7/+7
| | | | | This lets the prototypes use a common function to install packages through aptitude.
* prototypes: rlite: use the retry version of enrollment commandVincenzo Maffione2017-11-091-1/+1
| | | | This is useful if enrollment fails because of packet loss.
* prototypes, testbeds, ssh_support: Add several fixesSander Vrijders2017-10-251-1/+1
| | | | | This adds several fixes in order for rlite to function on the exogeni testbed.
* prototypes: rlite: align to the new rlite releaseVincenzo Maffione2017-10-051-1/+6
|
* rumba: Update license headersSander Vrijders2017-09-081-4/+9
| | | | | This makes the license headers uniform and adds the authors and a copyright.
* prototypes: rlite: use isinstance() rather than type()Vincenzo Maffione2017-06-151-4/+4
| | | | This is convenient for compatibility between Python 2 and 3.
* 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
| |
* | Model: corrected no-proxy case. rlite: removed hardcoded proxyMarco Capitani2017-06-011-3/+7
|/
* prototypes: rlite: add temporary jfed-specific variables in install_prototypeVincenzo Maffione2017-04-291-2/+2
|
* prototypes: rlite: add sudo when neededVincenzo Maffione2017-04-281-5/+13
|
* prototypes: rlite: add depmodVincenzo Maffione2017-04-281-1/+3
|
* prototypes: rlite: add sudo commandsVincenzo Maffione2017-04-281-2/+2
|
* model, prototypes: enrollment lists contain IPCP objects rather than Node onesVincenzo Maffione2017-04-211-2/+4
| | | | | | | 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.
* irati, rlite, qemu: remove unnecessary banners in log outputVincenzo Maffione2017-04-211-7/+7
|
* Merge branch 'master' into logging (split merged)Marco Capitani2017-04-211-20/+23
|\
| * prototypes: rlite: minor naming changeVincenzo Maffione2017-04-211-17/+14
| |
| * model: Split experiment run()Sander Vrijders2017-04-211-10/+20
| | | | | | | | | | This splits experiment.run() into 4 different operations: swap_in, install_prototype, bootstrap_prototype and swap_out.
* | rumba: log: Added logging support, migrated from print to logging.Marco Capitani2017-04-211-16/+22
|/ | | | | + Added logging, migrated, default logging configuration is to stdout. + Minor PEP8 adjustments all-around
* prototype: rlite: implement enroll_ipcps()Vincenzo Maffione2017-04-131-0/+15
|
* prototype: rlite: add execute_commands() method to reuse codeVincenzo Maffione2017-04-131-8/+10
|
* prototype: rlite: implement register_ipcps()Vincenzo Maffione2017-04-131-1/+15
|
* prototype: rlite: configure shim-eth IPCPsVincenzo Maffione2017-04-131-0/+7
|
* prototypes: rlite: implement create_ipcps()Vincenzo Maffione2017-04-131-7/+34
|
* prototypes: rlite: only modprobe modules for the moment beingVincenzo Maffione2017-04-121-8/+14
|
* examples: minor changes to use "root" user and passwordVincenzo Maffione2017-04-121-1/+0
|
* ssh_support: Pass SSHConfig instead of only hostnameSander Vrijders2017-04-111-1/+1
| | | | | | Only the hostname was passed to the ssh_support component. This passes an object that can also hold the port number. It can be extended to take other things as well, such as a proxy.
* testbeds: qemu: modify constructor argumentsVincenzo Maffione2017-04-081-0/+2
| | | | vm_img_folder --> bzimage, initramfs
* rumba: simplify cooperation between prototype and testbed pluginsVincenzo Maffione2017-04-071-2/+1
|
* Fix pylint warnings and errorsSander Vrijders2017-03-281-4/+4
| | | | This fixes several warnings and errors as reported by pylint.
* model, prototypes: Change default list parameterSander Vrijders2017-03-061-1/+1
| | | | | | This fixes a bug where the same list was used in every instantiation of a class. Apparently you have to pass 'None' as parameter and check for that instead of passing the default constructor of the list.
* testbeds, prototypes: Omit dir name from class nameSander Vrijders2017-02-131-4/+5
| | | | | The directory name was always prepended to the class name, but since they are in distinct namespaces this could be easily removed.
* rumba: Rename package to rumbaSander Vrijders2017-02-091-0/+49
This renames the package to rumba, since rhumba was already taken on the PyPi.