Skip to content

Commit 5d9eb0b

Browse files
author
Shiva Shankar Vaddepally
committed
resolved pep issues
Signed-off-by: Shiva Shankar Vaddepally <shivashankar.vaddepally@cloud.com>
1 parent e17a859 commit 5d9eb0b

7 files changed

Lines changed: 18 additions & 17 deletions

File tree

‎plugins/module_utils/nitro_resource_map.py‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31426,7 +31426,11 @@
3142631426
"primary_key": "",
3142731427
"primary_key_composite": [],
3142831428
"readwrite_arguments": {
31429-
"addressFamily": {"no_log": False, "type": "str"},
31429+
"addressFamily": {
31430+
"no_log": False,
31431+
"type": "str",
31432+
"choices": ["ipv4", "ipv6"],
31433+
},
3143031434
"distance": {"no_log": False, "type": "int"},
3143131435
"interface": {"no_log": False, "type": "str"},
3143231436
"isBest": {"no_log": False, "type": "str"},
@@ -47152,6 +47156,7 @@
4715247156
"passiveInterface": {"no_log": False, "type": "list"},
4715347157
"routerId": {"no_log": False, "type": "str"},
4715447158
"tagId": {"no_log": False, "type": "str"},
47159+
"tag": {"no_log": False, "type": "str"},
4715547160
},
4715647161
"singleton": False,
4715747162
"update_payload_keys": [],

‎plugins/modules/bfdinterface.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
- Whether to enable passive mode for BFD.
6060
type: bool
6161
default: false
62+
extends_documentation_fragment: netscaler.adc.netscaler_adc
6263
"""
6364

6465
EXAMPLE = r"""

‎plugins/modules/ospf6interface.py‎

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"supported_by": "community",
1717
}
1818
DOCUMENTATION = r"""
19-
module: ospfinterface
19+
module: ospf6interface
2020
short_description: Manage OSPF interface configuration on Citrix ADC (NetScaler) devices
2121
description:
2222
- Manage OSPF interface configuration on Citrix ADC (NetScaler) devices.
@@ -26,22 +26,11 @@
2626
options:
2727
state:
2828
type: str
29-
choices: ["present", "absent"]
29+
choices: ["present"]
3030
default: present
3131
description:
3232
- The state of the resource on the NetScaler ADC node.
3333
- When C(present), the resource will be added or updated.
34-
- When C(absent), the resource will be deleted.
35-
remove_non_updatable_params:
36-
choices:
37-
- 'yes'
38-
- 'no'
39-
default: 'no'
40-
description:
41-
- When given yes, the module will remove any parameters that are not updatable
42-
in the resource.
43-
- If no, the module will return error if any non-updatable parameters are provided.
44-
type: str
4534
areaId:
4635
type: int
4736
description:

‎plugins/modules/ospf6router.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@
8888
- OSPFv3 Tag.
8989
extends_documentation_fragment: netscaler.adc.netscaler_adc
9090
"""
91-
EXAMPLES = r""""""
91+
EXAMPLES = r"""
92+
"""
9293
RETURN = r"""
9394
---
9495
changed:

‎plugins/modules/ospfinterface.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@
106106
- Link state transmit delay.
107107
- Minimum value is 1.
108108
- Maximum value is 65535.
109+
extends_documentation_fragment: netscaler.adc.netscaler_adc
109110
"""
110111
EXAMPLES = r"""
111112
---

‎plugins/modules/ospfrouter.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,10 @@
106106
- Router-id for the OSPF process.
107107
extends_documentation_fragment: netscaler.adc.netscaler_adc
108108
"""
109-
EXAMPLES = r""""""
109+
110+
EXAMPLES = r"""
111+
"""
112+
110113
RETURN = r"""
111114
---
112115
changed:

‎plugins/modules/routemap.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@
123123
extends_documentation_fragment: netscaler.adc.netscaler_adc
124124
"""
125125

126-
EXAMPLES = r""""""
126+
EXAMPLES = r"""
127+
"""
127128

128129
RETURN = r"""
129130
---

0 commit comments

Comments
 (0)