]> git.puffer.fish Git - matthieu/frr.git/commitdiff
doc/workflow: YANG is a hard requirement
authorDavid Lamparter <equinox@opensourcerouting.org>
Wed, 7 Jul 2021 13:48:39 +0000 (15:48 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 7 Jul 2021 13:48:39 +0000 (15:48 +0200)
The text didn't reflect the YANG requirement decision yet.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
doc/developer/workflow.rst

index 526f40e3e7e8d2b0385b3fa1ec07d53f5b0017a7..dae175a732da418221bff5ee0a4facf854c190fa 100644 (file)
@@ -898,8 +898,15 @@ preference, these are:
 
    This is the preferred way for all FRR knobs.  Not all daemons and features
    are fully YANGified yet, so in some cases new features cannot rely on a
-   YANG interface.  However, if a new feature/PR *can* implement a YANG
-   interface, it probably *should*.
+   YANG interface.  If a daemon already implements a YANG interface (even
+   partial), new CLI options must be implemented through a YANG model.
+
+   .. warning::
+
+      Unlike everything else in this section being guidelines with some slack,
+      implementing and using a YANG interface for new CLI options in (even
+      partially!) YANGified daemons is a hard requirement.
+
 
 -  at configuration/runtime, through the CLI.