adds FAQ TOC entry, links & examples to modules (#38706)

* adds FAQ TOC entry, links & examples to modules
* moves link to Notes, corrects examples
This commit is contained in:
Alicia Cozine
2018-04-18 13:41:54 -05:00
committed by Toshio Kuratomi
parent aeaf0e358f
commit 0ebc0b9e5a
7 changed files with 57 additions and 0 deletions

View File

@@ -36,6 +36,8 @@ description:
extends_documentation_fragment: vyos
notes:
- Tested against VYOS 1.1.7
- Abbreviated commands are NOT idempotent, see
L(Network FAQ,../network/user_guide/faq.html#why-do-the-config-modules-always-return-changed-true-with-abbreviated-commands).
options:
lines:
description:
@@ -102,6 +104,12 @@ EXAMPLES = """
vyos_config:
src: vyos.cfg
backup: yes
- name: for idempotency, use full-form commands
vyos_config:
lines:
# - set int eth eth2 description 'OUTSIDE'
- set interface ethernet eth2 description 'OUTSIDE'
"""
RETURN = """