aboutsummaryrefslogtreecommitdiff
path: root/rumba/testbeds/qemu.py
Commit message (Collapse)AuthorAgeFilesLines
* testbeds: Set default project to rumbaSander Vrijders2018-07-271-1/+1
| | | | | This will set the default project name to rumba for most testbeds, since a dedicated group for rumba experiments has been setup.
* examples: Make scalingtime.py more genericSander Vrijders2018-04-251-1/+1
| | | | | | | This makes scalingtime.py more generic by allowing the user to pass command-line arguments to select the prototype, testbed, ... Fixes #50
* 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.
* qemu: fix failure when there is no id_rsa.pubMarco Capitani2018-04-041-9/+23
| | | | | | | Added parameter for passing key path (in case it is not standard) and exception handling, printing only a warning. Fixes #48
* testbeds, prototypes, model: Add docstringsSander Vrijders2018-03-281-7/+25
| | | | | This adds docstrings for methods of in the testbeds, prototypes and certain things in the model.
* qemu: put ~/.ssh/id_rsa.pub into VM's authorized_keysMarco Capitani2018-03-281-1/+11
| | | | fixes #17
* linkquality: added link_quality to add delay, loss and rate limit to linkNick Aerts2018-03-271-16/+1
| | | | | | | | | | | | | | This adds the ability to assign delay and loss to links. 4 new object types are introduced: - LinkQuality - Delay - Loss - Rate All attributes are read-only, one attribute link_quality is added to the ShimEthDIF with a callback to the LinkQualityManager which will automatically apply a new link_quality profile when this attribute is written.
* storyboard: Add capturing of trafficSander Vrijders2018-03-271-0/+2
| | | | | | | | | This adds the functionality to capture traffic on certain interfaces so that it can be inspected with tools like wireshark. A user needs to pass a start and end time and a node and DIF. Rumba will then determine the correct interface to capture on. Implements #41
* testbeds: Add docker testbedNick Aerts2018-03-201-7/+9
| | | | | | | | | | | | This adds support for a testbed based on Docker containers running on the local host. Bridging the containers can be done using built-in Linux bridging or using OpenVSwitch bridges. A new resource 'executor' has been added to abstract away command execution on nodes on the testbed. Executors have been created for local command execution, docker exec based command execution and SSH-based command execution. This has also been changed in the prototypes to execute using the correct executor.
* model & more: add prototype/system log fieldsMarco Capitani2018-02-271-1/+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
* testbed-qemu: refactor swapout to use call_in_parallelMarco Capitani2017-11-161-184/+49
| | | | minor: also cleaned up some commented old code
* rumba: Use saner names and add Dimitri as authorSander Vrijders2017-11-151-2/+3
| | | | | 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 IRATIMarco Capitani2017-11-151-145/+228
| | | | | | | 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: rlite: align to the new rlite releaseVincenzo Maffione2017-10-051-2/+2
|
* testbeds: qemu: Remove unneeded sleepSander Vrijders2017-09-201-2/+0
| | | | | This removes a sleep in the QEMU testbed that was giving errors. It also catches another error in the SSH support.
* qemu: added check for timeout and interruption of swap-in processesMarco Capitani2017-09-191-2/+20
|
* build: Add continuous integrationSander Vrijders2017-09-131-19/+35
| | | | This adds CI to Rumba.
* Merge branch 'qemu-fix' into 'master'Sander Vrijders2017-09-121-5/+5
|\ | | | | | | | | testbeds: qemu: Add dev option to ip link set See merge request !62
| * testbeds: qemu: Add dev option to ip link setSander Vrijders2017-09-041-5/+5
| | | | | | | | | | If the dev option is omitted, the command may fail on short names that resemble options.
* | Merge branch 'master' of gitlab.com:arcfire/rumbaSander Vrijders2017-09-081-0/+3
|\ \
| * | qemu: fix for zombie processesMarco Capitani2017-09-061-0/+3
| |/
* / rumba: Update license headersSander Vrijders2017-09-081-5/+10
|/ | | | | This makes the license headers uniform and adds the authors and a copyright.
* Merge branch 'master' into storyboard-implMarco Capitani2017-07-281-23/+24
|\
| * rumba: Better placement of files created by RumbaSander Vrijders2017-06-191-23/+24
| | | | | | | | | | | | | | | | | | 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
* | ssh & model-storyboard: changed ssh API, added node.execute* methodsMarco Capitani2017-06-301-0/+2
|/
* IRATI: added per-node policy support, and revamped policy data model.Marco Capitani2017-06-131-5/+6
| | | | | | additional: + fixed small bug rlated to vhost checking in qemu. + example scripts now correctly use policies.
* qemu: fix for devices permissionMarco Capitani2017-06-071-0/+7
|
* qemu testbed: use the prototype name to get the right buildroot imageVincenzo Maffione2017-06-011-15/+17
|
* qemu plugin: automatic download of buildroot imagesVincenzo Maffione2017-06-011-3/+19
|
* Logging: added set and reset logging level method, small logging modifications.Marco Capitani2017-04-241-0/+9
|
* testbeds: qemu: minor rearrangements on log printsVincenzo Maffione2017-04-211-9/+9
|
* testbeds: qemu: remove -nographic optionVincenzo Maffione2017-04-211-2/+1
| | | | | This was causing occasional corruption of terminal stdout. Fixes #1.
* irati, rlite, qemu: remove unnecessary banners in log outputVincenzo Maffione2017-04-211-3/+3
|
* rumba: log: Added logging support, migrated from print to logging.Marco Capitani2017-04-211-24/+29
| | | | | + Added logging, migrated, default logging configuration is to stdout. + Minor PEP8 adjustments all-around
* Fixes for issues #4 and #5 (irati plugin and vlans)Marco Capitani2017-04-191-10/+4
|
* qemu: minor fixes to print() statementsVincenzo Maffione2017-04-151-16/+14
|
* Implemented several comments on MR 22:Marco Capitani2017-04-141-11/+2
| | | | | | + Used paramiko for scp (implemented new method in ssh_support + removed (obsoleted) private key for access to vms + used setup_vlans from ssh_support
* Bugfixing for IRATI prototype and QEMU testbedMarco Capitani2017-04-141-9/+18
|
* QEMU: ifname compilation and vm port activationMarco Capitani2017-04-141-0/+39
|\
* | IRATI prototype: bootstrap_network method. Now complete & to be tested.Marco Capitani2017-04-131-3/+2
| |
* | Merge branch 'master' into master-marcoMarco Capitani2017-04-121-6/+17
|\| | | | | | | Updating with ssh changes (and other)
| * testbed: qemu: minor changes to allow last VM batch to bootVincenzo Maffione2017-04-121-3/+11
| |
| * ssh_support: Pass SSHConfig instead of only hostnameSander Vrijders2017-04-111-1/+3
| | | | | | | | | | | | 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.
* | Resolving node_id issue and general cleanupMarco Capitani2017-04-111-35/+62
| |
* | IRATI config file generationMarco Capitani2017-04-111-6/+14
|/
* Forced teardown. Ignores errors and makes sure that everything is pulled down.Marco Capitani2017-04-101-20/+24
|
* testbeds: qemu: use % for formatting stringsVincenzo Maffione2017-04-081-8/+8
|
* testsbeds: qemu: qemu logs directory defaults to pwdVincenzo Maffione2017-04-081-3/+3
|
* testbeds: qemu: modify constructor argumentsVincenzo Maffione2017-04-081-5/+8
| | | | vm_img_folder --> bzimage, initramfs
* testbeds: qemu: port to python3, use explicit module namesVincenzo Maffione2017-04-081-28/+27
|