2019-02-15 09:52:48 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
# Copyright: (c) 2016, John Barker <jobarker@redhat.com>
|
|
|
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
2016-10-25 15:03:25 +00:00
|
|
|
|
|
|
|
|
|
|
|
class ModuleDocFragment(object):
|
|
|
|
|
|
|
|
# Standard files documentation fragment
|
2019-02-15 09:52:48 +00:00
|
|
|
DOCUMENTATION = r'''
|
2016-10-25 15:03:25 +00:00
|
|
|
options:
|
|
|
|
host:
|
|
|
|
description:
|
|
|
|
- Hostname or IP of the A10 Networks device.
|
2018-12-18 15:53:46 +00:00
|
|
|
type: str
|
2016-10-25 15:03:25 +00:00
|
|
|
required: true
|
|
|
|
username:
|
|
|
|
description:
|
|
|
|
- An account with administrator privileges.
|
2018-12-18 15:53:46 +00:00
|
|
|
type: str
|
2016-10-25 15:03:25 +00:00
|
|
|
required: true
|
2018-12-18 15:53:46 +00:00
|
|
|
aliases: [ admin, user ]
|
2016-10-25 15:03:25 +00:00
|
|
|
password:
|
|
|
|
description:
|
|
|
|
- Password for the C(username) account.
|
2018-12-18 15:53:46 +00:00
|
|
|
type: str
|
2016-10-25 15:03:25 +00:00
|
|
|
required: true
|
2018-12-18 15:53:46 +00:00
|
|
|
aliases: [ pass, pwd ]
|
2016-10-25 15:03:25 +00:00
|
|
|
write_config:
|
|
|
|
description:
|
|
|
|
- If C(yes), any changes will cause a write of the running configuration
|
|
|
|
to non-volatile memory. This will save I(all) configuration changes,
|
|
|
|
including those that may have been made manually or through other modules,
|
|
|
|
so care should be taken when specifying C(yes).
|
2018-03-15 21:15:24 +00:00
|
|
|
type: bool
|
2018-12-18 15:53:46 +00:00
|
|
|
default: no
|
2019-02-15 09:52:48 +00:00
|
|
|
version_added: '2.2'
|
2016-10-25 15:03:25 +00:00
|
|
|
validate_certs:
|
|
|
|
description:
|
2019-02-15 09:52:48 +00:00
|
|
|
- If C(no), SSL certificates will not be validated.
|
|
|
|
- This should only be used on personally controlled devices using self-signed certificates.
|
2018-03-15 21:15:24 +00:00
|
|
|
type: bool
|
2018-12-18 15:53:46 +00:00
|
|
|
default: yes
|
2019-02-15 09:52:48 +00:00
|
|
|
version_added: '2.2'
|
|
|
|
notes:
|
|
|
|
- Requires A10 Networks aXAPI 2.1.
|
|
|
|
'''
|