Skip to content

Commit

Permalink
Improve formulations.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Dec 28, 2024
1 parent 539119c commit 1e0c582
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion plugins/cliconf/routeros.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
name: routeros
short_description: Use routeros cliconf to run command on MikroTik RouterOS platform
description:
- This routeros plugin provides low level abstraction apis for sending and receiving CLI commands from MikroTik RouterOS
- This routeros plugin provides low level abstraction APIs for sending and receiving CLI commands from MikroTik RouterOS
network devices.
"""

Expand Down
2 changes: 1 addition & 1 deletion plugins/doc_fragments/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class ModuleDocFragment(object):
- ssl
port:
description:
- RouterOS api port. If O(tls) is set, port will apply to TLS/SSL connection.
- RouterOS API port. If O(tls) is set, port will apply to TLS/SSL connection.
- Defaults are V(8728) for the HTTP API, and V(8729) for the HTTPS API.
type: int
force_no_cert:
Expand Down
8 changes: 4 additions & 4 deletions plugins/modules/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
short_description: Ansible module for RouterOS API
description:
- Ansible module for RouterOS API with the Python C(librouteros) library.
- This module can add, remove, update, query and execute arbitrary command in RouterOS via API.
- This module can add, remove, update, query, and execute arbitrary command in RouterOS through the API.
notes:
- O(add), O(remove), O(update), O(cmd), and O(query) are mutually exclusive.
- Use the M(community.routeros.api_modify) and M(community.routeros.api_find_and_modify) modules for more specific modifications,
Expand All @@ -37,7 +37,7 @@
path:
description:
- Main path for all other arguments.
- If other arguments are not set, api will return all items in selected path.
- If other arguments are not set, the module will return all items in selected path.
- Example V(ip address). Equivalent of RouterOS CLI C(/ip address print).
required: true
type: str
Expand All @@ -57,7 +57,7 @@
update:
description:
- Update config/value in RouterOS by '.id' in selected path.
- Example V(.id=*03 address=1.1.1.3/32) and path V(ip address) will replace existing ip address with C(.id=*03).
- Example V(.id=*03 address=1.1.1.3/32) and path V(ip address) will replace the existing IP address with C(.id=*03).
- Equivalent in RouterOS CLI C(/ip address set address=1.1.1.3/32 numbers=1).
- Note C(number) in RouterOS CLI is different from C(.id).
type: str
Expand Down Expand Up @@ -261,7 +261,7 @@

RETURN = r"""
message:
description: All outputs are in list with dictionary elements returned from RouterOS api.
description: All outputs are in list with dictionary elements returned from RouterOS API.
sample:
- address: 1.2.3.4
- address: 2.3.4.5
Expand Down

0 comments on commit 1e0c582

Please sign in to comment.