aboutsummaryrefslogtreecommitdiff
path: root/rumba/ssh_support.py
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* testbeds: Complete support for exogeni VMs on jfedDimitri Staessens2017-10-251-4/+4
| | | | Selecting "exogeni.net" as an authority for jfed should now work.
* ssh_support: Use native Paramiko API for ProxySander Vrijders2017-10-241-30/+27
| | | | | | 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.
* examples: Add snake exampleSander Vrijders2017-09-201-1/+1
| | | | | This adds the snake as an example. It forms a single DIF connected node by node. The number of nodes can be passed as parameter.
* testbeds: qemu: Remove unneeded sleepSander Vrijders2017-09-201-1/+1
| | | | | This removes a sleep in the QEMU testbed that was giving errors. It also catches another error in the SSH support.
* testbeds: emulab: Continue if experiment is swapped inSander Vrijders2017-09-181-2/+2
| | | | | | This will let rumba continue if the experiment is already swapped in in emulab, since it is not an error. It also adds the posibility to swap the experiment out from Rumba.
* rumba: Add better error handling of SSH connectSander Vrijders2017-09-151-23/+42
| | | | | | 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.
* build: Add continuous integrationSander Vrijders2017-09-131-19/+28
| | | | This adds CI to Rumba.
* rumba: Update license headersSander Vrijders2017-09-081-4/+10
| | | | | This makes the license headers uniform and adds the authors and a copyright.
* Model & ssh: ssh-related methods renamingMarco Capitani2017-07-281-8/+6
|
* ssh & model-storyboard: changed ssh API, added node.execute* methodsMarco Capitani2017-06-301-6/+6
|
* ssh_support + log: fixes for python 2 compatibilityMarco Capitani2017-06-151-1/+1
|
* jfed: build mac2ifname; model: added flags to testbedMarco Capitani2017-06-091-5/+5
|
* Model: corrected no-proxy case. rlite: removed hardcoded proxyMarco Capitani2017-06-011-3/+6
|
* model: added proxy field. ssh: added execute_proxy_commandsMarco Capitani2017-06-011-0/+42
|
* ssh_support: added proxy_command to copy path to testbedMarco Capitani2017-04-281-1/+7
| | | | | other: fix to democonf2rumba jfed arguments
* Logging: added set and reset logging level method, small logging modifications.Marco Capitani2017-04-241-2/+2
|
* rumba: log: Added logging support, migrated from print to logging.Marco Capitani2017-04-211-23/+28
| | | | | + 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-6/+4
|
* Merge branch 'master-marco' into 'master' vmaffione2017-04-151-17/+79
|\ | | | | | | | | IRATI config file generation (and other) See merge request !22
| * Implemented several comments on MR 22:Marco Capitani2017-04-141-17/+79
| | | | | | | | | | | | + Used paramiko for scp (implemented new method in ssh_support + removed (obsoleted) private key for access to vms + used setup_vlans from ssh_support
* | Merge branch 'master' into proxycmdSander Vrijders2017-04-131-7/+10
|\|
| * rumba: ssh_support: Fix passing of arraySander Vrijders2017-04-131-7/+10
| | | | | | | | | | The array was returned back instead of the raw output of stdout after executing a command, resulting in weird behaviour.
* | rumba: Add ProxyCommand for jFedSander Vrijders2017-04-131-2/+14
|/ | | | | This adds a proxy command for the jFed testbed so that it can be accessed when someone does not have IPv6.
* rumba: ssh_support: Fix return of stdoutSander Vrijders2017-04-131-2/+6
| | | | | Stdout was not being returned properly after a recent commit. This fixes it.
* Merge branch 'master-tester' into 'master' vmaffione2017-04-131-1/+1
|\ | | | | | | | | Added Testing scripts and demonstrator conf to rumba converter See merge request !24
| * Rumba tester v2: all-in-one testing toolMarco Capitani2017-04-121-1/+1
| | | | | | | | | | | | Deep reworking of the testing tool, it can be provided with a (demo-like) .conf file, a testbed and a prototype, and it auto-runs the experiment. Removed generated testing scripts.
* | ssh_support: prepend PATH extension to every commandVincenzo Maffione2017-04-121-0/+2
| |
* | ssh_support: simplify execute_commandVincenzo Maffione2017-04-121-19/+1
| |
* | ssh_support: print each SSH command executedVincenzo Maffione2017-04-121-2/+2
| |
* | ssh_support: print both stdout and stderr for ssh commandsVincenzo Maffione2017-04-121-6/+9
|/
* ssh_support: use ssh_config in copy_file_to_testbedVincenzo Maffione2017-04-121-1/+1
|
* examples: minor changes to use "root" user and passwordVincenzo Maffione2017-04-121-0/+2
|
* ssh_support: Pass SSHConfig instead of only hostnameSander Vrijders2017-04-111-12/+13
| | | | | | 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.
* Fix pylint warnings and errorsSander Vrijders2017-03-281-12/+14
| | | | This fixes several warnings and errors as reported by pylint.
* rumba: Rename package to rumbaSander Vrijders2017-02-091-0/+156
This renames the package to rumba, since rhumba was already taken on the PyPi.