From e9236755bb544c43c9949926ad4a3b85223612f5 Mon Sep 17 00:00:00 2001 From: rebortg Date: Fri, 12 Aug 2022 10:54:10 +0200 Subject: add :defaultvalue: option (cherry picked from commit b09f2222ed6181ba377a41de37a3997559a234c8) (cherry picked from commit 1205c1e7806d4e84e03aafc94831248cbfa9b1c8) --- docs/documentation.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'docs/documentation.rst') diff --git a/docs/documentation.rst b/docs/documentation.rst index 77cd5cc4..2d530439 100644 --- a/docs/documentation.rst +++ b/docs/documentation.rst @@ -295,6 +295,21 @@ For an inline configuration level command, use ``:cfgcmd:`` :cfgcmd:`set interface ethernet eth0` + +To extract a defaultvalue from the XML definitions add a ``:defaultvalue:`` +to ``.. cfgcmd::`` directive. +To have this feature locally, the vyos-1x submodule must be initialized before. +Please be aware to not update the submodule in your PR. + +.. code-block:: none + + .. cfgcmd:: set system conntrack table-size <1-50000000> + :defaultvalue: + + The connection tracking table contains one entry for each connection being + tracked by the system. + + opcmd """"" -- cgit v1.2.3