aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/model.rst26
-rw-r--r--doc/prototype.rst8
-rw-r--r--doc/storyboard.rst3
-rw-r--r--doc/testbed.rst8
-rw-r--r--doc/workflow.rst21
5 files changed, 53 insertions, 13 deletions
diff --git a/doc/model.rst b/doc/model.rst
index b487263..1ced817 100644
--- a/doc/model.rst
+++ b/doc/model.rst
@@ -1,5 +1,23 @@
-Model
-=============
+Defining the recursive network
+==============================
-.. automodule:: rumba.model
- :member-order: bysource
+Experimenters can define their recursive network by using the building
+blocks listed below.
+
+.. autoclass:: rumba.model.Node
+
+.. autoclass:: rumba.model.DIF
+
+.. autoclass:: rumba.model.NormalDIF
+
+.. autoclass:: rumba.model.ShimUDPDIF
+
+.. autoclass:: rumba.model.ShimEthDIF
+
+.. autoclass:: rumba.model.Distribution
+
+.. autoclass:: rumba.model.Delay
+
+.. autoclass:: rumba.model.Loss
+
+.. autoclass:: rumba.model.LinkQuality
diff --git a/doc/prototype.rst b/doc/prototype.rst
index 13b4547..a827dcb 100644
--- a/doc/prototype.rst
+++ b/doc/prototype.rst
@@ -1,6 +1,14 @@
Prototype plugins
-------------------------
+Rumba provides a generic Experiment class that specific protoypes can
+derive from. All prototypes have to re-implement the functions
+provided by the base class.
+
+.. autoclass:: rumba.model.Experiment
+
+Specific implementations of the Testbed class:
+
.. toctree::
irati
rlite
diff --git a/doc/storyboard.rst b/doc/storyboard.rst
index 085ea30..7d1f18c 100644
--- a/doc/storyboard.rst
+++ b/doc/storyboard.rst
@@ -1,5 +1,8 @@
Storyboard
=============
+Experimenters can create a Storyboard to emulate real network traffic
+to be run after the recursive network is up and running.
+
.. automodule:: rumba.storyboard
:member-order: bysource
diff --git a/doc/testbed.rst b/doc/testbed.rst
index aca73b7..0158904 100644
--- a/doc/testbed.rst
+++ b/doc/testbed.rst
@@ -1,6 +1,14 @@
Testbed plugins
-------------------------
+Rumba provides a generic Testbed class that specific implementations
+can derive from. All testbeds have to re-implement the functions
+provided by the base class.
+
+.. autoclass:: rumba.model.Testbed
+
+Specific implementations of the Testbed class:
+
.. toctree::
docker
emulab
diff --git a/doc/workflow.rst b/doc/workflow.rst
index 672c33c..95f68c2 100644
--- a/doc/workflow.rst
+++ b/doc/workflow.rst
@@ -2,25 +2,28 @@ Workflow
************************
1. Define the network graph, creating instances of model.Node and
- model.DIF classes.
+ model.DIF classes. Experiments can import rumba.model to obtain all
+ Rumba classes needed to run an experiment.
-2. Create an instance of a Testbed class.
+2. Create an instance of a specific model.Testbed class (QEMU, Docker,
+ Local, Emulab or jFed).
-3. Create an instance of the selected prototype.Experiment class,
- passing the testbed instance and a list of Node instances.
+3. Create an instance of the selected prototype.Experiment class
+ (Ouroboros, rlite, IRATI), passing the testbed instance and a list
+ of Node instances.
1. At the end of the base Experiment constructor, the
generate function is called to generate information about
per-node IPCPs, registrations and enrollment, ready to be
- used by the plugins.
+ used by the prototype plugins.
4. Call methods on the prototype.Experiment instance:
1. swap_in() swaps the experiment in on the testbed, and fills in
the missing information in the model.
- 2. install_prototype() installs the chosen prototype on the
- testbed. Currently an Ubuntu image is assumed.
+ 2. install_prototype() installs the chosen prototype on the testbed
+ (if necessary). Currently an Ubuntu image is assumed.
3. bootstrap_prototype() calls a prototype-specific setup function,
to create the required IPCPs, perform registrations,
@@ -28,7 +31,7 @@ Workflow
4. swap_out() swaps the experiment out of the testbed.
-5. Run a Storyboard to emulate real network traffic.
+5. Optionally run a Storyboard to emulate real network traffic.
Accessing nodes after swap-in
@@ -39,4 +42,4 @@ command (in the same terminal where ssh-agent was run in case of jFed): ::
$ rumba-access $NODE_NAME
-Where $NODE_NAME is the name of the node to access. \ No newline at end of file
+Where $NODE_NAME is the name of the node to access.