aboutsummaryrefslogtreecommitdiff
path: root/README
blob: 8471a93b2f59ad97fae3702f5c62730fc14cda36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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 Testbed.swap_in(), passing the
          Experiment, and filling in the missing information

        - Second, run() calls a prototype-specific setup function,
          to create the required IPCPs, perform registrations,
          enrollments, etc.

        - Third, perform tests (TODO)

        - Fourth, run() calls Testbed.swap_out()