aboutsummaryrefslogtreecommitdiff
path: root/examples/example.py
Commit message (Collapse)AuthorAgeFilesLines
* utils, examples: Add ExperimentManager CMMarco Capitani2017-11-131-3/+2
| | | | | | | | Adds an ExperimentManager context manager for scripts: - No more ugly stack traces after execution if something goes wrong - No more ugly and easy to forget try-finally blocks
* ssh & model-storyboard: changed ssh API, added node.execute* methodsMarco Capitani2017-06-301-1/+1
|
* IRATI: added per-node policy support, and revamped policy data model.Marco Capitani2017-06-131-2/+4
| | | | | | additional: + fixed small bug rlated to vhost checking in qemu. + example scripts now correctly use policies.
* Merge branch 'master' into policiesMarco Capitani2017-06-131-10/+10
|\
| * Storyboard missing end_user->client changeMarco Capitani2017-05-111-1/+1
| |
| * Storyboard: small fixes to APIMarco Capitani2017-05-111-1/+1
| |
| * Storyboard: added modifications to API to example.pyMarco Capitani2017-05-111-2/+2
| |
| * rumba: model: Add StoryBoard for automated testingSander Vrijders2017-05-091-10/+10
| | | | | | | | | | This adds an initial draft of the API to automate tests on a RINA network.
* | model: added policy class + policy-oriented API fixesMarco Capitani2017-04-281-4/+5
|/ | | | | | | | + Added policy class + Adapted NormalDIF class to use new policy class + NormalDIF constructor argument policy has changed format (parameters dict is now mandatory, added empty dicts where it was not passed) + Added Node.policies field (type: dict[DIF -> Policy])
* Logging: added set and reset logging level method, small logging modifications.Marco Capitani2017-04-241-0/+5
|
* model: Split experiment run()Sander Vrijders2017-04-211-1/+5
| | | | | This splits experiment.run() into 4 different operations: swap_in, install_prototype, bootstrap_prototype and swap_out.
* examples: minor changes to use "root" user and passwordVincenzo Maffione2017-04-121-1/+2
|
* testbeds: qemu: modify constructor argumentsVincenzo Maffione2017-04-081-5/+5
| | | | vm_img_folder --> bzimage, initramfs
* testbeds: placeholder for QEMU testbedVincenzo Maffione2017-03-191-0/+1
|
* testbeds, prototypes: Omit dir name from class nameSander Vrijders2017-02-131-6/+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-13/+13
| | | | | This renames the package to rumba, since rhumba was already taken on the PyPi.
* rhumba: Create Python packageSander Vrijders2017-02-091-0/+42
This transforms the repository into a real Python package.