Network Management

Upcoming community maintenance Oct. 27th through Oct. 29th
For more info click here
Reply
Highlighted
Aruba Employee

Aruba Central API Gateway: a report with the list of APs and subscriptions per client in MSP view

This is an update of the former post available here: http://community.arubanetworks.com/t5/Network-Management/Aruba-Central-API-Gateway-and-how-to-create-a-CSV-file-using/td-p/311618 

 

Here I attach a Python script that will help us to get an Escel file (.cvs file) with the list of APs and subscriptions that every customer has been assigned in the MSP view.

 

It is an upgraded version of the former code. Now only a generated “access_token” is needed as an input. See the previous post, steps 1-3, if you are not sure how to get it.

 

It is important to point that in order to automate the “get request” operations I am using the non-GMO library for Python called “requests”, available here. It is necessary to install this library to run the attached code.

 

When running this script you must copy and paste the generated “access_token”:

 

script mejorado.png

 

As a result you get a .cvs file in the same path where you are running the script. This is an example of the generated file:

 ejemplo APs subscripciones.png

I hope it could help you positioning the advanced features only available with Aruba Central. 

 

Esteban Tayo.

Systems Engineer - Aruba Mexico 

 

 

 

 

 

Highlighted

Re: Aruba Central API Gateway: a report with the list of APs and subscriptions per client in MSP vie

I wanted the functionality that this script / API provided but the script no longer worked for me, so I updated it to python3.

 

It's attached below. I'm on the EU-1 Central so if you're on a different zone you'll need to update the "url_base_msp" link in the script.

 

 


Cheers
James
----------------------------------------------------------------------
--------------------------@whereisjrw--------------------------
---------------------------------blog-------------------------------
ACCX #540 | ACMX #353 | ACDX #216 | AMFX #11
----------------------------------------------------------------------
----------------------------------------------------------------------

If a reply adequately addresses your issue, please click on the "Accept as Solution" and "Give Kudos" button so this information can benefit other users via search.
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: