�
�Udac @` s� d d l m Z m Z m Z e Z i d g d 6d d 6d d 6Z d Z d Z d
Z d d l
m Z d d l m
Z
m Z m Z m Z d
� Z e d k r� e � n d S( i ( t absolute_importt divisiont print_functiont previewt statust communityt supported_bys 1.1t metadata_versions�
---
module: ibm_sa_pool
short_description: Handles pools on IBM Spectrum Accelerate Family storage systems.
version_added: "2.7"
description:
- "This module creates or deletes pools to be used on IBM Spectrum Accelerate Family storage systems"
options:
pool:
description:
- Pool name.
required: true
state:
description:
- Pool state.
required: true
default: "present"
choices: [ "present", "absent" ]
size:
description:
- Pool size in GB
required: false
snapshot_size:
description:
- Pool snapshot size in GB
required: false
domain:
description:
- Adds the pool to the specified domain.
required: false
perf_class:
description:
- Assigns a perf_class to the pool.
required: false
extends_documentation_fragment:
- ibm_storage
author:
- Tzur Eliyahu (@tzure)
s7
- name: Create new pool.
ibm_sa_pool:
name: pool_name
size: 300
state: present
username: admin
password: secret
endpoints: hostdev-system
- name: Delete pool.
ibm_sa_pool:
name: pool_name
state: absent
username: admin
password: secret
endpoints: hostdev-system
t
( t
AnsibleModule( t execute_pyxcli_commandt connect_sslt spectrum_accelerate_spect is_pyxcli_installedc C` s t � } | j t d t d d d d d g � d t d t � d t � d t � d
t � d t � � � t | � } t | � t | � } | j j d | j d � j
} | j d } t } | d k r� | r� t | d | � } n | d k r
| r
t | d
| � } n | j
d | � d S( Nt statet defaultt presentt choicest absentt poolt requiredt sizet
snapshot_sizet domaint
perf_classt pool_createt pool_deletet changed( R t updatet dictt TrueR R
R t cmdt pool_listt paramst as_single_elementt FalseR
t exit_json( t
argument_spect modulet xcli_clientR R t
state_changed( ( sK /usr/lib/python2.7/site-packages/ansible/modules/storage/ibm/ibm_sa_pool.pyt mainV s.
t __main__N( t
__future__R R R t typet
__metaclass__t ANSIBLE_METADATAt
DOCUMENTATIONt EXAMPLESt RETURNt ansible.module_utils.basicR t! ansible.module_utils.ibm_sa_utilsR
R R R
R) t __name__( ( ( sK /usr/lib/python2.7/site-packages/ansible/modules/storage/ibm/ibm_sa_pool.pyt <module> s
," !
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]