blob: 8ed7968d037fa809dea5f5b6bb0c2b3360d54fc3 [file] [log] [blame]
hilata6ee6e072014-04-20 17:10:18 -05001.. _ndn-autoconfig-server:
2
Alexander Afanasyev49272f72014-04-06 21:49:46 -07003ndn-autoconfig-server
4=====================
5
hilata6ee6e072014-04-20 17:10:18 -05006Usage
7-----
Alexander Afanasyev49272f72014-04-06 21:49:46 -07008
9::
10
hilata6ee6e072014-04-20 17:10:18 -050011 ndn-autoconfig-server [-h] FaceUri
Alexander Afanasyev49272f72014-04-06 21:49:46 -070012
13
14Description
15-----------
16
hilata6ee6e072014-04-20 17:10:18 -050017``ndn-autoconfig-server`` is a daemon that implements server part for the stage 1 of
18:ref:`NDN hub discovery procedure`.
19
20This daemon essentially waits for Interests for ``/localhop/ndn-autoconf/hub`` and
21satisfies them with a Data packet that contains TLV-encoded FaceUri block. The value of
22this 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
30Examples
31--------
32
Alexander Afanasyev49272f72014-04-06 21:49:46 -070033::
34
hilata6ee6e072014-04-20 17:10:18 -050035 ndn-autoconfig-server tcp://spurs.cs.ucla.edu
Alexander Afanasyev49272f72014-04-06 21:49:46 -070036
hilata6ee6e072014-04-20 17:10:18 -050037
38See also
39--------
40
41:ref:`ndn-autoconfig`