Skip to content

Commit af8beb9

Browse files
solved errrors in interface
1 parent 856d227 commit af8beb9

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

plugins/modules/interface.py

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
id:
117117
type: str
118118
description:
119-
- 'Interface number, in C/U format, where C can take one of the following values:'
119+
- Interface number, in C/U format, where C can take one of the following values:
120120
- '* 0 - Indicates a management interface.'
121121
- '* 1 - Indicates a 1 Gbps port.'
122122
- '* 10 - Indicates a 10 Gbps port.'
@@ -308,26 +308,9 @@
308308
- Accept and send 802.1q VLAN tagged packets, based on Allowed Vlan List of
309309
this interface.
310310
extends_documentation_fragment: netscaler.adc.netscaler_adc
311-
312311
"""
313312

314313
EXAMPLES = r"""
315-
- gather_facts: 'no'
316-
hosts: localhost
317-
name: ns.conf playbook
318-
tasks:
319-
- Configure interface
320-
- localhost
321-
- bandwidthhigh: '0'
322-
bandwidthnormal: '0'
323-
haheartbeat: 'OFF'
324-
hamonitor: 'OFF'
325-
ifnum:
326-
- LO/1
327-
interface_id: LO/1
328-
intftype: Loopback
329-
state: present
330-
throughput: '0'
331314
"""
332315

333316
RETURN = r"""
@@ -360,21 +343,16 @@
360343
returned: always
361344
type: list
362345
sample: ['message 1', 'message 2']
363-
364346
"""
365347

366-
367348
import os
368-
369349
from ..module_utils.module_executor import ModuleExecutor
370350

371351
RESOURCE_NAME = os.path.basename(__file__).replace(".py", "")
372352

373-
374353
def main():
375354
executor = ModuleExecutor(RESOURCE_NAME)
376355
executor.main()
377356

378-
379357
if __name__ == "__main__":
380358
main()

0 commit comments

Comments
 (0)