Style: change .. cfcmd:: to ..cfgcmd::

This commit is contained in:
Robert Göhler 2019-11-24 21:26:34 +01:00
parent 343be1b940
commit 0c19693d3d
5 changed files with 9 additions and 9 deletions

View File

@ -105,7 +105,7 @@ Please don't use other public address space.
Specific Sphinx-doc Markup
^^^^^^^^^^^^^^^^^^^^^^^^^^
When documenting CLI commands use the ``.. cfcmd::`` directive for
When documenting CLI commands use the ``.. cfgcmd::`` directive for
the configuration mode and the ``.. opcmd::`` directive for operational mode
commands.
Under the command a short exlaination should be provide.

View File

@ -30,15 +30,15 @@ Geneve Header:
| Variable Length Options |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
.. cfcmd:: set interfaces geneve gnv0 address '192.0.2.2/24'
.. cfgcmd:: set interfaces geneve gnv0 address '192.0.2.2/24'
Create GENEVE tunnel listening on local address `192.0.2.2/24`.
.. cfcmd:: set interfaces geneve gnv0 remote '172.18.204.10'
.. cfgcmd:: set interfaces geneve gnv0 remote '172.18.204.10'
Specify the IP address of the other end of the tunnel.
.. cfcmd:: set interfaces geneve gnv0 vni '1000'
.. cfgcmd:: set interfaces geneve gnv0 vni '1000'
:abbr:`VNI (Virtual Network Identifier)` is an identifier for a unique element
of a virtual network. In many situations this may represent an L2 segment,
@ -47,6 +47,6 @@ packets. The VNI MAY be used as part of ECMP forwarding decisions or MAY be
used as a mechanism to distinguish between overlapping address spaces contained
in the encapsulated packet when load balancing across CPUs.
.. cfcmd:: set interfaces geneve gnv0 mtu
.. cfgcmd:: set interfaces geneve gnv0 mtu
Set interface :abbr:`MTU (Maximum Transfer Unit)` size.

View File

@ -25,7 +25,7 @@ its MAC address) and configured to run in monitor mode.
To be able to use the wireless interfaces you will first need to set a
regulatory domain with the country code of your locaion.
.. cfcmd:: set system wifi-regulatory-domain DE
.. cfgcmd:: set system wifi-regulatory-domain DE
Configure system wide Wi-Fi regulatory domain. A reboot is required for this
change to be enabled.

View File

@ -19,7 +19,7 @@ implemented.
Configure
=========
.. cfcmd:: set protocols static arp 192.0.2.100 hwaddr 00:53:27:de:23:aa
.. cfgcmd:: set protocols static arp 192.0.2.100 hwaddr 00:53:27:de:23:aa
This will configure a static ARP entry always resolving `192.0.2.100` to
`00:53:27:de:23:aa`

View File

@ -446,13 +446,13 @@ all users can benefit from it.
If you are a hacker or want to try on your own we support passing raw OpenVPN
options to OpenVPN.
.. cfcmd:: set interfaces openvpn vtun10 openvpn-option 'persistent-key'
.. cfgcmd:: set interfaces openvpn vtun10 openvpn-option 'persistent-key'
Will add ``persistent-key`` at the end of the generated OpenVPN configuration.
Please use this only as last resort - things might break and OpenVPN won't start
if you pass invalid options/syntax.
.. cfcmd:: set interfaces openvpn vtun10 openvpn-option 'push "keepalive 1 10"'
.. cfgcmd:: set interfaces openvpn vtun10 openvpn-option 'push "keepalive 1 10"'
Will add ``push "keepalive 1 10"`` to the generated OpenVPN config file.