Skip to main content

HPE Storage FlowKit (Python)

A Python client library for interacting with HPE Alletra MP storage arrays.

Overview

HPE Storage FlowKit is a comprehensive Python client designed to interact with the HPE Alletra MP storage platform. It provides a simple and intuitive API for automating configuration, management, and monitoring tasks via the array's REST web service interface (WSAPI).

The library provides control over high-level service clients (Cinder) for common integration scenarios.

Requirements

To use this library, your environment must meet the following requirements:

  • HPE Alletra MP OS: Version 10.5 or later
  • Python: Version 3.10 or later
  • Network Access: HTTPS connectivity to the storage array's management interface
  • WSAPI Service: Must be enabled on the storage array

Ensure the WSAPI service is enabled on the storage array before using the client.

Installation

pip install hpe-storage-flowkit-py

Capabilities

Volume Operations

  • Create Volume
  • Delete Volume
  • Modify Volume
  • Grow Volume
  • Tune Volume
  • Extend Volume
  • Create Cloned Volume
  • Migrate Volume
  • Retype Volume

Volume Set Operations

  • Create Volume Set
  • Delete Volume Set
  • Modify Volume Set
  • Add Volumes to Volume Set
  • Remove Volumes from Volume Set

Snapshot Operations

  • Create Snapshot
  • Modify Snapshot
  • Delete Snapshot
  • Restore Offline Snapshot
  • Restore Online Snapshot
  • Revert to Snapshot
  • Create Volume from Snapshot
  • Create Snapshot Schedule
  • Modify Snapshot Schedule
  • Suspend Snapshot Schedule
  • Resume Snapshot Schedule
  • Delete Snapshot Schedule

Online Clone Operations

  • Create Online Clone
  • Delete Online Clone

Offline Clone Operations

  • Create Offline Clone
  • Delete Offline Clone
  • Resync Offline Clone
  • Stop Offline Clone

CPG Operations

  • Create CPG
  • Delete CPG
  • Get CPG

Host Operations

  • Create Host
  • Delete Host
  • Modify Host
  • Add FC Path to Host
  • Remove FC Path from Host
  • Add iSCSI Path to Host
  • Remove iSCSI Path from Host
  • Add Initiator CHAP
  • Remove Initiator CHAP
  • Add Target CHAP
  • Remove Target CHAP

Host Set Operations

  • Create Host Set
  • Delete Host Set
  • Add Hosts to Host Set
  • Remove Hosts from Host Set

VLUN Operations

  • Export Volume to Host
  • Export Volume to Host Set
  • Export Volume Set to Host
  • Export Volume Set to Host Set
  • Unexport Volume from Host
  • Unexport Volume from Host Set
  • Unexport Volume Set from Host
  • Unexport Volume Set from Host Set
  • Terminate Connection

QoS Operations

  • Create QoS Rule
  • Modify QoS Rule
  • Delete QoS Rule
  • Get QoS Rule
  • List QoS Rules

Remote Copy Operations

  • Create Remote Copy Group
  • Delete Remote Copy Group
  • Modify Remote Copy Group
  • Add Volume to Remote Copy Group
  • Remove Volume from Remote Copy Group
  • Start Remote Copy Group
  • Stop Remote Copy Group
  • Synchronize Remote Copy Group
  • Admit Remote Copy Link
  • Dismiss Remote Copy Link
  • Admit Remote Copy Target
  • Dismiss Remote Copy Target
  • Start Remote Copy Service
  • Get Remote Copy Status
  • Failover Replication
  • Failover Host

Group Operations

  • Create Group
  • Delete Group
  • Update Group
  • Create Group from Source
  • Create Group Snapshot
  • Delete Group Snapshot

System Configuration

  • Configure DNS Network
  • Configure Date/Time (NTP)

User Management

  • Create User
  • Modify User
  • Delete User
  • Get User
  • Get All Users

Certificate Management

  • Create Certificate
  • Patch Certificate
  • Patch Certificate by Name
  • Delete Certificate
  • Delete Certificate by Name
  • Get Certificate
  • Get Certificate by Name
  • Get All Certificates

Alert Management

  • Get Alerts
  • Generate Test Alert

Storage Management

  • Manage Existing Volume
  • Unmanage Volume
  • Get Manageable Volumes
  • Manage Existing Snapshot
  • Unmanage Snapshot
  • Get Manageable Snapshots
  • Get Volume Statistics

Testing

Prerequisites

Install the required testing dependencies:

pip install pytest mock

Running Unit Tests

Run all tests:

python3 -m pytest v1/test v3/test --import-mode=importlib

Run a specific test file:

python3 -m pytest v3/test/<test_file_name.py> --import-mode=importlib

For example:

python3 -m pytest v3/test/test_volume.py --import-mode=importlib

Run a specific test method:

python3 -m pytest v3/test/<test_file_name.py>::TestClassName::test_method_name --import-mode=importlib

Note: Make sure to run the commands from inside the hpe_storage_flowkit_py directory.

License

This project is released under the Apache License 2.0.

See LICENSE.txt for full license details.


Copyright (c) 2026 Hewlett Packard Enterprise Development LP

Metadata

Release files for hpe-storage-flowkit-py 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hpe-storage-flowkit-py 1.0.1
File Size Uploaded
hpe_storage_flowkit_py-1.0.1.tar.gz 175.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hpe-storage-flowkit-py 1.0.1
File Interpreter ABI Platform
hpe_storage_flowkit_py-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 440.0 kB

Release files / hpe_storage_flowkit_py-1.0.1.tar.gz

Download URL hpe_storage_flowkit_py-1.0.1.tar.gz
Size 175.7 kB
Tags Source
SHA-256 checksum
How to use checksums
341402a241f673cfc73f09c070c40380d9066c983bec8d78e64c38c3dd6dc7a9
BLAKE2b-256 checksum
How to use checksums
817b6256e2104c4a09e5efa9af7a594be57d389346d3e8465d1087f0bd2b522e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / hpe_storage_flowkit_py-1.0.1-py3-none-any.whl

Download URL hpe_storage_flowkit_py-1.0.1-py3-none-any.whl
Size 264.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84f5165ee127ed83b98f0596d6d17f1fdd08e6be89ffcfa2cf7c852c7288bc33
BLAKE2b-256 checksum
How to use checksums
0a3da2a79a1465c250853ce321e12943668869c2a00e4925f9f1983c72029ac0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

0.9.6

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9

2 release files

0.8.1

2 release files

0.8

2 release files

0.7

2 release files

0.6

2 release files

0.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page