Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

aruba-client

Python client for the Aruba Central network monitoring API.

Uses MSP token exchange (RFC 8693) so a single set of MSP credentials can access all tenant workspaces; no per-tenant API keys needed. Returns typed pydantic models with a CentralResponse wrapper that keeps both the raw payload and a lazily-parsed model.

Tests Docs

Installation

pip install aruba-client

Quick start

export ARUBA_MSP_CLIENT_ID=...
export ARUBA_MSP_CLIENT_SECRET=...
export ARUBA_MSP_WORKSPACE_ID=...
export ARUBA_GREENLAKE_OAUTH_URL=https://sso.common.cloud.hpe.com/as/token.oauth2
from aruba_client import get_central_client, get_new_central_sites, get_new_central_aps

conn = get_central_client("My Tenant")
registry = get_new_central_sites(conn).parsed()
site = registry.find_by_name("My Site")
aps = get_new_central_aps(conn, site=site.id).parsed()

See the documentation for full API reference.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages