mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-16 01:45:25 -07:00
Fix imports, part 2 (#42)
* Recover missing netapp.ontap module doc fragments from ansible/ansible@pre-ansible-base. * Fix PEP8 issues. * Remove netbox empty files, and test which shouldn't be here. * Add forgotten file for kubevirt tests. * Fix unit test imports. * ansible/ansible#68415 has been fixed. * Clean up/rearrange imports. * Update ignore.txt, fix boilerplate. * Netapp docs fragment: fix spacing * Forgot to adjust kubevirt tests.
This commit is contained in:
parent
25394eeafb
commit
07ecfc940c
118 changed files with 486 additions and 423 deletions
114
plugins/doc_fragments/netapp.py
Normal file
114
plugins/doc_fragments/netapp.py
Normal file
|
@ -0,0 +1,114 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright: (c) 2018, Sumit Kumar <sumit4@netapp.com>, chris Archibald <carchi@netapp.com>
|
||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
|
||||
from __future__ import (absolute_import, division, print_function)
|
||||
__metaclass__ = type
|
||||
|
||||
|
||||
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 the following NetApp Storage Platforms: E-Series, ONTAP, SolidFire
|
||||
'''
|
||||
|
||||
# Documentation fragment for ONTAP (na_cdot)
|
||||
ONTAP = r'''
|
||||
options:
|
||||
hostname:
|
||||
required: true
|
||||
description:
|
||||
- The hostname or IP address of the ONTAP instance.
|
||||
username:
|
||||
required: true
|
||||
description:
|
||||
- This can be a Cluster-scoped or SVM-scoped account, depending on whether a Cluster-level or SVM-level API is required.
|
||||
For more information, please read the documentation U(https://mysupport.netapp.com/NOW/download/software/nmsdk/9.4/).
|
||||
aliases: ['user']
|
||||
password:
|
||||
required: true
|
||||
description:
|
||||
- Password for the specified user.
|
||||
aliases: ['pass']
|
||||
requirements:
|
||||
- A physical or virtual clustered Data ONTAP system. The modules were developed with Clustered Data ONTAP 8.3
|
||||
- Ansible 2.2
|
||||
- netapp-lib (2015.9.25). Install using 'pip install netapp-lib'
|
||||
|
||||
notes:
|
||||
- The modules prefixed with na\\_cdot are built to support the ONTAP storage platform.
|
||||
|
||||
'''
|
||||
|
||||
# Documentation fragment for SolidFire
|
||||
SOLIDFIRE = r'''
|
||||
options:
|
||||
hostname:
|
||||
required: true
|
||||
description:
|
||||
- The hostname or IP address of the SolidFire cluster.
|
||||
username:
|
||||
required: true
|
||||
description:
|
||||
- Please ensure that the user has the adequate permissions. For more information, please read the official documentation
|
||||
U(https://mysupport.netapp.com/documentation/docweb/index.html?productID=62636&language=en-US).
|
||||
aliases: ['user']
|
||||
password:
|
||||
required: true
|
||||
description:
|
||||
- Password for the specified user.
|
||||
aliases: ['pass']
|
||||
|
||||
requirements:
|
||||
- The modules were developed with SolidFire 10.1
|
||||
- solidfire-sdk-python (1.1.0.92) or greater. Install using 'pip install solidfire-sdk-python'
|
||||
|
||||
notes:
|
||||
- The modules prefixed with na\\_elementsw are built to support the SolidFire storage platform.
|
||||
|
||||
'''
|
||||
|
||||
# Documentation fragment for E-Series
|
||||
ESERIES = r'''
|
||||
options:
|
||||
api_username:
|
||||
required: true
|
||||
type: str
|
||||
description:
|
||||
- The username to authenticate with the SANtricity Web Services Proxy or Embedded Web Services API.
|
||||
api_password:
|
||||
required: true
|
||||
type: str
|
||||
description:
|
||||
- The password to authenticate with the SANtricity Web Services Proxy or Embedded Web Services API.
|
||||
api_url:
|
||||
required: true
|
||||
type: str
|
||||
description:
|
||||
- The url to the SANtricity Web Services Proxy or Embedded Web Services API.
|
||||
Example https://prod-1.wahoo.acme.com/devmgr/v2
|
||||
validate_certs:
|
||||
required: false
|
||||
default: true
|
||||
description:
|
||||
- Should https certificates be validated?
|
||||
type: bool
|
||||
ssid:
|
||||
required: false
|
||||
type: str
|
||||
default: 1
|
||||
description:
|
||||
- The ID of the array to manage. This value must be unique for each array.
|
||||
|
||||
notes:
|
||||
- The E-Series Ansible modules require either an instance of the Web Services Proxy (WSP), to be available to manage
|
||||
the storage-system, or an E-Series storage-system that supports the Embedded Web Services API.
|
||||
- Embedded Web Services is currently available on the E2800, E5700, EF570, and newer hardware models.
|
||||
- M(netapp_e_storage_system) may be utilized for configuring the systems managed by a WSP instance.
|
||||
'''
|
|
@ -53,10 +53,10 @@ from ansible.errors import AnsibleError, AnsibleParserError
|
|||
from ansible.plugins.lookup import LookupBase
|
||||
from ansible.utils.display import Display
|
||||
from ansible_collections.community.general.plugins.module_utils.network.avi.avi_api import (ApiSession,
|
||||
AviCredentials,
|
||||
AviServerError,
|
||||
ObjectNotFound,
|
||||
APIError)
|
||||
AviCredentials,
|
||||
AviServerError,
|
||||
ObjectNotFound,
|
||||
APIError)
|
||||
|
||||
display = Display()
|
||||
|
||||
|
|
|
@ -172,8 +172,8 @@ tags:
|
|||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.community.general.plugins.module_utils.cloudscale import (AnsibleCloudscaleBase,
|
||||
cloudscale_argument_spec,
|
||||
)
|
||||
cloudscale_argument_spec,
|
||||
)
|
||||
|
||||
|
||||
class AnsibleCloudscaleVolume(AnsibleCloudscaleBase):
|
||||
|
|
|
@ -148,8 +148,8 @@ project:
|
|||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.community.general.plugins.module_utils.cloudstack import (AnsibleCloudStack,
|
||||
cs_argument_spec,
|
||||
cs_required_together)
|
||||
cs_argument_spec,
|
||||
cs_required_together)
|
||||
|
||||
|
||||
class AnsibleCloudStackInstanceNic(AnsibleCloudStack):
|
||||
|
|
|
@ -132,10 +132,10 @@ RETURN = '''
|
|||
###############################################################################
|
||||
|
||||
from ansible_collections.community.general.plugins.module_utils.hwc_utils import (Config, HwcClientException,
|
||||
HwcClientException404, HwcModule,
|
||||
are_different_dicts, is_empty_value,
|
||||
wait_to_finish, get_region,
|
||||
build_path, navigate_value)
|
||||
HwcClientException404, HwcModule,
|
||||
are_different_dicts, is_empty_value,
|
||||
wait_to_finish, get_region,
|
||||
build_path, navigate_value)
|
||||
import re
|
||||
|
||||
###############################################################################
|
||||
|
|
|
@ -111,9 +111,9 @@ update_time:
|
|||
###############################################################################
|
||||
|
||||
from ansible_collections.community.general.plugins.module_utils.hwc_utils import (Config, HwcClientException,
|
||||
HwcModule, navigate_value,
|
||||
are_different_dicts, is_empty_value,
|
||||
build_path, get_region)
|
||||
HwcModule, navigate_value,
|
||||
are_different_dicts, is_empty_value,
|
||||
build_path, get_region)
|
||||
import re
|
||||
|
||||
###############################################################################
|
||||
|
|
|
@ -213,8 +213,8 @@ except ImportError:
|
|||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.community.general.plugins.module_utils.rax import (FINAL_STATUSES, rax_argument_spec, rax_find_bootable_volume,
|
||||
rax_find_image, rax_find_network, rax_find_volume,
|
||||
rax_required_together, rax_to_dict, setup_rax_module)
|
||||
rax_find_image, rax_find_network, rax_find_volume,
|
||||
rax_required_together, rax_to_dict, setup_rax_module)
|
||||
from ansible.module_utils.six.moves import xrange
|
||||
from ansible.module_utils.six import string_types
|
||||
|
||||
|
|
|
@ -105,7 +105,7 @@ except ImportError:
|
|||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.community.general.plugins.module_utils.rax import (VOLUME_STATUS, rax_argument_spec, rax_find_image, rax_find_volume,
|
||||
rax_required_together, rax_to_dict, setup_rax_module)
|
||||
rax_required_together, rax_to_dict, setup_rax_module)
|
||||
|
||||
|
||||
def cloud_block_storage(module, state, name, description, meta, size,
|
||||
|
|
|
@ -82,13 +82,13 @@ except ImportError:
|
|||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.community.general.plugins.module_utils.rax import (NON_CALLABLES,
|
||||
rax_argument_spec,
|
||||
rax_find_server,
|
||||
rax_find_volume,
|
||||
rax_required_together,
|
||||
rax_to_dict,
|
||||
setup_rax_module,
|
||||
)
|
||||
rax_argument_spec,
|
||||
rax_find_server,
|
||||
rax_find_volume,
|
||||
rax_required_together,
|
||||
rax_to_dict,
|
||||
setup_rax_module,
|
||||
)
|
||||
|
||||
|
||||
def cloud_block_storage_attachments(module, state, volume, server, device,
|
||||
|
|
|
@ -133,12 +133,12 @@ except ImportError:
|
|||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.community.general.plugins.module_utils.rax import (CLB_ALGORITHMS,
|
||||
CLB_PROTOCOLS,
|
||||
rax_argument_spec,
|
||||
rax_required_together,
|
||||
rax_to_dict,
|
||||
setup_rax_module,
|
||||
)
|
||||
CLB_PROTOCOLS,
|
||||
rax_argument_spec,
|
||||
rax_required_together,
|
||||
rax_to_dict,
|
||||
setup_rax_module,
|
||||
)
|
||||
|
||||
|
||||
def cloud_load_balancer(module, state, name, meta, algorithm, port, protocol,
|
||||
|
|
|
@ -102,11 +102,11 @@ except ImportError:
|
|||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.community.general.plugins.module_utils.rax import (rax_argument_spec,
|
||||
rax_find_loadbalancer,
|
||||
rax_required_together,
|
||||
rax_to_dict,
|
||||
setup_rax_module,
|
||||
)
|
||||
rax_find_loadbalancer,
|
||||
rax_required_together,
|
||||
rax_to_dict,
|
||||
setup_rax_module,
|
||||
)
|
||||
|
||||
|
||||
def cloud_load_balancer_ssl(module, loadbalancer, state, enabled, private_key,
|
||||
|
|
|
@ -71,10 +71,10 @@ except ImportError:
|
|||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.community.general.plugins.module_utils.rax import (rax_argument_spec,
|
||||
rax_required_together,
|
||||
rax_to_dict,
|
||||
setup_rax_module,
|
||||
)
|
||||
rax_required_together,
|
||||
rax_to_dict,
|
||||
setup_rax_module,
|
||||
)
|
||||
|
||||
|
||||
def rax_dns(module, comment, email, name, state, ttl):
|
||||
|
|
|
@ -123,12 +123,12 @@ except ImportError:
|
|||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.community.general.plugins.module_utils.rax import (rax_argument_spec,
|
||||
rax_find_loadbalancer,
|
||||
rax_find_server,
|
||||
rax_required_together,
|
||||
rax_to_dict,
|
||||
setup_rax_module,
|
||||
)
|
||||
rax_find_loadbalancer,
|
||||
rax_find_server,
|
||||
rax_required_together,
|
||||
rax_to_dict,
|
||||
setup_rax_module,
|
||||
)
|
||||
|
||||
|
||||
def rax_dns_record_ptr(module, data=None, comment=None, loadbalancer=None,
|
||||
|
|
|
@ -58,10 +58,10 @@ except ImportError:
|
|||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.community.general.plugins.module_utils.rax import (rax_argument_spec,
|
||||
rax_required_together,
|
||||
rax_to_dict,
|
||||
setup_rax_module,
|
||||
)
|
||||
rax_required_together,
|
||||
rax_to_dict,
|
||||
setup_rax_module,
|
||||
)
|
||||
|
||||
|
||||
def rax_facts(module, address, name, server_id):
|
||||
|
|
|
@ -54,7 +54,7 @@ except ImportError:
|
|||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.community.general.plugins.module_utils.rax import (rax_argument_spec, rax_required_together, rax_to_dict,
|
||||
setup_rax_module)
|
||||
setup_rax_module)
|
||||
|
||||
|
||||
def cloud_identity(module, state, identity):
|
||||
|
|
|
@ -88,10 +88,10 @@ except ImportError:
|
|||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.community.general.plugins.module_utils.rax import (rax_argument_spec,
|
||||
rax_required_together,
|
||||
rax_to_dict,
|
||||
setup_rax_module,
|
||||
)
|
||||
rax_required_together,
|
||||
rax_to_dict,
|
||||
setup_rax_module,
|
||||
)
|
||||
|
||||
|
||||
def rax_keypair(module, name, public_key, state):
|
||||
|
|
|
@ -144,7 +144,7 @@ except ImportError:
|
|||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.community.general.plugins.module_utils.rax import (rax_argument_spec, rax_find_image, rax_find_network,
|
||||
rax_required_together, rax_to_dict, setup_rax_module)
|
||||
rax_required_together, rax_to_dict, setup_rax_module)
|
||||
from ansible.module_utils.six import string_types
|
||||
|
||||
|
||||
|
|
|
@ -124,7 +124,7 @@ except ImportError:
|
|||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.community.general.plugins.module_utils.rax import (UUID, rax_argument_spec, rax_required_together, rax_to_dict,
|
||||
setup_rax_module)
|
||||
setup_rax_module)
|
||||
|
||||
|
||||
def rax_asp(module, at=None, change=0, cron=None, cooldown=300,
|
||||
|
|
|
@ -443,10 +443,10 @@ from ansible.module_utils.basic import AnsibleModule
|
|||
from ansible.module_utils.common.network import is_mac
|
||||
from ansible.module_utils import six
|
||||
from ansible_collections.community.general.plugins.module_utils.xenserver import (xenserver_common_argument_spec, XAPI, XenServerObject, get_object_ref,
|
||||
gather_vm_params, gather_vm_facts, set_vm_power_state, wait_for_vm_ip_address,
|
||||
is_valid_ip_addr, is_valid_ip_netmask, is_valid_ip_prefix,
|
||||
ip_prefix_to_netmask, ip_netmask_to_prefix,
|
||||
is_valid_ip6_addr, is_valid_ip6_prefix)
|
||||
gather_vm_params, gather_vm_facts, set_vm_power_state,
|
||||
wait_for_vm_ip_address, is_valid_ip_addr, is_valid_ip_netmask,
|
||||
is_valid_ip_prefix, ip_prefix_to_netmask, ip_netmask_to_prefix,
|
||||
is_valid_ip6_addr, is_valid_ip6_prefix)
|
||||
|
||||
|
||||
class XenServerVM(XenServerObject):
|
||||
|
|
|
@ -163,7 +163,7 @@ except ImportError:
|
|||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.community.general.plugins.module_utils.xenserver import (xenserver_common_argument_spec, XAPI, XenServerObject, get_object_ref,
|
||||
gather_vm_params, gather_vm_facts)
|
||||
gather_vm_params, gather_vm_facts)
|
||||
|
||||
|
||||
class XenServerVM(XenServerObject):
|
||||
|
|
|
@ -186,7 +186,8 @@ except ImportError:
|
|||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.community.general.plugins.module_utils.xenserver import (xenserver_common_argument_spec, XAPI, XenServerObject, get_object_ref,
|
||||
gather_vm_params, gather_vm_facts, set_vm_power_state, wait_for_vm_ip_address)
|
||||
gather_vm_params, gather_vm_facts, set_vm_power_state,
|
||||
wait_for_vm_ip_address)
|
||||
|
||||
|
||||
class XenServerVM(XenServerObject):
|
||||
|
|
|
@ -96,8 +96,8 @@ content:
|
|||
'''
|
||||
import json
|
||||
|
||||
from ansible_collections.community.general.plugins.module_utils.network.a10.a10 import (axapi_call, a10_argument_spec, axapi_authenticate, axapi_failure, axapi_get_port_protocol,
|
||||
axapi_enabled_disabled, AXAPI_PORT_PROTOCOLS)
|
||||
from ansible_collections.community.general.plugins.module_utils.network.a10.a10 import (axapi_call, a10_argument_spec, axapi_authenticate, axapi_failure,
|
||||
axapi_get_port_protocol, axapi_enabled_disabled, AXAPI_PORT_PROTOCOLS)
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible.module_utils.urls import url_argument_spec
|
||||
|
||||
|
|
|
@ -113,7 +113,8 @@ content:
|
|||
'''
|
||||
import json
|
||||
|
||||
from ansible_collections.community.general.plugins.module_utils.network.a10.a10 import (axapi_call, a10_argument_spec, axapi_authenticate, axapi_failure, axapi_enabled_disabled)
|
||||
from ansible_collections.community.general.plugins.module_utils.network.a10.a10 import (axapi_call, a10_argument_spec, axapi_authenticate,
|
||||
axapi_failure, axapi_enabled_disabled)
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible.module_utils.urls import url_argument_spec
|
||||
|
||||
|
|
|
@ -102,7 +102,8 @@ content:
|
|||
import json
|
||||
|
||||
from ansible_collections.community.general.plugins.module_utils.network.a10.a10 import (axapi_call, a10_argument_spec, axapi_authenticate, axapi_failure,
|
||||
axapi_enabled_disabled, axapi_get_vport_protocol, AXAPI_VPORT_PROTOCOLS)
|
||||
axapi_enabled_disabled, axapi_get_vport_protocol,
|
||||
AXAPI_VPORT_PROTOCOLS)
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible.module_utils.urls import url_argument_spec
|
||||
|
||||
|
|
|
@ -409,7 +409,7 @@ download:
|
|||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.community.general.plugins.module_utils.network.ingate.common import (ingate_argument_spec,
|
||||
ingate_create_client)
|
||||
ingate_create_client)
|
||||
|
||||
try:
|
||||
from ingate import ingatesdk
|
||||
|
|
|
@ -124,8 +124,8 @@ unit-information:
|
|||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible.module_utils._text import to_native
|
||||
from ansible_collections.community.general.plugins.module_utils.network.ingate.common import (ingate_argument_spec,
|
||||
ingate_create_client,
|
||||
is_ingatesdk_installed)
|
||||
ingate_create_client,
|
||||
is_ingatesdk_installed)
|
||||
|
||||
try:
|
||||
from ingate import ingatesdk
|
||||
|
|
|
@ -113,7 +113,8 @@ diff:
|
|||
'''
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.community.general.plugins.module_utils.network.netscaler.netscaler import ConfigProxy, get_nitro_client, netscaler_common_arguments, log, loglines, ensure_feature_is_enabled
|
||||
from ansible_collections.community.general.plugins.module_utils.network.netscaler.netscaler import (ConfigProxy, get_nitro_client, netscaler_common_arguments,
|
||||
log, loglines, ensure_feature_is_enabled)
|
||||
try:
|
||||
from nssrc.com.citrix.netscaler.nitro.resource.config.cs.cspolicy import cspolicy
|
||||
from nssrc.com.citrix.netscaler.nitro.exception.nitro_exception import nitro_exception
|
||||
|
|
|
@ -158,8 +158,10 @@ except ImportError as e:
|
|||
PYTHON_SDK_IMPORTED = False
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.community.general.plugins.module_utils.network.netscaler.netscaler import ConfigProxy, get_nitro_client, netscaler_common_arguments, log, loglines, \
|
||||
get_immutables_intersection
|
||||
from ansible_collections.community.general.plugins.module_utils.network.netscaler.netscaler import (ConfigProxy, get_nitro_client,
|
||||
netscaler_common_arguments,
|
||||
log, loglines,
|
||||
get_immutables_intersection)
|
||||
|
||||
|
||||
def server_exists(client, module):
|
||||
|
|
|
@ -427,8 +427,8 @@ except ImportError as e:
|
|||
PYTHON_SDK_IMPORTED = False
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.community.general.plugins.module_utils.network.netscaler.netscaler import (ConfigProxy, get_nitro_client, netscaler_common_arguments, log, loglines,
|
||||
get_immutables_intersection)
|
||||
from ansible_collections.community.general.plugins.module_utils.network.netscaler.netscaler import (ConfigProxy, get_nitro_client, netscaler_common_arguments,
|
||||
log, loglines, get_immutables_intersection)
|
||||
|
||||
|
||||
def service_exists(client, module):
|
||||
|
|
|
@ -398,8 +398,8 @@ diff:
|
|||
from ansible.module_utils.basic import AnsibleModule
|
||||
import copy
|
||||
|
||||
from ansible_collections.community.general.plugins.module_utils.network.netscaler.netscaler import ConfigProxy, get_nitro_client, netscaler_common_arguments, log, \
|
||||
loglines, get_immutables_intersection
|
||||
from ansible_collections.community.general.plugins.module_utils.network.netscaler.netscaler import (ConfigProxy, get_nitro_client, netscaler_common_arguments,
|
||||
log, loglines, get_immutables_intersection)
|
||||
try:
|
||||
from nssrc.com.citrix.netscaler.nitro.resource.config.basic.servicegroup import servicegroup
|
||||
from nssrc.com.citrix.netscaler.nitro.resource.config.basic.servicegroup_servicegroupmember_binding import servicegroup_servicegroupmember_binding
|
||||
|
|
|
@ -152,8 +152,8 @@ except ImportError as e:
|
|||
PYTHON_SDK_IMPORTED = False
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.community.general.plugins.module_utils.network.netscaler.netscaler import ConfigProxy, get_nitro_client, netscaler_common_arguments, log, loglines, \
|
||||
get_immutables_intersection
|
||||
from ansible_collections.community.general.plugins.module_utils.network.netscaler.netscaler import (ConfigProxy, get_nitro_client, netscaler_common_arguments,
|
||||
log, loglines, get_immutables_intersection)
|
||||
|
||||
|
||||
def key_exists(client, module):
|
||||
|
|
|
@ -79,7 +79,7 @@ RETURN = '''
|
|||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.community.general.plugins.module_utils.ibm_sa_utils import (execute_pyxcli_command, connect_ssl,
|
||||
spectrum_accelerate_spec, is_pyxcli_installed)
|
||||
spectrum_accelerate_spec, is_pyxcli_installed)
|
||||
|
||||
|
||||
def main():
|
||||
|
|
|
@ -94,7 +94,7 @@ RETURN = '''
|
|||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.community.general.plugins.module_utils.ibm_sa_utils import (execute_pyxcli_command,
|
||||
connect_ssl, spectrum_accelerate_spec, is_pyxcli_installed)
|
||||
connect_ssl, spectrum_accelerate_spec, is_pyxcli_installed)
|
||||
|
||||
|
||||
def main():
|
||||
|
|
|
@ -18,7 +18,7 @@ module: na_cdot_aggregate
|
|||
|
||||
short_description: Manage NetApp cDOT aggregates.
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.na_ontap
|
||||
- community.general.netapp.ontap
|
||||
|
||||
author: Sumit Kumar (@timuster) <sumit4@netapp.com>
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ module: na_cdot_license
|
|||
|
||||
short_description: Manage NetApp cDOT protocol and feature licenses
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.na_ontap
|
||||
- community.general.netapp.ontap
|
||||
|
||||
author: Sumit Kumar (@timuster) <sumit4@netapp.com>
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ module: na_cdot_lun
|
|||
|
||||
short_description: Manage NetApp cDOT luns
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.na_ontap
|
||||
- community.general.netapp.ontap
|
||||
|
||||
author: Sumit Kumar (@timuster) <sumit4@netapp.com>
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ module: na_cdot_qtree
|
|||
|
||||
short_description: Manage qtrees
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.na_ontap
|
||||
- community.general.netapp.ontap
|
||||
|
||||
author: Sumit Kumar (@timuster) <sumit4@netapp.com>
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ module: na_cdot_svm
|
|||
|
||||
short_description: Manage NetApp cDOT svm
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.na_ontap
|
||||
- community.general.netapp.ontap
|
||||
|
||||
author: Sumit Kumar (@timuster) <sumit4@netapp.com>
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ module: na_cdot_user
|
|||
|
||||
short_description: useradmin configuration and management
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.na_ontap
|
||||
- community.general.netapp.ontap
|
||||
|
||||
author: Sumit Kumar (@timuster) <sumit4@netapp.com>
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ module: na_cdot_user_role
|
|||
|
||||
short_description: useradmin configuration and management
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.na_ontap
|
||||
- community.general.netapp.ontap
|
||||
|
||||
author: Sumit Kumar (@timuster) <sumit4@netapp.com>
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ module: na_cdot_volume
|
|||
|
||||
short_description: Manage NetApp cDOT volumes
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.na_ontap
|
||||
- community.general.netapp.ontap
|
||||
|
||||
author: Sumit Kumar (@timuster) <sumit4@netapp.com>
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ description:
|
|||
- This module will allow the owner of the system to specify email recipients for these messages.
|
||||
author: Michael Price (@lmprice)
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.eseries
|
||||
- community.general.netapp.eseries
|
||||
|
||||
options:
|
||||
state:
|
||||
|
|
|
@ -19,7 +19,7 @@ description:
|
|||
- Allows for the creation, removal and updating of Asynchronous Mirror Groups for NetApp E-series storage arrays
|
||||
author: Kevin Hulquest (@hulquest)
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.eseries
|
||||
- community.general.netapp.eseries
|
||||
|
||||
options:
|
||||
name:
|
||||
|
|
|
@ -19,7 +19,7 @@ description:
|
|||
- Allow the auto-support settings to be configured for an individual E-Series storage-system
|
||||
author: Michael Price (@lmprice)
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.eseries
|
||||
- community.general.netapp.eseries
|
||||
|
||||
options:
|
||||
state:
|
||||
|
|
|
@ -19,7 +19,7 @@ description:
|
|||
- This module allows an e-series storage system owner to set audit-log configuration parameters.
|
||||
author: Nathan Swartz (@ndswartz)
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.eseries
|
||||
- community.general.netapp.eseries
|
||||
|
||||
options:
|
||||
max_records:
|
||||
|
|
|
@ -20,7 +20,7 @@ description:
|
|||
author:
|
||||
- Nathan Swartz (@ndswartz)
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.eseries
|
||||
- community.general.netapp.eseries
|
||||
|
||||
options:
|
||||
firmware:
|
||||
|
|
|
@ -20,7 +20,7 @@ author:
|
|||
- Kevin Hulquest (@hulquest)
|
||||
- Nathan Swartz (@ndswartz)
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.eseries
|
||||
- community.general.netapp.eseries
|
||||
|
||||
'''
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ description:
|
|||
author:
|
||||
- Nathan Swartz (@ndswartz)
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.eseries
|
||||
- community.general.netapp.eseries
|
||||
|
||||
options:
|
||||
nvsram:
|
||||
|
|
|
@ -19,7 +19,7 @@ description:
|
|||
- Allow the user to configure several of the global settings associated with an E-Series storage-system
|
||||
author: Michael Price (@lmprice)
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.eseries
|
||||
- community.general.netapp.eseries
|
||||
|
||||
options:
|
||||
name:
|
||||
|
|
|
@ -20,7 +20,7 @@ author:
|
|||
- Kevin Hulquest (@hulquest)
|
||||
- Nathan Swartz (@ndswartz)
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.eseries
|
||||
- community.general.netapp.eseries
|
||||
|
||||
options:
|
||||
name:
|
||||
|
|
|
@ -22,7 +22,7 @@ author:
|
|||
- Nathan Swartz (@ndswartz)
|
||||
description: Create, update or destroy host groups on a NetApp E-Series storage array.
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.eseries
|
||||
- community.general.netapp.eseries
|
||||
|
||||
options:
|
||||
state:
|
||||
|
|
|
@ -19,7 +19,7 @@ description:
|
|||
- Configure settings of an E-Series iSCSI interface
|
||||
author: Michael Price (@lmprice)
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.eseries
|
||||
- community.general.netapp.eseries
|
||||
|
||||
options:
|
||||
controller:
|
||||
|
|
|
@ -19,7 +19,7 @@ description:
|
|||
- Configure the settings of an E-Series iSCSI target
|
||||
author: Michael Price (@lmprice)
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.eseries
|
||||
- community.general.netapp.eseries
|
||||
|
||||
options:
|
||||
name:
|
||||
|
|
|
@ -19,7 +19,7 @@ description:
|
|||
- Configure an E-Series system to allow authentication via an LDAP server
|
||||
author: Michael Price (@lmprice)
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.eseries
|
||||
- community.general.netapp.eseries
|
||||
|
||||
options:
|
||||
state:
|
||||
|
|
|
@ -21,7 +21,7 @@ short_description: NetApp E-Series create, delete, or modify lun mappings
|
|||
description:
|
||||
- Create, delete, or modify mappings between a volume and a targeted host/host+ group.
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.eseries
|
||||
- community.general.netapp.eseries
|
||||
|
||||
options:
|
||||
state:
|
||||
|
|
|
@ -21,7 +21,7 @@ author:
|
|||
- Michael Price (@lmprice)
|
||||
- Nathan Swartz (@ndswartz)
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.eseries
|
||||
- community.general.netapp.eseries
|
||||
|
||||
options:
|
||||
state:
|
||||
|
|
|
@ -20,7 +20,7 @@ author:
|
|||
- Kevin Hulquest (@hulquest)
|
||||
- Nathan Swartz (@ndswartz)
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.eseries
|
||||
- community.general.netapp.eseries
|
||||
|
||||
options:
|
||||
state:
|
||||
|
|
|
@ -19,7 +19,7 @@ description:
|
|||
- Allow the syslog settings to be configured for an individual E-Series storage-system
|
||||
author: Nathan Swartz (@ndswartz)
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.eseries
|
||||
- community.general.netapp.eseries
|
||||
|
||||
options:
|
||||
state:
|
||||
|
|
|
@ -21,7 +21,7 @@ author:
|
|||
- Kevin Hulquest (@hulquest)
|
||||
- Nathan Swartz (@ndswartz)
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.eseries
|
||||
- community.general.netapp.eseries
|
||||
|
||||
options:
|
||||
state:
|
||||
|
|
|
@ -20,7 +20,7 @@ description:
|
|||
- Create and delete snapshots images on volume groups for NetApp E-series storage arrays.
|
||||
author: Kevin Hulquest (@hulquest)
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.eseries
|
||||
- community.general.netapp.eseries
|
||||
|
||||
options:
|
||||
api_username:
|
||||
|
|
|
@ -21,7 +21,7 @@ deprecated:
|
|||
alternative: please use M(na_elementsw_account)
|
||||
short_description: Manage SolidFire accounts
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.solidfire
|
||||
- community.general.netapp.solidfire
|
||||
|
||||
author: Sumit Kumar (@timuster) <sumit4@netapp.com>
|
||||
description:
|
||||
|
|
|
@ -21,7 +21,7 @@ deprecated:
|
|||
alternative: please use M(na_elementsw_check_connections)
|
||||
short_description: Check connectivity to MVIP and SVIP.
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.solidfire
|
||||
- community.general.netapp.solidfire
|
||||
|
||||
author: Sumit Kumar (@timuster) <sumit4@netapp.com>
|
||||
description:
|
||||
|
|
|
@ -20,7 +20,7 @@ deprecated:
|
|||
alternative: please use M(na_elementsw_snapshot_schedule)
|
||||
short_description: Manage SolidFire snapshot schedules
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.solidfire
|
||||
- community.general.netapp.solidfire
|
||||
|
||||
author: Sumit Kumar (@timuster) <sumit4@netapp.com>
|
||||
description:
|
||||
|
|
|
@ -21,7 +21,7 @@ deprecated:
|
|||
alternative: please use M(na_elementsw_access_group)
|
||||
short_description: Manage SolidFire Volume Access Groups
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.solidfire
|
||||
- community.general.netapp.solidfire
|
||||
|
||||
author: Sumit Kumar (@timuster) <sumit4@netapp.com>
|
||||
description:
|
||||
|
|
|
@ -21,7 +21,7 @@ deprecated:
|
|||
alternative: please use M(na_elementsw_volume)
|
||||
short_description: Manage SolidFire volumes
|
||||
extends_documentation_fragment:
|
||||
- netapp.ontap.netapp.solidfire
|
||||
- community.general.netapp.solidfire
|
||||
|
||||
author: Sumit Kumar (@timuster) <sumit4@netapp.com>
|
||||
description:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue