Changes between Version 27 and Version 28 of GENIExperimenter/Tutorials/jacks/GettingStarted_PartII_ndn/Procedure/Execute


Ignore:
Timestamp:
06/20/16 14:24:02 (5 years ago)
Author:
tteixeir@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/jacks/GettingStarted_PartII_ndn/Procedure/Execute

    v27 v28  
    5757   * A principal investigator node, called {{{PI}}} and a experimenter node, called {{{Experimenter}}} that will send {{{Interest}}} requests to the {{{Custodian}}} via UDP tunnels.
    5858
    59 Download the scripts and Python codes to your computer and extract it.
    60    * [http://192.1.242.151/files/ndn-tutorial.gz ndn-tutorial.gz]
    61 
    62 Or alternatively,
    63      {{{
    64      $ wget http://192.1.242.151/files/ndn-tutorial.gz
    65      $ tar -xvf ndn-tutorial.gz
    66      }}}
    67 
    68 In the '''ndn-tutorial-config.sh''' configuration file, edit the fields according to your GENI username, SSH key, GENI Aggregate name, pc and port numbers.
    69 Keep the quotes format unchanged, otherwise the script may not run.
    70 
    71 Run {{{copy-scripts.sh}}}, this will automatically transfer the necessary files to the nodes in our topology.
    72      {{{
    73      $ ./copy-scripts.sh
    74      }}}
    7559
    7660Login into the node {{{Custodian}}} and start the NDN Forwarding Daemon (NFD),
    7761     {{{
     62     $ nfd-stop
    7863     $ nfd-start
    7964     }}}
     
    9176     $ Registering prefix /nytimes
    9277     }}}
    93 Open another terminal on the custodian node and run
     78Open another terminal on the {{{Custodian}}} node and run
    9479     {{{
    9580     $ python consumer.py -u /nytimes/science
     
    10287
    10388=== 5.2 Run the NDN application on the entire topology ===
    104 For this section, we are going to start the NFD in all nodes and register the namespace. We automated these tasks for the {{{University}}} and {{{Internet}}} nodes using a script. On your computer, run
    105      {{{
    106      $ ./setup-app.sh
    107      }}}
    108 You should see NFD being started on the nodes.
     89In this section, we are going to start the NFD and register the namespace. We automated these tasks for some nodes using a script from Section 3. On your computer, do the following:
    10990
    11091SSH to the {{{Custodian}}} node and start the {{{producer}}} application
     
    11394     $ python producer.py -n /nytimes
    11495     }}}
     96where {{{n}}} is the namespace.
    11597
    11698SSH to the {{{Experimenter}}} node, register the namespace, and start the {{{consumer}}} application
     
    123105SSH to the {{{PI}}} node, register the namespace, and start the {{{consumer}}} application
    124106     {{{
    125      $ nfdc register / udp4://10.0.0.1
    126107     $ python consumer.py -u /nytimes/science
    127108     }}}