Skip to main content

HPE Storage Flowkit

Project description

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hpe_storage_flowkit_py-0.9.2.tar.gz (161.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hpe_storage_flowkit_py-0.9.2-py2.py3-none-any.whl (251.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file hpe_storage_flowkit_py-0.9.2.tar.gz.

File metadata

  • Download URL: hpe_storage_flowkit_py-0.9.2.tar.gz
  • Upload date:
  • Size: 161.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for hpe_storage_flowkit_py-0.9.2.tar.gz
Algorithm Hash digest
SHA256 fef001c3a76ad61733c58b46aa86426b29b5042e3a75e2db023ab66a327263f6
MD5 2cc1d6b434f86ee774009eb30c550d06
BLAKE2b-256 3c79d806dbcb0ad306b3943ac7e938471b159727ff6eac918381fda46abf275e

See more details on using hashes here.

File details

Details for the file hpe_storage_flowkit_py-0.9.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for hpe_storage_flowkit_py-0.9.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2d45e0d2de85b56559815a2d69d921fe07e8af09603a6b6ee1b5abd95dfaaaa5
MD5 36185061a540d3533d7b8db32b55d12e
BLAKE2b-256 f0384c5b6869c755cfdbfb9f4eedb4dd8633ff990e43a63a7764ca3652f24fcd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page