Note
If you’re looking for Classic Central workflows, please click here
This repository contains Python-based workflows, code samples, and where applicable, Postman collections to help automate and integrate with New Central and HPE GreenLake Platform (GLP) APIs. It leverages the pycentral SDK to interact with Central’s APIs and extensibility features.
Each folder represents a self-contained workflow. Inside each, you’ll find:
- A dedicated README.md explaining the purpose and usage of the workflow
- All required scripts, data files (like CSVs), and Postman collections (if applicable)
- Clear setup and execution instructions
Caution
The workflows in this section use pre-release versions of the pycentral library and are intended primarily for New Central, currently in Public Preview. Please note:
- APIs and SDK behavior may change as the new Central platform evolves with each release.
- Some workflows may break or require updates with future SDK changes.\
We will make every effort to keep these workflows up to date. If you encounter any issues or inconsistencies, please open an issue in this repository.
This script automates the complete onboarding journey of factory-default devices in HPE Aruba Networking Central. It takes devices from an unassigned state in GreenLake Platform (GLP) through both GLP onboarding and Central onboarding to make them ready for configuration via New Central.
Phase 1: GLP (GreenLake Platform) Onboarding (Optional)
- Application assignment to HPE Aruba Networking Central instances
- Subscription license assignment using subscription keys
Phase 2: Central Onboarding (Required)
- Site creation and device assignment
- Device persona configuration
- Device group management and assignment
- Provisioning verification
This script automates network troubleshooting tasks using the new HPE Aruba Networking Central APIs. The workflow performs comprehensive connectivity testing by executing ping tests and iPerf bandwidth tests on gateway devices to validate network performance and connectivity.
This workflow can:
- Creates config profiles such as roles and policies in New Central
- Creates SSID configurations with associated roles
- Modify policy group and create overlay WLAN profiles
- Assigns these configurations to the appropriate scopes (global or group)
- Associates devices with sites based on the inventory configuration
This Python script automates the configuration of an Open SSID (Opportunistic Wireless Encryption) in New HPE Aruba Networking Central. The script performs the following actions:
- Creates configuration profiles such as roles and policies in New Central.
- Modifies policy groups and associates policies with them.
- Creates Open SSID configurations with associated roles.
- Assigns these configurations to the appropriate scopes (site or global).
- Moves devices into site with Open SSID configuration to inherit profile.
This Python script automates the configuration of a WPA3 PSK (Wi-Fi Protected Access 3 - Pre-Shared Key) in New HPE Aruba Networking Central. It creates configuration profiles such as roles and policies in New Central, modifies policy groups and associates policies with them, and generates WPA3 PSK configurations with associated roles. Additionally, it assigns these configurations to the appropriate scopes, whether site or global, and moves devices into the site with the WPA3 PSK configuration to ensure they inherit the profile.
This script simplifies the visualization of the configuration hierarchy in New Central via APIs. It retrieves and displays hierarchical data such as:
- Global
- Site collections
- Sites
- Devices
You’ll get this data in a terminal-friendly summary as well as in a CSV file, with key attributes like scope-id and persona which are required for configuration and monitoring APIs.
This script can help you rename the hostname of devices. You can provide a CSV file containing device serial numbers and their corresponding new hostnames. The script reads this file and updates each device's hostname in Central accordingly, automating the renaming process at scale.
This workflow showcases how to connect to Central and demonstrates the two main approaches to profile operations with Pycentral:
- Connecting to Central with the Pycentral base object
- Individual Profile Operations
- Bulk Profile Operations
This workflow can automate the following onboarding steps:
- Assign Devices to Application
- Apply Subscription to Devices Along with the Python script, there is also a Postman collection for the same workflow which is available in the folder.
- Device Provisioning
- Device Onboarding
- MSP Customer Onboarding
- MSP Customer Deletion
- Inventory to Excel Workflows
- AP CLI Workflows
- WLAN Workflows
- Detailed Central Device Inventory
- Device Inventory Migration
- User Provisioning
- Bulk Renaming of APs (with CSV)
- Connected Clients
- Classic Central Postman Collection
- Streaming API Websocket Client Application
- Webhook Client application