]> git.proxmox.com Git - mirror_frr.git/commitdiff
doc: Update the documentation to reflect -N changes
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 31 May 2019 00:16:46 +0000 (20:16 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 4 Jun 2019 23:52:46 +0000 (19:52 -0400)
The -N <namespace> option is now used to control the location
of various control files and sockets.  Update the documentation
to reflect this.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
doc/user/basic.rst
doc/user/bfd.rst
doc/user/ldpd.rst
doc/user/zebra.rst

index bc9a7d64319aa702f15bd381bffaad0a22bb0a5f..3d3a75d4b1b420744bd9fe4dc0498b682c8631d8 100644 (file)
@@ -479,6 +479,12 @@ These options apply to all |PACKAGE_NAME| daemons.
 
    Set the user and group to run as.
 
+.. option:: -N <namespace>
+
+   Set the namespace that the daemon will run in.  A "/<namespace>" will
+   be added to all files that use the statedir.  If you have "/var/run/frr"
+   as the default statedir then it will become "/var/run/frr/<namespace>".
+
 .. option:: -v, --version
 
    Print program version.
index 33bc77049e8937c7a1c5b385bbbdec70e5f129d1..32ca5707d2451dcb2043ed234f7cc2599e35df44 100644 (file)
@@ -47,6 +47,9 @@ may also be specified (:ref:`common-invocation-options`).
 
       #define BFDD_CONTROL_SOCKET "|INSTALL_PREFIX_STATE|/bfdd.sock"
 
+   This option overrides the location addition that the -N option provides
+   to the bfdd.sock
+
 
 .. _bfd-commands:
 
index 85d280343d68661fa20e53efa1d99a8cc9a07539..977195d6a796abffbdc882c5293bd683c2b71d1c 100644 (file)
@@ -24,6 +24,12 @@ Running Ldpd
 The *ldpd* daemon can be invoked with any of the common
 options (:ref:`common-invocation-options`).
 
+..option:: --ctl_socket
+
+   This option allows you to override the path to the ldpd.sock file
+   used to control this daemon.  If specified this option overrides
+   the -N option path addition.
+
 The *zebra* daemon must be running before *ldpd* is invoked.
 
 Configuration of *ldpd* is done in its configuration file
index 40d89492972531ea2ab26cce40d2d9c21f296ddd..eefc5802a2b33b51a5b0baed48da6a14bfcfe565 100644 (file)
@@ -58,6 +58,12 @@ Besides the common invocation options (:ref:`common-invocation-options`), the
 
    .. seealso:: :ref:`zebra-vrf`
 
+.. option:: -z <path_to_socket>, --socket <path_to_socket>
+
+   If this option is supplied on the cli, the path to the zebra
+   control socket(zapi), is used.  This option overrides a -N <namespace>
+   option if handed to it on the cli.
+
 .. option:: --v6-rr-semantics
 
    The linux kernel is receiving the ability to use the same route