[WIP] Network module docs 2.3 (#22454)

* Tidy up docs for network 2.3 modules

* Use suboptions

* Correct indentation

* more tidyup

* bulk updates

* more tidyup

* Bulk changes

* nxos_mtu is dead

* revert

* NXOS_mtu is dead, also better layout

* rebase

* rebase
This commit is contained in:
John R Barker
2017-03-15 16:00:43 +00:00
committed by GitHub
parent b606bcec04
commit f82239e1f7
20 changed files with 594 additions and 767 deletions

View File

@@ -36,14 +36,10 @@ extends_documentation_fragment: vyos
options:
hostname:
description:
- The new hostname to apply to the device.
required: false
default: null
- Configure the device hostname parameter. This option takes an ASCII string value.
domain_name:
description:
- The new domain name to apply to the device.
required: false
default: null
name_server:
description:
- A list of name servers to use with the device. Mutually exclusive with
@@ -54,12 +50,9 @@ options:
description:
- A list of domain names to search. Mutually exclusive with
I(name_server)
required: false
default: null
state:
description:
- Whether to apply (C(present)) or remove (C(absent)) the settings.
required: false
default: present
choices: ['present', 'absent']
"""
@@ -78,7 +71,7 @@ EXAMPLES = """
- name: configure hostname and domain-name
vyos_system:
hostname: vyos01
domain_name: foo.example.com
domain_name: test.example.com
- name: remove all configuration
vyos_system: