How hewlettpackard/hpe3par_ansible_module works
This repository provides Ansible modules and example playbooks for provisioning and managing HPE Alletra, Primera, and 3PAR storage through the Python SDK and array WSAPI. The principal workflow is an operator running a playbook that invokes a module to configure storage and returns the result through Ansible. Modules cover capacity pools, volumes, hosts and sets, exports, clones, snapshots, QoS, flash cache, and remote copy. Several module bodies and playbooks were not sampled, so their links are shown only where documented or marked unverified.
Main entry points: playbooks Example playbooks · hpe3par_cpg.py Capacity pools · hpe3par_volume.py Volumes · hpe3par_volumeset.py Volume sets
Components 17
Ansible orchestration
- Example playbooks
playbooks - Ansible module runtime
Provisioning resources
- Capacity pools
Modules/hpe3par_cpg.py - Volumes
Modules/hpe3par_volume.py - Volume sets
Modules/hpe3par_volumeset.py
Hosts and access
- Hosts
Modules/hpe3par_host.py - Host sets
Modules/hpe3par_hostset.py - VLUN exports
Modules/hpe3par_vlun.py
Data services
- Offline clones
Modules/hpe3par_offline_clone.py - Online clones
Modules/hpe3par_online_clone.py - Snapshots and schedules
Modules/hpe3par_snapshot.py - QoS rules
Modules/hpe3par_qos.py - Flash cache
Modules/hpe3par_flash_cache.py - Remote copy
Modules/hpe3par_remote_copy.py
Other components
- Operator
- HPE Python SDK
- Storage array WSAPI
Connections 27
- Operator → Example playbooks: runs
README.md - Example playbooks → Ansible module runtime: invokes modules
- Ansible module runtime → Capacity pools: dispatches
- Ansible module runtime → Volumes: dispatches
- Ansible module runtime → Volume sets: dispatches
- Ansible module runtime → Hosts: dispatches
- Ansible module runtime → Host sets: dispatches
- Ansible module runtime → VLUN exports: dispatches
- Ansible module runtime → Offline clones: dispatches
- Ansible module runtime → Online clones: dispatches
- Ansible module runtime → Snapshots and schedules: dispatches
- Ansible module runtime → QoS rules: dispatches
- Ansible module runtime → Flash cache: dispatches
- Ansible module runtime → Remote copy: dispatches
- Capacity pools → HPE Python SDK: calls
- Volumes → HPE Python SDK: calls
Modules/hpe3par_volume.py - Volume sets → HPE Python SDK: calls
Modules/hpe3par_volumeset.py - Hosts → HPE Python SDK: calls
Modules/hpe3par_host.py - Host sets → HPE Python SDK: calls
Modules/hpe3par_hostset.py - VLUN exports → HPE Python SDK: calls
Modules/hpe3par_vlun.py - Offline clones → HPE Python SDK: calls
Modules/hpe3par_offline_clone.py - Online clones → HPE Python SDK: calls
Modules/hpe3par_online_clone.py - Snapshots and schedules → HPE Python SDK: calls
Modules/hpe3par_snapshot.py - QoS rules → HPE Python SDK: calls
Modules/hpe3par_qos.py - Remote copy → HPE Python SDK: calls
Modules/hpe3par_remote_copy.py - HPE Python SDK → Storage array WSAPI: uses WSAPI
README.md - Flash cache → HPE Python SDK: calls