2021-08-07 15:02:21 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
2020-03-09 10:11:07 +01:00
|
|
|
#
|
2022-08-05 12:28:29 +02:00
|
|
|
# Copyright (c) 2019, Sandeep Kasargod <sandeep@vexata.com>
|
|
|
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
2020-03-09 10:11:07 +01:00
|
|
|
|
2020-06-24 21:50:36 +02:00
|
|
|
from __future__ import (absolute_import, division, print_function)
|
|
|
|
__metaclass__ = type
|
|
|
|
|
2020-03-09 10:11:07 +01:00
|
|
|
|
|
|
|
class ModuleDocFragment(object):
|
|
|
|
|
|
|
|
DOCUMENTATION = r'''
|
|
|
|
options:
|
|
|
|
- See respective platform section for more details
|
|
|
|
requirements:
|
|
|
|
- See respective platform section for more details
|
|
|
|
notes:
|
|
|
|
- Ansible modules are available for Vexata VX100 arrays.
|
|
|
|
'''
|
|
|
|
|
|
|
|
# Documentation fragment for Vexata VX100 series
|
|
|
|
VX100 = r'''
|
|
|
|
options:
|
|
|
|
array:
|
|
|
|
description:
|
|
|
|
- Vexata VX100 array hostname or IPv4 Address.
|
|
|
|
required: true
|
|
|
|
type: str
|
|
|
|
user:
|
|
|
|
description:
|
|
|
|
- Vexata API user with administrative privileges.
|
2023-11-22 09:13:33 +01:00
|
|
|
- Uses the E(VEXATA_USER) environment variable as a fallback.
|
2020-03-09 10:11:07 +01:00
|
|
|
required: false
|
|
|
|
type: str
|
|
|
|
password:
|
|
|
|
description:
|
|
|
|
- Vexata API user password.
|
2023-11-22 09:13:33 +01:00
|
|
|
- Uses the E(VEXATA_PASSWORD) environment variable as a fallback.
|
2020-03-09 10:11:07 +01:00
|
|
|
required: false
|
|
|
|
type: str
|
|
|
|
validate_certs:
|
|
|
|
description:
|
2023-06-10 09:28:40 +02:00
|
|
|
- Allows connection when SSL certificates are not valid. Set to V(false) when certificates are not trusted.
|
|
|
|
- If set to V(true), please make sure Python >= 2.7.9 is installed on the given machine.
|
2020-03-09 10:11:07 +01:00
|
|
|
required: false
|
|
|
|
type: bool
|
2022-08-24 19:58:42 +02:00
|
|
|
default: false
|
2020-03-09 10:11:07 +01:00
|
|
|
|
|
|
|
requirements:
|
|
|
|
- Vexata VX100 storage array with VXOS >= v3.5.0 on storage array
|
|
|
|
- vexatapi >= 0.0.1
|
2023-11-22 09:13:33 +01:00
|
|
|
- E(VEXATA_USER) and E(VEXATA_PASSWORD) environment variables must be set if
|
2020-03-09 10:11:07 +01:00
|
|
|
user and password arguments are not passed to the module directly.
|
|
|
|
'''
|