HomeGuidesAPI Reference
GuidesAPI ReferenceGitHubAirheads Developer Community
Guides

Introduction

For working with New Central APIs, we provide a Python SDK, which simplifies API calls and authentication.

What is PyCentral ?

PyCentral is an SDK designed to help users interact with New Central & HPE Greenlake(GLP) via REST APIs. It provides a simplified way to authenticate, manage API requests, and methods to authenticate, send API requests, and retrieve New Central data efficiently.

By using PyCentral, users can avoid dealing with low-level HTTP requests and focus on building comprehensive automation solutions using the extensive APIs provided by New Central

PyCentral Versions

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

  • PyCentral-V1 -> Supports Classic Aruba Central
  • PyCentral-V2 (pre-release) -> Supports New Aruba Central, HPE GreenLake Platform(GLP)
    • Also supports Classic Central, ensuring a smooth for existing users

🚧

Note

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

Key benefits of V2

  • Backward Compatibility with PyCentral-V1
    Upgrading from V1 to V2 is a seamless process, ensure that everything continues to function exactly as before - but with the added power of New Central & GLP APIs. This means your existing automation workflows remain intact while unlocking new possibilities.
  • Simplified Authentication
    PyCentral simplifies authentication across New Central, GLP, and Classic Central and enables users to seamlessly authenticate and make API calls.
  • Dedicated Modules for Configuration & Monitoring
    With New Central's enhanced and improved APIs, PyCentral-V2 supercharges automation with modules that leverage these capabilities for Configuration & Monitoring. Designed with scalability in mind, these modules enhance efficiency for both small-scale and enterprise deployments.
  • GLP API Support
    As HPE GreenLake(GLP) APIs are released, PyCentral-V2 includes support for GLP API calls to enable users to easily manage their devices, subscriptions, and users. PyCentral-V2 ensures users can integrate both New Central and GLP APIs into their workflows