aboutsummaryrefslogtreecommitdiff
path: root/rumba/model.py
Commit message (Collapse)AuthorAgeFilesLines
* model: added proxy field. ssh: added execute_proxy_commandsMarco Capitani2017-06-011-1/+9
|
* Storyboard: small fixes to APIMarco Capitani2017-05-111-4/+5
|
* Storyboard: added modifications to API to example.pyMarco Capitani2017-05-111-6/+41
|
* Storyboard: additions to the modelMarco Capitani2017-05-101-2/+26
| | | | Means of distributions and other required fields.
* rumba: model: Add StoryBoard for automated testingSander Vrijders2017-05-091-1/+66
| | | | | This adds an initial draft of the API to automate tests on a RINA network.
* model: fix bug in bootstrapper computationVincenzo Maffione2017-04-281-8/+13
| | | | | The bootstrapper computation must happen in a separate phase, after both IPCPs computation and enrollment computation.
* model, prototypes: enrollment lists contain IPCP objects rather than Node onesVincenzo Maffione2017-04-211-4/+17
| | | | | | | 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.
* model: compute IPCPs before the list enrollmentVincenzo Maffione2017-04-211-1/+1
|
* Merge branch 'master' into logging (split merged)Marco Capitani2017-04-211-10/+11
|\
| * model: Split experiment run()Sander Vrijders2017-04-211-10/+11
| | | | | | | | | | 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-15/+18
|/ | | | | + Added logging, migrated, default logging configuration is to stdout. + Minor PEP8 adjustments all-around
* Merge branch 'master-marco' into 'master' vmaffione2017-04-151-22/+31
|\ | | | | | | | | IRATI config file generation (and other) See merge request !22
| * Realign with master (MR 29-30)Marco Capitani2017-04-141-1/+1
| |\
| * \ QEMU: ifname compilation and vm port activationMarco Capitani2017-04-141-132/+31
| |\ \
| * \ \ Merge branch 'master' into master-marcoMarco Capitani2017-04-121-5/+12
| |\ \ \ | | | | | | | | | | | | | | | Updating with ssh changes (and other)
| * | | | Resolving node_id issue and general cleanupMarco Capitani2017-04-111-10/+21
| | | | |
| * | | | Testing method fixMarco Capitani2017-04-111-6/+4
| | | | |
| * | | | IRATI config file generationMarco Capitani2017-04-111-5/+6
| | | | |
* | | | | Merge branch 'proxycmd' into 'master' vmaffione2017-04-141-1/+2
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | rumba: Add ProxyCommand for jFed See merge request !31
| * | | | rumba: Add ProxyCommand for jFedSander Vrijders2017-04-131-1/+2
| | |_|/ | |/| | | | | | | | | | | | | | This adds a proxy command for the jFed testbed so that it can be accessed when someone does not have IPv6.
* / | | model: avoid printing policies in __repr__Vincenzo Maffione2017-04-131-1/+1
|/ / / | | | | | | | | | This makes the output unreadable
* | / Rumba tester v2: all-in-one testing toolMarco Capitani2017-04-121-99/+0
| |/ |/| | | | | | | | | 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: Pass SSHConfig instead of only hostnameSander Vrijders2017-04-111-4/+10
|/ | | | | | 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.
* Forced teardown. Ignores errors and makes sure that everything is pulled down.Marco Capitani2017-04-101-8/+9
|
* rumba: simplify cooperation between prototype and testbed pluginsVincenzo Maffione2017-04-071-7/+19
|
* Changed method name to 'from_config_file'Marco Capitani2017-04-061-1/+1
|
* method for making an experiment from a .conf file with demo syntaxMarco Capitani2017-04-061-0/+100
|
* Fix pylint warnings and errorsSander Vrijders2017-03-281-21/+19
| | | | This fixes several warnings and errors as reported by pylint.
* testbeds: Port to new APISander Vrijders2017-03-281-76/+17
| | | | | | The new API passes the Experiment instance to the testbeds, so that the configs for the testbeds can be generated starting from the IPCPs. The classes Link, Interface, P2PLink have been deprecated.
* model: add per-IPCP self-enrolled informationVincenzo Maffione2017-03-241-2/+20
| | | | This boolean field is true if the IPCP auto-enrolls in its DIF.
* model: store the enrollments as a global list to preserve global orderingVincenzo Maffione2017-03-241-25/+21
|
* model: add IPCP subclasses and DIF.get_ipcp_class()Vincenzo Maffione2017-03-191-3/+24
|
* model: add missing __repr__ methodsVincenzo Maffione2017-03-191-0/+10
|
* testbeds: placeholder for QEMU testbedVincenzo Maffione2017-03-191-1/+1
|
* model: call Experiment.generate() in Experiment constructorVincenzo Maffione2017-03-191-0/+5
|
* model: compute_ipcps(): compute enrollmentsVincenzo Maffione2017-03-191-6/+16
|
* model: Node.ipcps list generated in topological orderVincenzo Maffione2017-03-191-1/+5
|
* model: compute_ipcps(): compute registrationsVincenzo Maffione2017-03-191-1/+9
|
* model: compute_ipcps(): create IPCP instancesVincenzo Maffione2017-03-191-1/+9
|
* model: add Node._validate() to check for consistencyVincenzo Maffione2017-03-191-8/+36
|
* model: add IPCP classVincenzo Maffione2017-03-191-3/+34
|
* model: more compact debug print for DIF graphsVincenzo Maffione2017-03-191-2/+3
|
* class DIF and Node: add necessary methods for use in dict() and set()Vincenzo Maffione2017-03-191-0/+18
|
* mode: compute per-DIF enrollmentsVincenzo Maffione2017-03-191-10/+86
|
* model: compute DIF topological orderingVincenzo Maffione2017-03-181-0/+63
|
* rumba: avoid dict.items to ease portability across Python versionsVincenzo Maffione2017-03-181-4/+7
|
* model: fix __repr__ to correctly handle multiple registration entriesVincenzo Maffione2017-03-181-12/+16
|
* model, prototypes: Change default list parameterSander Vrijders2017-03-061-34/+50
| | | | | | 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.
* rumba: Rename package to rumbaSander Vrijders2017-02-091-0/+255
This renames the package to rumba, since rhumba was already taken on the PyPi.