| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This allows the destroying of a DIF while the experiment is
running. This to ease the emulation of failures in the network.
|
|
|
|
|
|
|
|
|
|
| |
This fixes the behaviour of the Event class which would always
call get_e_id and fail if the action is a pure function or
not the method of a SBEntity. Now it will simply output a warning
if the event is written (because it won't be readable as-is)
On top of that, all DIFs are now scriptable, and some small fixes
and cleanups.
|
|
|
|
| |
fixes #52
|
|
|
|
| |
This allows argument to also be ints on top of floats
|
|
|
|
|
| |
This updates the copyright on the license headers to that it is
extended to the current year.
|
|
|
|
|
|
|
|
|
| |
Also:
+ small docstring fixes in model
+ docstring fixes in log
+ log refactoring
+ other small refactoring
+ some small documentation fixes
|
|
|
|
|
| |
This adds docstrings for methods of in the testbeds, prototypes and
certain things in the model.
|
|
|
|
|
|
|
|
| |
Added method accepting only ints and floats to allow
scripting link quality changes
(see example-script additions)
Also added general purpose `sb.schedule_action` method
|
|
|
|
|
| |
Logs were fetched only from server and client nodes.
Now all nodes are searched for logs.
|
|\ |
|
| |
| |
| |
| | |
fixes #43
|
| |
| |
| |
| |
| | |
+ manage spaces in server and client ap when building id
+ fix typo in node.fetch_file
|
| |
| |
| |
| |
| |
| |
| | |
Before storyboard installed the startup only on the client nodes
(i.e. nodes marked in a Client class). Now Clients could be run
outside of their nodes, hence the patch.
Also, incidentally, fixes an issue with server log-files.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| | |
DIFs instances can now be referenced inside .rsb files.
Also changed Node.set_link_state function to accept a DIF
as opposed to an IPCP, since IPCPs are not given a name nor
mentioned is user scripts.
|
| | |
|
|/
|
|
|
|
|
|
|
| |
The Script class has been made private as the script field
of the Storyboard class. All script-related functions are
now accessible as methods of the storyboard class.
In other news:
Made the script path in script-example.py pwd resilient.
|
|
|
|
|
|
|
|
|
|
| |
This adds link and node up and down events to the storyboard, which
can be called by a user on a specific time. The user needs to pass the
time and the shim Ethernet for a link up or down event and a time and
a node for the node up or down event. The interfaces in that layer or
on that node will then be brought down.
Implements #31
|
|
|
|
| |
implements #27
|
|
|
|
|
| |
Implements #39.
Also updated examples.
|
| |
|
|
|
|
|
|
|
|
|
| |
Also:
logging fix in ssh_support,
Enabling changes:
storyboard: refactor 'start' method, it was getting big
some more minor storyboard refactoring for decoupling
update examples to new syntax
|
| |
|
|
|
|
|
| |
+ Fixes bug introduced in dbc7fd74d8b2c0bf3f2b8f2e81efba8ef2302c1c
+ implements minimum duration for clients (configurable, default 2 s)
|
|
|
|
|
| |
Before, client could outlive the storyboard and consequently be
killed abruptly, leading to ugly logs and more.
|
| |
|
|
|
|
|
| |
Before the shutdown call for the Client/ClientProcess was fixed to kill <pid>.
Now it's passed as an argument to the Client constructor.
|
|
+ Node no longer has "client" attribute
+ Client has a "nodes" attribute instead
+ servers, server nodes and the experiment can be added
to a storyboard after instantiation to allow reuse of a SB
+ moved storyboard machinery to a separate module rumba.storyboard
|