From 6a88ab9bb1f333233654a10c4cbf87c31848d47c Mon Sep 17 00:00:00 2001 From: rebortg Date: Tue, 31 May 2022 21:16:48 +0200 Subject: improve coverage with all real vyos commands exported from iso (cherry picked from commit 68a335a08633d18e11110e98e5fef7a979d7e850) --- docs/coverage.rst | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'docs/coverage.rst') diff --git a/docs/coverage.rst b/docs/coverage.rst index 180dfe4b..1fb9a153 100644 --- a/docs/coverage.rst +++ b/docs/coverage.rst @@ -6,21 +6,23 @@ Overview over all commands, which are documented in the ``.. cfgcmd::`` or ``.. opcmd::`` Directives. The build process take all xml definition files -from `vyos-1x `_ and extract each leaf -command or executable command. After this the commands are compare and shown in +from `vyos-1x `_ and a periodical export of +all VyOS commands and extract each leaf command or executable command. +After this the commands are compare and shown in the following two tables. The script compare only the fixed part of a command. All varables or values will be erase and then compare: for example there are these two commands: * documentation: ``interfaces ethernet address -
``` - * xml: ``interface ethernet address
`` +
`` + * xml: ``interfaces ethernet address
`` + * VyOS: ``interfaces ethernet address `` Now the script earse all in between ``<`` and ``>`` and simply compare the strings. -**There are 2 kind of problems:** +**There are 3 kind of problems:** ``Not documented yet`` @@ -30,9 +32,14 @@ the strings. ``Nothing found in XML Definitions`` * ``.. cfgcmd::`` or ``.. opcmd::`` Command are not found in a XML command - * Maybe the command where changed in the XML Definition, or the feature is - not anymore in VyOS - * Some commands are not yet translated to XML + * Maybe the command where changed in the XML Definition, the feature is + not anymore in VyOS, or there is a typo + +``Nothing found in VyOS`` + + * ``.. cfgcmd::`` or ``.. opcmd::`` Command are not found in a VyOS command + * Maybe the command where changed, the feature is + not anymore in VyOS, or there is a typo Configuration Commands -- cgit v1.2.3