Changes between Version 27 and Version 28 of GENIExperimenter/Tutorials/jacks/GettingStarted_PartII_ndn/Procedure/Execute
- Timestamp:
- 06/20/16 14:24:02 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/jacks/GettingStarted_PartII_ndn/Procedure/Execute
v27 v28 57 57 * A principal investigator node, called {{{PI}}} and a experimenter node, called {{{Experimenter}}} that will send {{{Interest}}} requests to the {{{Custodian}}} via UDP tunnels. 58 58 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.gz65 $ tar -xvf ndn-tutorial.gz66 }}}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.sh74 }}}75 59 76 60 Login into the node {{{Custodian}}} and start the NDN Forwarding Daemon (NFD), 77 61 {{{ 62 $ nfd-stop 78 63 $ nfd-start 79 64 }}} … … 91 76 $ Registering prefix /nytimes 92 77 }}} 93 Open another terminal on the custodiannode and run78 Open another terminal on the {{{Custodian}}} node and run 94 79 {{{ 95 80 $ python consumer.py -u /nytimes/science … … 102 87 103 88 === 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. 89 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: 109 90 110 91 SSH to the {{{Custodian}}} node and start the {{{producer}}} application … … 113 94 $ python producer.py -n /nytimes 114 95 }}} 96 where {{{n}}} is the namespace. 115 97 116 98 SSH to the {{{Experimenter}}} node, register the namespace, and start the {{{consumer}}} application … … 123 105 SSH to the {{{PI}}} node, register the namespace, and start the {{{consumer}}} application 124 106 {{{ 125 $ nfdc register / udp4://10.0.0.1126 107 $ python consumer.py -u /nytimes/science 127 108 }}}