9 *gRPC* provides a combined front end to all FRR daemons using the YANG
10 northbound. It is currently disabled by default due its experimental
11 stage, but it can be enabled with :option:`--enable-grpc` option in the
17 Northbound gRPC Features
18 ========================
20 * Get/set configuration using JSON/XML/XPath encondings.
21 * Execute YANG RPC calls.
22 * Lock/unlock configuration.
23 * Create/edit/load/update/commit candidate configuration.
24 * List/get transactions.
29 There is currently no support for YANG notifications.
34 You can find more information on how to code programs to interact
35 with FRR by reading the gRPC Programming Language Bindings section
36 in the `developer's documentation
37 <http://docs.frrouting.org/projects/dev-guide/en/latest/grpc.html>`_.
42 Daemon gRPC Configuration
43 =========================
45 The *gRPC* module accepts the following run time option:
47 - ``port``: the port to listen to (defaults to ``50051``).
52 At the moment only localhost connections with no SSL/TLS are
56 To configure FRR daemons to listen to gRPC you need to append the
57 following parameter to the daemon's command line: ``-M grpc``
58 (optionally ``-M grpc:PORT`` to specify listening port).
60 To do that in production you need to edit the ``/etc/frr/daemons`` file
61 so the daemons get started with the command line argument. Example:
66 bfdd_options=" --daemon -A 127.0.0.1 -M grpc"