Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix network resource module wording and typographical errors #61613

Merged
merged 4 commits into from Sep 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/ansible/modules/network/eos/eos_interfaces.py
Expand Up @@ -85,7 +85,7 @@
- deleted
default: merged
description:
- The state the configuration should be left in.
- The state of the configuration after module completion.
type: str

"""
Expand Down Expand Up @@ -254,12 +254,12 @@

RETURN = """
before:
description: The configuration prior to the model invocation.
description: The configuration as structured data prior to module invocation.
returned: always
type: dict
sample: The configuration returned will always be in the same format of the parameters above.
after:
description: The resulting configuration model invocation.
description: The configuration as structured data after module completion.
returned: when changed
type: dict
sample: The configuration returned will always be in the same format of the parameters above.
Expand Down
6 changes: 3 additions & 3 deletions lib/ansible/modules/network/eos/eos_l2_interfaces.py
Expand Up @@ -87,7 +87,7 @@
- deleted
default: merged
description:
- The state the configuration should be left in
- The state of the configuration after module completion
type: str
"""

Expand Down Expand Up @@ -264,12 +264,12 @@

RETURN = """
before:
description: The configuration prior to the model invocation.
description: The configuration as structured data prior to module invocation.
returned: always
type: list
sample: The configuration returned will always be in the same format of the parameters above.
after:
description: The resulting configuration model invocation.
description: The configuration as structured data after module completion.
returned: when changed
type: list
sample: The configuration returned will always be in the same format of the parameters above.
Expand Down
6 changes: 3 additions & 3 deletions lib/ansible/modules/network/eos/eos_l3_interfaces.py
Expand Up @@ -86,7 +86,7 @@
type: str
state:
description:
- The state the configuration should be left in
- The state of the configuration after module completion
type: str
choices:
- merged
Expand Down Expand Up @@ -262,14 +262,14 @@
"""
RETURN = """
before:
description: The configuration prior to the model invocation.
description: The configuration as structured data prior to module invocation.
returned: always
type: list
sample: >
The configuration returned will always be in the same format
of the parameters above.
after:
description: The resulting configuration model invocation.
description: The configuration as structured data after module completion.
returned: when changed
type: list
sample: >
Expand Down
6 changes: 3 additions & 3 deletions lib/ansible/modules/network/eos/eos_lacp.py
Expand Up @@ -64,7 +64,7 @@
type: int
state:
description:
- The state the configuration should be left in.
- The state of the configuration after module completion.
type: str
choices:
- merged
Expand Down Expand Up @@ -135,14 +135,14 @@
"""
RETURN = """
before:
description: The configuration prior to the model invocation.
description: The configuration as structured data prior to module invocation.
returned: always
type: dict
sample: >
The configuration returned will always be in the same format
of the parameters above.
after:
description: The resulting configuration model invocation.
description: The configuration as structured data after module completion.
returned: when changed
type: dict
sample: >
Expand Down
6 changes: 3 additions & 3 deletions lib/ansible/modules/network/eos/eos_lacp_interfaces.py
Expand Up @@ -66,7 +66,7 @@
choices: ['fast', 'normal']
state:
description:
- The state the configuration should be left in.
- The state of the configuration after module completion.
type: str
choices:
- merged
Expand Down Expand Up @@ -207,14 +207,14 @@
"""
RETURN = """
before:
description: The configuration prior to the model invocation.
description: The configuration as structured data prior to module invocation.
returned: always
type: list
sample: >
The configuration returned will always be in the same format
of the parameters above.
after:
description: The resulting configuration model invocation.
description: The configuration as structured data after module completion.
returned: when changed
type: list
sample: >
Expand Down
6 changes: 3 additions & 3 deletions lib/ansible/modules/network/eos/eos_lag_interfaces.py
Expand Up @@ -78,7 +78,7 @@
- passive
state:
description:
- The state the configuration should be left in.
- The state of the configuration after module completion.
type: str
choices:
- merged
Expand Down Expand Up @@ -208,14 +208,14 @@

RETURN = """
before:
description: The configuration prior to the model invocation.
description: The configuration as structured data prior to module invocation.
returned: always
type: list
sample: >
The configuration returned will always be in the same format
of the parameters above.
after:
description: The resulting configuration model invocation.
description: The configuration as structured data after module completion.
returned: when changed
type: list
sample: >
Expand Down
6 changes: 3 additions & 3 deletions lib/ansible/modules/network/eos/eos_lldp_global.py
Expand Up @@ -95,7 +95,7 @@
type: bool
state:
description:
- The state the configuration should be left in.
- The state of the configuration after module completion.
type: str
choices:
- merged
Expand Down Expand Up @@ -199,14 +199,14 @@
"""
RETURN = """
before:
description: The configuration prior to the model invocation.
description: The configuration as structured data prior to module invocation.
returned: always
type: dict
sample: >
The configuration returned will always be in the same format
of the parameters above.
after:
description: The resulting configuration model invocation.
description: The configuration as structured data after module completion.
returned: when changed
type: dict
sample: >
Expand Down
6 changes: 3 additions & 3 deletions lib/ansible/modules/network/eos/eos_lldp_interfaces.py
Expand Up @@ -63,7 +63,7 @@
type: bool
state:
description:
- The state the configuration should be left in.
- The state of the configuration after module completion.
type: str
choices:
- merged
Expand Down Expand Up @@ -205,14 +205,14 @@
"""
RETURN = """
before:
description: The configuration prior to the model invocation.
description: The configuration as structured data prior to module invocation.
returned: always
type: list
sample: >
The configuration returned will always be in the same format
of the parameters above.
after:
description: The resulting configuration model invocation.
description: The configuration as structured data after module completion.
returned: when changed
type: list
sample: >
Expand Down
6 changes: 3 additions & 3 deletions lib/ansible/modules/network/eos/eos_vlans.py
Expand Up @@ -70,7 +70,7 @@
- suspend
state:
description:
- The state the configuration should be left in
- The state of the configuration after module completion
type: str
choices:
- merged
Expand Down Expand Up @@ -197,14 +197,14 @@
"""
RETURN = """
before:
description: The configuration prior to the model invocation.
description: The configuration as structured data prior to module invocation.
returned: always
type: list
sample: >
The configuration returned will always be in the same format
of the parameters above.
after:
description: The resulting configuration model invocation.
description: The configuration as structured data after module completion.
returned: when changed
type: list
sample: >
Expand Down
6 changes: 3 additions & 3 deletions lib/ansible/modules/network/exos/exos_lldp_global.py
Expand Up @@ -86,7 +86,7 @@

state:
description:
- The state the configuration should be left in.
- The state of the configuration after module completion.
type: str
choices:
- merged
Expand Down Expand Up @@ -385,14 +385,14 @@
"""
RETURN = """
before:
description: The configuration prior to the model invocation.
description: The configuration as structured data prior to module invocation.
returned: always
sample: >
The configuration returned will always be in the same format
of the parameters above.
type: list
after:
description: The resulting configuration model invocation.
description: The configuration as structured data after module completion.
returned: when changed
sample: >
The configuration returned will always be in the same format
Expand Down
6 changes: 3 additions & 3 deletions lib/ansible/modules/network/ios/ios_interfaces.py
Expand Up @@ -88,7 +88,7 @@
- deleted
default: merged
description:
- The state the configuration should be left in
- The state of the configuration after module completion
type: str
"""

Expand Down Expand Up @@ -362,12 +362,12 @@

RETURN = """
before:
description: The configuration prior to the model invocation
description: The configuration as structured data prior to module invocation.
returned: always
type: list
sample: The configuration returned will alwys be in the same format of the paramters above.
after:
description: The resulting configuration model invocation
description: The configuration as structured data after module completion.
returned: when changed
type: list
sample: The configuration returned will alwys be in the same format of the paramters above.
Expand Down
6 changes: 3 additions & 3 deletions lib/ansible/modules/network/ios/ios_l2_interfaces.py
Expand Up @@ -98,7 +98,7 @@
- deleted
default: merged
description:
- The state the configuration should be left in
- The state of the configuration after module completion
type: str
"""

Expand Down Expand Up @@ -320,12 +320,12 @@

RETURN = """
before:
description: The configuration prior to the model invocation
description: The configuration as structured data prior to module invocation.
returned: always
type: list
sample: The configuration returned will always be in the same format of the paramters above.
after:
description: The resulting configuration model invocation
description: The configuration as structured data after module completion.
returned: when changed
type: list
sample: The configuration returned will always be in the same format of the paramters above.
Expand Down
6 changes: 3 additions & 3 deletions lib/ansible/modules/network/ios/ios_l3_interfaces.py
Expand Up @@ -107,7 +107,7 @@
- deleted
default: merged
description:
- The state the configuration should be left in
- The state of the configuration after module completion
type: str
"""

Expand Down Expand Up @@ -400,12 +400,12 @@

RETURN = """
before:
description: The configuration prior to the model invocation
description: The configuration as structured data prior to module invocation.
returned: always
type: list
sample: The configuration returned will alwys be in the same format of the paramters above.
after:
description: The resulting configuration model invocation
description: The configuration as structured data after module completion.
returned: when changed
type: list
sample: The configuration returned will alwys be in the same format of the paramters above.
Expand Down
6 changes: 3 additions & 3 deletions lib/ansible/modules/network/ios/ios_lacp.py
Expand Up @@ -63,7 +63,7 @@
required: True
state:
description:
- The state the configuration should be left in
- The state of the configuration after module completion
type: str
choices:
- merged
Expand Down Expand Up @@ -138,14 +138,14 @@

RETURN = """
before:
description: The configuration prior to the model invocation.
description: The configuration as structured data prior to module invocation.
returned: always
type: list
sample: >
The configuration returned will always be in the same format
of the parameters above.
after:
description: The resulting configuration model invocation.
description: The configuration as structured data after module completion.
returned: when changed
type: list
sample: >
Expand Down
6 changes: 3 additions & 3 deletions lib/ansible/modules/network/ios/ios_lacp_interfaces.py
Expand Up @@ -74,7 +74,7 @@
type: int
state:
description:
- The state the configuration should be left in
- The state of the configuration after module completion
type: str
choices:
- merged
Expand Down Expand Up @@ -315,14 +315,14 @@

RETURN = """
before:
description: The configuration prior to the model invocation.
description: The configuration as structured data prior to module invocation.
returned: always
type: list
sample: >
The configuration returned will always be in the same format
of the parameters above.
after:
description: The resulting configuration model invocation.
description: The configuration as structured data after module completion.
returned: when changed
type: list
sample: >
Expand Down