The HPE Alletra 9000 ,HPE Alletra MP, HPE Primera and HPE 3PAR modules for Ansible enable automation of storage provisioning for the HPE Alletra MP, HPE Alletra 9000 and Primera and 3PAR array. The modules use the HPE Alletra 9000 , HPE AlletraMP, HPE Primera and HPE 3PAR SDK for Python to communicate with the storage array over the WSAPI REST interface.
library=/home/user/workspace/hpe3par_ansible/Modules
This is developed as a set of modules and example playbooks to provision the following:
- name: Create CPG "{{ cpg_name }}"
hpe3par_cpg:
storage_system_ip="{{ storage_system_ip }}"
storage_system_username="{{ storage_system_username }}"
storage_system_password="{{ storage_system_password }}"
state=present
cpg_name="{{ cpg_name }}"
domain="{{ domain }}"
growth_increment="{{ growth_increment }}"
growth_increment_unit="{{ growth_increment_unit }}"
growth_limit="{{ growth_limit }}"
growth_limit_unit="{{ growth_limit_unit }}"
growth_warning="{{ growth_warning }}"
growth_warning_unit="{{ growth_warning_unit }}"
raid_type="{{ raid_type }}"
set_size="{{ set_size }}"
high_availability="{{ high_availability }}"
disk_type="{{ disk_type }}"
- name: Delete CPG "{{ cpg_name }}"
hpe3par_cpg:
storage_system_ip="{{ storage_system_ip }}"
storage_system_username="{{ storage_system_username }}"
storage_system_password="{{ storage_system_password }}"
state=absent
Actions are Idempotent when they can be run multiple times on the same system and the results will always be identical, without producing unintended side effects.
The following actions are non-idempotent: