HomeGuidesAPI ReferenceGuidesMRT APIConfiguration API
GitHubAirheads Developer Community
Guides

Introduction

What is PyCentral ?

PyCentral is a Python SDK that makes it easier to interact with HPE Aruba Networking Central and the HPE GreenLake Platform (GLP) through REST APIs. Instead of building and managing low-level HTTP requests, developers can:

  • Authenticate securely
  • Configure and manage devices and subscriptions
  • Monitor performance and collect analytics
  • Run troubleshooting workflows

PyCentral handles authentication, request formatting, and error handling, while exposing simple Python functions. This lets you configure, monitor, and troubleshoot your network without dealing with raw REST API calls.

Key Benefits of PyCentral

PyCentral(v2) is the latest version of the SDK, designed for compatibility and simplicity:

  • Backwards Compatible → Works with PyCentral v1 scripts, with no breaking changes.
  • Multi-Platform Support → Works across Classic Central, New Central, and GLP.
  • Simplified Token Management → Built-in OAuth2.0 support (no manual refresh needed).
  • Simplified Automation → Modules for configuration, monitoring, devices, subscriptions, and troubleshooting.

PyCentral Versions

🚧

Note

PyCentral-v2 is currently in pre-release, and we welcome feedback here as we continue improving it.

Today, there are two versions of PyCentral, each designed for different versions of HPE Aruba Networking Central -

VersionSupportsNotes
v1HPE Aruba Networking Central (Classic Central)Legacy Version
v2(pre-release)HPE Aruba Networking Central(new Central), GLP, HPE Aruba Networking Central (Classic Central)Backwards compatible with v1

Next Steps

  • Continue to the Quickstart Guide to install PyCentral-v2 and run your first script.
  • Browse example workflows on GitHub.
  • Explore the PyCentral ReadtheDocs for module documentation.

What’s Next