Changes between Version 30 and Version 31 of GENIExperimenter/Tutorials/jacks/GettingStarted_PartII_ndn/Procedure/Execute


Ignore:
Timestamp:
06/21/16 11:37:41 (8 years ago)
Author:
tteixeir@bbn.com
Comment:

--

Legend:

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

    v30 v31  
    5353In this experiment, you will be able to see the NDN in-network caching in action. Our experiment consists of the following nodes:
    5454   * A data source node, called {{{Custodian}}} that holds data in the namespace /nytimes
    55    * A internet router node, called {{{Internet}}} that forwards {{{Interest}}} and {{{Data}}} packets to and from the {{{Custodian}}}.
    56    * A university hub node, called {{{University}}} that forwards {{{Interest}}} and {{{Data}}} packets to and from the university nodes.
     55   * A node, called {{{Internet Router}}} that forwards {{{Interest}}} and {{{Data}}} packets to and from the {{{Custodian}}}.
     56   * A node, called {{{Campus Router}}} that forwards {{{Interest}}} and {{{Data}}} packets to and from the university nodes.
    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
     
    6868=== 5.1 Run the NDN application on the same node ===
    6969
    70 You are now ready to start the producer application and register a namespace. ^([#hn note: you can try other namespaces as well])^
     70You are now ready to start the producer application and register a namespace. ^([#hn note: you can try other namespaces as well])^[[br]]
     71The producer application will listen for {{{Interest}}} requests of a namespace {{{-n}}} and reply with {{{Data}}} packets.
    7172     {{{
    7273     $ cd /local
     
    8283     $ python consumer.py -u /nytimes/science
    8384     }}}
    84 This will start the consumer application that will send Interest request packets to the producer. Take a moment to look at the entries in the NFD.
     85This will start the consumer application that will send {{{Interest}}} request packets to the producer. Take a moment to look at the entries in the NFD.
    8586You are all set. Stop the producer application by {{{Ctrl + C}}} and stop the NFD
    8687     {{{
     
    8990
    9091=== 5.2 Run the NDN application on the entire topology ===
    91 In 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:
     92In this section, we are going to start the NFD and register the forwarding faces on the remaining nodes. On your host machine, do the following:
    9293
     94SSH to the {{{Internet Router}}}, start the NFD and register the forwarding face
     95     {{{
     96     $ nfd-start
     97     $ nfdc register / udp4://10.0.20.2
     98     }}}
     99
     100We will repeat the procedure for the {{{Campus Router}}}. Note the different IP address this time.[[br]]
     101SSH to the {{{Campus Router}}}, start the NFD and register the forwarding face
     102     {{{
     103     $ nfd-start
     104     $ nfdc register / udp4://10.0.10.2
     105     }}}
     106
     107We are now ready to run our experiment.[[br]]
    93108SSH to the {{{Custodian}}} node and start the {{{producer}}} application
    94109     {{{
     
    97112     $ python producer.py -n /nytimes
    98113     }}}
    99 where {{{n}}} is the namespace.
    100114
    101115SSH to the {{{Experimenter}}} node, register the namespace, and start the {{{consumer}}} application
    102116     {{{
     117     $ nfdc register / udp4://10.0.0.1
    103118     $ cd /local
    104      $ nfdc register / udp4://10.0.0.1
    105119     $ python consumer.py -u /nytimes/science
    106120     }}}
     
    109123SSH to the {{{PI}}} node, register the namespace, and start the {{{consumer}}} application
    110124     {{{
     125    $ nfdc register / udp4://10.0.0.1
    111126     $ cd /local
    112127     $ python consumer.py -u /nytimes/science