blob: 82333644baaa77b114f7ee1a782bfcfe5ee59024 [file] [log] [blame]
Junxiao Shi6c135622016-11-21 14:30:33 +00001nfdc-face
2=========
3
4SYNOPSIS
5--------
6| nfdc face [list]
7| nfdc channel [list]
8| nfdc create [-P] <faceUri>
9| nfdc destroy <faceId|faceUri>
10
11DESCRIPTION
12-----------
13In NFD, a face is the generalization of network interface.
14It could be a physical network interface to communicate on a physical link,
15an overlay communication channel between NFD and a remote node,
16or an inter-process communication channel between NFD and a local application.
17
18The **nfdc face list** command shows a list of faces, their properties, and statistics.
19
20The **nfdc channel list** command shows a list of channels.
21Channels are listening sockets that can accept incoming connections and create new faces.
22
23The **nfdc create** command creates a new UDP or TCP face.
24
25The **nfdc destroy** command destroys an existing face.
26It has no effect if the specified face does not exist.
27
28OPTIONS
29-------
30-P
31 Creates a "permanent" rather than persistent face.
32 A persistent face is closed when a socket error occrs.
33 A permanent face is kept alive upon socket errors,
34 and is closed only upon **nfdc destroy** command.
35
36<faceUri>
37 An URI representing the remote endpoint of a face.
38 Its syntax is:
39
40 - udp[4|6]://<IP-or-host>[:<port>]
41 - tcp[4|6]://<IP-or-host>[:<port>]
42
43 When a hostname is specified, a DNS query is used to obtain the IP address.
44
45<faceId>
46 Numerical identifier of the face.
47 It is displayed in the output of **nfdc face list** and **nfdc create** commands.
48
49SEE ALSO
50--------
51nfd(1), nfdc(1)