blob: c8c5763bc403e8fb93ef50e33ef3634b6fd98c73 [file] [log] [blame] [view]
Vince Lehmand367dbb2015-07-14 15:59:29 -05001Getting Started
2===============
3
4## Installation
5Please see [INSTALL.md](../INSTALL.md) for instructions on installing Mini-NDN and its dependencies.
6
7## Running Mini-NDN
8
9To run Mini-NDN with the default topology, ``ndn_utils/topologies/default-topology.conf``, type:
10
11 sudo minindn
12
13To run Mini-NDN with a topology file, provide the filename as the first argument:
14
15 sudo minindn my-topology.conf
16
17During set up, the list of nodes in the network will be listed as they are initialized:
18
19 *** Adding hosts:
20 a b c d
21
22After set up, the command-line interface (CLI) will display a prompt.
23
24 mininet>
25
26To interact with a node, first type the node's name and then the command to be executed:
27
28 mininet> a echo "Hello, world!"
29 Hello, world!
30
31To see the status of the forwarder on the node:
32
33 mininet> a nfd-status
34
35To see the status of routing on the node:
36
37 mininet> a nlsrc status
38
39To exit Mini-NDN, type ``quit`` in the CLI:
40
41 mininet> quit
42
43For a more in depth explanation of the CLI, please see the
44[Mininet Walkthrough](http://mininet.org/walkthrough/).
45
46## Command-line options
47
48To run Mini-NDN with a replica of the NDN testbed, use the ``--testbed`` parameter:
49
50 sudo mini-ndn --testbed
51
52#### Routing options
53
54To run NLSR with hyperbolic routing enabled, use the ``--hr`` parameter:
55
56 sudo mini-ndn --hr
57
58To configure the max number of faces added by NLSR to reach each name prefix, use the ``--faces``
59parameter:
60
61 sudo mini-ndn --faces 3
62
63``--faces`` can be an integer from 0 to 60; 0 indicates NLSR can add all available faces.
64
65