]> git.puffer.fish Git - mirror/frr.git/commitdiff
doc: add misplaced doc change for mgmtd development 17882/head
authorChristian Hopps <chopps@labn.net>
Sat, 18 Jan 2025 18:17:18 +0000 (18:17 +0000)
committerChristian Hopps <chopps@labn.net>
Sat, 18 Jan 2025 18:18:04 +0000 (18:18 +0000)
Signed-off-by: Christian Hopps <chopps@labn.net>
doc/developer/mgmtd-dev.rst

index 4c56cadb2869769b68d2ed329e83a7c55b01a64e..6cbd617f8c62078ecbbb7d74fb0c7b79e9a03146 100644 (file)
@@ -160,14 +160,19 @@ Back-End Interface:
    should be destroyed with a call to `mgmt_be_client_destroy` and to be safe
    NULL out the global `mgmt_be_client` variable.
 
-#. In ``mgmtd/mgmt_be_adapter.c`` add xpath prefix mappings to a one or both
-   mapping arrays (``be_client_config_xpaths`` and ``be_client_oper_xpaths``) to
-   direct ``mgmtd`` to send config and oper-state requests to your daemon. NOTE:
-   make sure to include library supported xpaths prefixes as well (e.g.,
+#. In ``mgmtd/mgmt_be_adapter.c`` add xpath prefix mappings to a each of the
+   mapping arrays (``be_client_config_xpaths``, ``be_client_oper_xpaths``, and
+   ``be_client_rpc_xpaths``) to direct ``mgmtd`` to send config, oper-state, and
+   RPC requests to your daemon.
+
+   NOTE: make sure to include library supported xpaths prefixes as well (e.g.,
    "/frr-interface:lib"). A good way to figure these paths out are to look in
    each of the YANG modules that the daemon uses and include each of their paths
    in the array.
 
+#. In ``python/xref2vtysh.py`` add ``VTYSH_xxxD`` (for client xxx) to
+   ``lib/mgmt_be_client.c`` entry in the ``daemon_falgs`` dictionary.
+
 Add YANG and CLI into MGMTD
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^