Aruba Networks AirWave API Client.
Project description
Airwaveapiclient is a utility tool for Aruba Networks AirWave users. This module connects to AirWave and gets the information such as the access point list, detail, client, etc.
Requirements
Python2.7, 3.3, 3.4, PyPy.
Installation
PyPI or Github
$ pip install airwaveapiclient or $ git clone https://github.com/mtoshi/airwaveapiclient $ cd airwaveapiclient $ sudo python setup.py install
Using example
- Documentation: Readthedocs
- Sample code: Github
Login
>>> airwave = AirWaveAPIClient(username='admin', ... password='*****', ... url='https://192.168.1.1') >>> airwave.login()
Get Access Point List
>>> res = airwave.ap_list() >>> res.status_code 200 >>> res.text # xml output '<?xml version="1.0" encoding="utf-8" ...'
Get Access Point Detail
>>> ap_id = 1 >>> res = airwave.ap_detail(ap_id) >>> res.status_code 200 >>> res.text # xml output '<?xml version="1.0" encoding="utf-8" ...'
Logout
>>> airwave.logout()
See also
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
airwaveapiclient-0.1.1.tar.gz
(10.5 kB
view details)
File details
Details for the file airwaveapiclient-0.1.1.tar.gz
.
File metadata
- Download URL: airwaveapiclient-0.1.1.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4c71850ee8c43873188b84e67b2f2a32883facbe14bae5a96fff8955ce61ae3 |
|
MD5 | e87ecaea6e8278d98c4df48c1479048d |
|
BLAKE2b-256 | 1eef86dc507dd83298bc73c7f3cf5cbd8d7ec949fbd9273e12301fbc17c122a1 |