Commit f306a98f2d for frr
commit f306a98f2de2e8b4964809ac032817f8c1e65104
Author: Carmine Scarpitta <cscarpit@cisco.com>
Date: Sat Oct 31 21:04:45 2026 +0100
doc: Document SHARP opaque notification command
Document the `sharp send opaque notify` command.
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
diff --git a/doc/user/sharp.rst b/doc/user/sharp.rst
index 71f064403b..42fb4f9b8e 100644
--- a/doc/user/sharp.rst
+++ b/doc/user/sharp.rst
@@ -128,6 +128,18 @@ keyword. At present, no sharp commands will be preserved in the config.
name, and can include optional zapi ``instance`` and ``session``
values.
+.. clicmd:: sharp send opaque notify <reg | unreg> type (1-1000)
+
+ The ``reg`` form asks Zebra to notify sharpd when a protocol daemon
+ registers to receive opaque messages of subtype ``type``, or when the
+ last receiver for that subtype unregisters. Registration notifications
+ identify the daemon by its protocol, instance, and session ID; an
+ unregistration notification indicates that no receivers remain. sharpd
+ writes these notifications to its debug log.
+
+ The ``unreg`` form cancels sharpd's notification subscription for
+ that subtype.
+
.. clicmd:: sharp create session (1-1024)
Create an additional zapi client session for testing, using the