This workflow allows users to onboard devices to the Aruba Central application from Greenlake's device inventory & deploy them using a group and site using a Python script that utilizes the PyCentral library. This script automates the complete device onboarding workflow. This workflow is an enhanced version of the Device Provisioning workflow
The script assigns devices to the Central application from HPE Greenlake's device inventory.
Once devices are assigned to a Central Application, the script assigns Aruba Central subscriptions to the devices.
The script creates a group on Aruba Central. A group is the primary configuration element that functions as a container for device management, monitoring, and maintenance. The group that the script creates is a CLI-based configuration template group
After the group is created it has to be provided with configuration. The script uploads template files that hold CLI-based configuration. The script allows each device type(for eg. AP, CX-Switch, etc.) to have one configuration file.
After the group is configured, devices can be moved into it. These devices will get the configuration as defined in the group.
While groups handle configuration, a site in Aruba Central refers to a physical location where a set of devices are installed. The script creates a site to indicate where the devices will be located.
After the site is created, the script then associates the devices to the site. This indicates to Aruba Central that the physical location of the devices.
As a user, you only need to input details in the following files before running the script
central_token.json-> This file has the Aruba Central API Gateway Base URL & Access Token. These details are needed for the script to connect with Aruba Central via REST APIs
workflow_variables.json-> This file has the following details relevant to the workflow-
- Group - Details of the group like name, attributes, & configuration file paths.
- Site - Details of the site like name & address
- Device - Details of devices like serial numbers, mac address & central subscription type.
You can find the complete script & installation instructions for this workflow here.
Please check out other Central workflows utilizing PyCentral in central-python-workflows GitHub repository.
Updated 3 months ago