aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorVincenzo Maffione <v.maffione@gmail.com>2017-03-19 17:37:05 +0100
committerVincenzo Maffione <v.maffione@gmail.com>2017-03-19 17:37:05 +0100
commit921f2fd0423bc82c071f90fb38122e1118461984 (patch)
treefcee08930a7b6c512a4f321bbf1dd17742e3c809 /README
parentcde49edb6d1d4e3a431469f2462126787a154f79 (diff)
downloadrumba-921f2fd0423bc82c071f90fb38122e1118461984.tar.gz
rumba-921f2fd0423bc82c071f90fb38122e1118461984.zip
README: add sketch of the high level design
Diffstat (limited to 'README')
-rw-r--r--README28
1 files changed, 28 insertions, 0 deletions
diff --git a/README b/README
index 04b2623..cb29f09 100644
--- a/README
+++ b/README
@@ -1,2 +1,30 @@
# measurement-framework
Part of ARCFIRE 2020, WP3 work package.
+
+Workflow, both external and internal:
+
+ (1) user defines the network graph, creating instances of model.Node
+ and model.DIF classes
+
+ (2) user creates an instance of a Testbed class
+
+ (3) user creates an instance of prototype.Experiment class, passing
+ the testbed instance and a list of Node instances
+ - at the endo 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
+
+ (4) user calls run() on the prototype.Experiment instance:
+ - First, run() calls Experiment.swap_in(), which
+ in turns calls Testbed.create_experiment(), passing the
+ nodes and links (?)
+ TODO: fix this interface: what should swap_in(), and
+ so create_experiment() return exactly? Current interface
+ seems broken
+
+ - Second, run() calls a prototype-specific setup function,
+ to create the required IPCPs, perform registrations,
+ enrollments, etc.
+
+ - Third, perform tests (TODO)