aboutsummaryrefslogtreecommitdiff
path: root/rumba/testbeds/jfed.py
Commit message (Collapse)AuthorAgeFilesLines
* prototypes: Fix experiment without influxDBDimitri Staessens2021-07-241-1/+0
| | | | | | This fixes creating an experiment without influxDB defined (check for None before iterating). Also fixes setting link rates to 1GbE, as this requires link negotiation to be enabled.
* experiment: Move link rate setting to prototypeDimitri Staessens2021-07-191-2/+0
| | | | | | | Apparently I didn't test my final change for this feature when I moved it from the storyboard to the experiment. It didn't work, I tried to put it in the testbed class, but that was a mess, so for now it's moved to the prototype.
* exp: Add metrics and prototype update commandsDimitri Staessens2021-07-181-5/+2
| | | | | | This adds a couple of commands to start/stop metrics exporter, set link rate on virtual wall, and updating the prototype from git, which is useful in interactive mode.
* testbeds: Fix jfed support for recent CLIDimitri Staessens2021-07-091-21/+49
| | | | | | | | This updates jfed support for some recent changes in the CLI. Since the new CLI requires writing the jfed password to a text file, I added an option to set it in the experiment description too. It will still prompt if not set. There is also an option to enable/disable the bastion server, as there has been some changes to its login.
* testbeds: Fix jfed http proxy for wall deploymentsDimitri Staessens2020-12-151-1/+1
|
* 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.
* testbeds: Abstract away use of http proxy serverSander Vrijders2018-06-281-5/+6
| | | | | | | | 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.
* Merge branch 'master' into testingSander Vrijders2018-05-081-2/+2
|\
| * tools: update democonf2rumbaMarco Capitani2018-05-031-2/+2
| | | | | | | | fixes #53
* | testbeds: Add support for InstageniDimitri Staessens2018-05-081-1/+4
|/ | | | | | This adds support for some Instageni testbeds. Also fixes a bug where putting an unknown authority would lead to an error saying there was no authority specified.
* 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.
* testbeds: remove `Testbed.swap_in` call in _swap_inMarco Capitani2018-04-051-2/+0
| | | | Fixes #47
* testbeds, prototypes, model: Add docstringsSander Vrijders2018-03-281-4/+41
| | | | | This adds docstrings for methods of in the testbeds, prototypes and certain things in the model.
* linkquality: added link_quality to add delay, loss and rate limit to linkNick Aerts2018-03-271-3/+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.
* testbeds: Add docker testbedNick Aerts2018-03-201-0/+5
| | | | | | | | | | | | 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.
* 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.
* jfed: simplify mac2ifname to avoid LOCALE problemsMarco Capitani2018-02-121-13/+8
|
* 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.
* 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.
* 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
* 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: Add parallel installation for IRATIMarco Capitani2017-11-151-0/+2
| | | | | | | 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.
* testbeds: Simplify test in jfed.pyDimitri Staessens2017-11-131-3/+1
| | | | | This checks if wall is a substring of the authority to set the image owner to the wall image owner.
* prototypes: Always parse manifest for hostnameDimitri Staessens2017-11-091-12/+3
| | | | | The hostname for wall1 nodes was wrongly constructed. We now parse the manifest for all testbeds to get the hostname.
* testbeds: Fix check for physical machinesDimitri Staessens2017-10-301-1/+1
| | | | | | The check for the value of the "exclusive" attribute was comparing to the boolean True instead of the string "true", causing the selection of default VM images regardless of this setting.
* prototypes, testbeds, ssh_support: Add several fixesSander Vrijders2017-10-251-21/+16
| | | | | This adds several fixes in order for rlite to function on the exogeni testbed.
* testbeds: Complete support for exogeni VMs on jfedDimitri Staessens2017-10-251-7/+33
| | | | Selecting "exogeni.net" as an authority for jfed should now work.
* ssh_support: Use native Paramiko API for ProxySander Vrijders2017-10-241-5/+1
| | | | | | This uses the native paramiko API for proxycommands instead of invoking OpenSSH on the host after connecting to it since that gives race conditons with Paramiko.
* testbeds: Add support for selecting jfed VMsDimitri Staessens2017-10-241-5/+31
| | | | | | | | | | Allows setting the attribute machine_type="virtual" for experiment nodes. If the attribute is set to something else than "virtual" a bare metal machine will be selected. If the attribute is not set, the default will be chosen from the jfed testbed. For the wall and cloudlab, the default is physical machines, for the others, it's virtual machines. This default can be overriden by setting the jfed testbed attribute use_physical_machines to True or False.
* testbeds: Fix image selection for jFeddimitri staessens2017-10-181-2/+12
| | | | | The rspec for node images seems to work on all emulab instances if the user is emulab-ops. Tested on cloudlab and virtual wall.
* testbeds: jFed: Add swap_out methodSander Vrijders2017-09-181-0/+6
| | | | This implements the swap_out method for the jFed plugin.
* build: Add continuous integrationSander Vrijders2017-09-131-3/+7
| | | | This adds CI to Rumba.
* rumba: Update license headersSander Vrijders2017-09-081-4/+9
| | | | | This makes the license headers uniform and adds the authors and a copyright.
* Merge branch 'master' into storyboard-implMarco Capitani2017-07-281-4/+6
|\
| * rumba: Better placement of files created by RumbaSander Vrijders2017-06-191-4/+6
| | | | | | | | | | | | | | | | | | 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-7/+7
|/
* jFed: added backoff; model: fix for rumba-accessMarco Capitani2017-06-151-2/+12
| | | | | | | + added 2 seconds sleep after jfed cli returns to avoid calling not-yet-ready nodes. + moved ssh_info to tools/ folder i.e. where rumba-access assumes it is.
* jfed: build mac2ifname; model: added flags to testbedMarco Capitani2017-06-091-5/+12
|
* Merge branch 'master' into jfed-irati-fixesMarco Capitani2017-06-071-1/+6
|\
| * testbeds: jfed: Update image URISander Vrijders2017-06-071-1/+1
| | | | | | | | | | The GeniSlices URI was being used, but it is better to use the virtual wall one for now.
| * model: added proxy field. ssh: added execute_proxy_commandsMarco Capitani2017-06-011-1/+6
| |
* | jfed-irati absolute'ed paths, added mac2ifname.shMarco Capitani2017-06-011-0/+2
| |
* | jfed-irati: fixes after rumba imageMarco Capitani2017-05-311-1/+1
| |
* | jfed-irati small fixes for compatibilityMarco Capitani2017-05-101-4/+29
|/
* rumba: log: Simplified configuration, small fixesMarco Capitani2017-04-211-4/+1
|
* rumba: log: Added logging support, migrated from print to logging.Marco Capitani2017-04-211-15/+24
| | | | | + Added logging, migrated, default logging configuration is to stdout. + Minor PEP8 adjustments all-around
* testbeds: jfed: Add support for custom imageSander Vrijders2017-04-201-1/+12
| | | | | This adds support to select a custom image, which may be handy for the IRATI prototype.
* Merge branch 'wget-jfed' into 'master' vmaffione2017-04-191-2/+17
|\ | | | | | | | | testbeds: jfed: Download jFed CLI if not found See merge request !33
| * testbeds: jfed: Download jFed CLI if not foundSander Vrijders2017-04-141-2/+17
| | | | | | | | | | If the jFed CLI was not found, then Rumba will download it in the current directory.
* | rumba: Add ProxyCommand for jFedSander Vrijders2017-04-131-0/+5
|/ | | | | This adds a proxy command for the jFed testbed so that it can be accessed when someone does not have IPv6.