hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 1 | .. _ndn-autoconfig-server: |
| 2 | |
Alexander Afanasyev | 49272f7 | 2014-04-06 21:49:46 -0700 | [diff] [blame] | 3 | ndn-autoconfig-server |
| 4 | ===================== |
| 5 | |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 6 | Usage |
| 7 | ----- |
Alexander Afanasyev | 49272f7 | 2014-04-06 21:49:46 -0700 | [diff] [blame] | 8 | |
| 9 | :: |
| 10 | |
Yingdi Yu | 7b0e9cf | 2014-08-29 14:57:32 -0700 | [diff] [blame^] | 11 | ndn-autoconfig-server [-h] [-p prefix] [-p prefix] ... FaceUri |
Alexander Afanasyev | 49272f7 | 2014-04-06 21:49:46 -0700 | [diff] [blame] | 12 | |
| 13 | |
| 14 | Description |
| 15 | ----------- |
| 16 | |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 17 | ``ndn-autoconfig-server`` is a daemon that implements server part for the stage 1 of |
| 18 | :ref:`NDN hub discovery procedure`. |
| 19 | |
| 20 | This daemon essentially waits for Interests for ``/localhop/ndn-autoconf/hub`` and |
| 21 | satisfies them with a Data packet that contains TLV-encoded FaceUri block. The value of |
| 22 | this block is the ``Uri`` for the HUB, preferrably a UDP tunnel. |
| 23 | |
| 24 | ``-h`` |
| 25 | print usage and exit. |
| 26 | |
| 27 | ``FaceUri`` |
| 28 | FaceUri for this NDN hub. |
| 29 | |
Yingdi Yu | 7b0e9cf | 2014-08-29 14:57:32 -0700 | [diff] [blame^] | 30 | ``-p prefix`` |
| 31 | A local prefix for which the local hub allow end applications to register prefix |
| 32 | (See more details in :ref:`local-prefix-discovery`). One can supply more than one |
| 33 | prefixes. All supplied prefixes will be put into the local prefix discovery data |
| 34 | as described in :ref:`local-prefix-discovery`. If no prefix is specified, |
| 35 | auto-config-server will not serve any local prefix discovery data. |
| 36 | |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 37 | Examples |
| 38 | -------- |
| 39 | |
Alexander Afanasyev | 49272f7 | 2014-04-06 21:49:46 -0700 | [diff] [blame] | 40 | :: |
| 41 | |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 42 | ndn-autoconfig-server tcp://spurs.cs.ucla.edu |
Alexander Afanasyev | 49272f7 | 2014-04-06 21:49:46 -0700 | [diff] [blame] | 43 | |
Yingdi Yu | 7b0e9cf | 2014-08-29 14:57:32 -0700 | [diff] [blame^] | 44 | ndn-autoconfig-server -p /ndn/edu/ucla tcp://spurs.cs.ucla.edu |
| 45 | |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 46 | |
| 47 | See also |
| 48 | -------- |
| 49 | |
| 50 | :ref:`ndn-autoconfig` |