Changes between Version 26 and Version 27 of FeddUsersGuide


Ignore:
Timestamp:
Apr 22, 2015 6:01:46 PM (9 years ago)
Author:
faber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FeddUsersGuide

    v26 v27  
    5858 * The assignments of projects within a testbed by the {{{SERVICE}}} directives in the comments
    5959
    60 The this layout connects 2 experiment on DETERLab.  This is because the testbeds are all prefixed with the {{{deter}}} testbed name.  The ''testbed''/''sub-testbed'' syntax allows multiple instantiations of experiments on the same testbed.  This layout creates 2 experiment on DETERLab (DETERLab's [NewFeddAbout#TheExperimentController experiment contoller] maps the {{{deter}}} testbed name to DETERLab).
    61 
    62 The commented lines including the {{{SERVICE}}} keyword configure [NewFeddAbout#ExperimentServices experiment services].  The format of the line is 4 colon-separated parameters giving:
    63 
    64  * The service name ('''project_export''' other valid services are listed on the [NewFeddAbout#ExperimentServices experiment services description])
     60The this layout connects 2 experiment on DETERLab.  This is because the testbeds are all prefixed with the {{{deter}}} testbed name.  The ''testbed''/''sub-testbed'' syntax allows multiple instantiations of experiments on the same testbed.  This layout creates 2 experiment on DETERLab (DETERLab's [FeddAbout#TheExperimentController experiment contoller] maps the {{{deter}}} testbed name to DETERLab).
     61
     62The commented lines including the {{{SERVICE}}} keyword configure [FeddAbout#ExperimentServices experiment services].  The format of the line is 4 colon-separated parameters giving:
     63
     64 * The service name ('''project_export''' other valid services are listed on the [FeddAbout#ExperimentServices experiment services description])
    6565 * The exporter
    6666 * The importers (comma-separated)
     
    275275The federation system has done 4 things to make it possible and simple for the sub-experiments to communicate.
    276276
    277  * The [NewFeddAbout#TheExperimentController experiment controller] assigned consistent network (IP) addresses to the experiment nodes.
     277 * The [FeddAbout#TheExperimentController experiment controller] assigned consistent network (IP) addresses to the experiment nodes.
    278278 * The controller configured and started [http://en.wikipedia.org/wiki/Open_Shortest_Path_First ospf] routers on each machine to propagate routes between the two experiments.
    279279 * The controller interconnected the two experiments through a local VLAN (by coordinating with a third virtual testbed)
     
    298298[TopDl TopDL] is the XML-encoded layout description language that the federation system uses internally.  While ns2/tcl can be shorter and easier to generate - especially by human programmers - it can be very difficult for tools to deal with.  In particular, because each ns2 description is a program in a Turing-complete interpreted language, extracting the layout for analysts or presentation requires running the program.  Translation of XML is much less computationally expensive and presents fewer security concerns.
    299299
    300 The [FeddCommands#fedd_create.py fedd_create.py] command will take either a topdl or an ns2 description.  To get topdl description from an ns2 description, one can use the [FeddCommands#fedd_ns2topdl.py fedd_ns2topdl.py] command.  Note that this command must contact an [NewFeddAbout#TheExperimentController experiment controller] to do the conversion.  DETERLab's experiment controller at !https://users.isi.deterlab.net:23235 provides this service.  Running {{{fedd_ns2topdl.py}}} on that machine contacts the experiment controller by default.
     300The [FeddCommands#fedd_create.py fedd_create.py] command will take either a topdl or an ns2 description.  To get topdl description from an ns2 description, one can use the [FeddCommands#fedd_ns2topdl.py fedd_ns2topdl.py] command.  Note that this command must contact an [FeddAbout#TheExperimentController experiment controller] to do the conversion.  DETERLab's experiment controller at !https://users.isi.deterlab.net:23235 provides this service.  Running {{{fedd_ns2topdl.py}}} on that machine contacts the experiment controller by default.
    301301
    302302Converting the [attachment:federation1.tcl experiment layout we used above] into topdl is done by running this command on {{{users.isi.deterlab.net}}}:
     
    308308The contents of [attachment:federation1.xml federation1.xml], run through an XML formatter, are attached.  The topDL representation is much more verbose, but encodes the same information about layout.
    309309
    310 The information it does not encode is the [NewFeddAbout#ExperimentServices service] information.  When using the topdl representation, services have to be passed to [FeddCommands#fedd_create.py fedd_create.py] using the {{{--service}}} parameter, like so:
     310The information it does not encode is the [FeddAbout#ExperimentServices service] information.  When using the topdl representation, services have to be passed to [FeddCommands#fedd_create.py fedd_create.py] using the {{{--service}}} parameter, like so:
    311311
    312312{{{