{"id":18383517,"url":"https://github.com/aruba/central-python-workflows","last_synced_at":"2025-10-20T03:18:44.699Z","repository":{"id":94610963,"uuid":"209609624","full_name":"aruba/central-python-workflows","owner":"aruba","description":"Python workflows and examples for HPE Aruba Central","archived":false,"fork":false,"pushed_at":"2025-07-17T21:29:34.000Z","size":52163,"stargazers_count":53,"open_issues_count":4,"forks_count":30,"subscribers_count":23,"default_branch":"v2(pre-release)","last_synced_at":"2025-07-18T01:52:38.118Z","etag":null,"topics":["api","automation","campus-network","central","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aruba.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-09-19T17:17:25.000Z","updated_at":"2025-07-17T21:29:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"ff1a6dac-c152-4ff5-9637-55305abbf961","html_url":"https://github.com/aruba/central-python-workflows","commit_stats":null,"previous_names":["aruba/central-python-workflows","aruba/central-examples-only"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/aruba/central-python-workflows","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aruba%2Fcentral-python-workflows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aruba%2Fcentral-python-workflows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aruba%2Fcentral-python-workflows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aruba%2Fcentral-python-workflows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aruba","download_url":"https://codeload.github.com/aruba/central-python-workflows/tar.gz/refs/heads/v2(pre-release)","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aruba%2Fcentral-python-workflows/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265716306,"owners_count":23816354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","automation","campus-network","central","python3"],"created_at":"2024-11-06T01:11:44.123Z","updated_at":"2025-10-20T03:18:44.673Z","avatar_url":"https://github.com/aruba.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# central-python-workflows\n\u003e [!NOTE]\n\u003e If you’re looking for Classic Central workflows, please click [here](/Classic-Central/)\n\nThis 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.\nIt leverages the [pycentral SDK](https://pypi.org/project/pycentral/) to interact with Central’s APIs and extensibility features.\n\nEach folder represents a self-contained workflow. Inside each, you’ll find:\n- A dedicated README.md explaining the purpose and usage of the workflow\n- All required scripts, data files (like CSVs), and Postman collections (if applicable)\n- Clear setup and execution instructions\n\n## New Central Workflows\n\u003e [!CAUTION]\n\u003e The workflows in this section use pre-release versions of the **pycentral** library and are intended primarily for New Central, currently in Public Preview.\n\u003e Please note:\n\u003e - APIs and SDK behavior may change as the new Central platform evolves with each release.\n\u003e - Some workflows may break or require updates with future SDK changes.\\\n\u003e \n\u003eWe 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.\n\n### [Onboarding](/device-onboarding/)\nThis 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**.\n\n**Phase 1: GLP (GreenLake Platform) Onboarding** *(Optional)*\n- Application assignment to HPE Aruba Networking Central instances\n- Subscription license assignment using subscription keys\n\n**Phase 2: Central Onboarding** *(Required)*\n- Site creation and device assignment\n- Device persona configuration\n- Device group management and assignment\n- Provisioning verification\n\n### [Ping and iPerf Troubleshooting Workflow](/troubleshooting-workflow/)\nThis 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.\n\n### [Tunnelled SSID Workflow](/tunneled-ssid-overlays/)\nThis workflow can:\n- Creates config profiles such as roles and policies in New Central\n- Creates SSID configurations with associated roles\n- Modify policy group and create overlay WLAN profiles\n- Assigns these configurations to the appropriate scopes (global or group)\n- Associates devices with sites based on the inventory configuration\n\n### [Open SSID Workflow](/open-ssid-overlay/)\nThis Python script automates the configuration of an **Open SSID (Opportunistic Wireless Encryption)** in New HPE Aruba Networking Central. The script performs the following actions:\n- Creates configuration profiles such as roles and policies in New Central.\n- Modifies policy groups and associates policies with them.\n- Creates Open SSID configurations with associated roles.\n- Assigns these configurations to the appropriate scopes (site or global).\n- Moves devices into site with Open SSID configuration to inherit profile.\n\n### [WPA3 PSK Workflow](/wpa3-psk-overlay/)\nThis 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.\n\n### [Configuration Hierarchy Report](/configuration-hierarchy/)\nThis script simplifies the visualization of the configuration hierarchy in New Central via APIs. It retrieves and displays hierarchical data such as:\n - Global\n - Site collections\n - Sites\n - Devices\n\nYou’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.\n\n### [Client Disconnection](/client-disconnect/)\nThis workflow is used to disconnect client devices from a network managed by Central. It verifies that the clients are active, matches them by MAC address, and then sends a disconnect request to the device that the client is connected to. This is useful when you want to quickly remove clients from accessing your network.\n\n### [Rename Hostnames](/rename-hostnames/)\nThis 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.\n\n### [Profile Operations](/profile-operations/)\nThis workflow showcases how to connect to Central and demonstrates the two main approaches to profile operations with Pycentral:\n- Connecting to Central with the Pycentral base object\n- Individual Profile Operations\n- Bulk Profile Operations\n\n## HPE Greenlake Platform Workflows\n\n### [Onboarding](/glp-device-onboarding/)\nThis workflow can automate the following onboarding steps:\n- Assign Devices to Application\n- Apply Subscription to Devices\nAlong with the Python script, there is also a [Postman collection](/glp-device-onboarding/Postman-Collection/) for the same workflow which is available in the folder.\n\n## Classic Central Workflows\n- [Device Provisioning](/Classic-Central/device_provisioning/)\n- [Device Onboarding](/Classic-Central/device_onboarding/)\n- [MSP Customer Onboarding](/Classic-Central/msp_customer_onboarding/)\n- [MSP Customer Deletion](/Classic-Central/msp_customer_deletion/)\n- [Inventory to Excel Workflows](/Classic-Central/inventory_to_excel/)\n- [AP CLI Workflows](/Classic-Central/ap_config/)\n- [WLAN Workflows](/Classic-Central/wlan_config/)\n- [Detailed Central Device Inventory](/Classic-Central/detailed_central_device_inventory/)\n- [Device Inventory Migration](/Classic-Central/device_inventory_migration/)\n- [User Provisioning](/Classic-Central/user_provisioning/)\n- [Bulk Renaming of APs (with CSV)](/Classic-Central/renaming_aps/)\n- [Connected Clients](/Classic-Central/connected_clients/)\n- [Classic Central Postman Collection](https://www.postman.com/hpe-aruba-networking/workspace/hpe-aruba-networking-central/overview)\n- [Streaming API Websocket Client Application](/Classic-Central/streaming-api-client/)\n- [Webhook Client application](/Classic-Central/webhooks/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faruba%2Fcentral-python-workflows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faruba%2Fcentral-python-workflows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faruba%2Fcentral-python-workflows/lists"}