Aruba Networks AirWave API 客户端。
项目描述
Airwaveapiclient 是 Aruba Networks AirWave 用户的实用工具。该模块连接到 AirWave 并获取接入点列表、详细信息、客户端等信息。
要求
Python2.7、3.5、3.6、3.7、PyPy。
安装
PyPI 或 Github
$ pip install airwaveapiclient or $ git clone https://github.com/mtoshi/airwaveapiclient $ cd airwaveapiclient $ sudo python setup.py install
使用示例
- 文档:阅读文档
- 示例代码:Github
登录
>>> airwave = AirWaveAPIClient(username='admin', ... password='*****', ... url='https://192.168.1.1') >>> airwave.login()
获取接入点列表
>>> res = airwave.ap_list() >>> res.status_code 200 >>> res.text # xml output '<?xml version="1.0" encoding="utf-8" ...'
获取接入点详细信息
>>> ap_id = 1 >>> res = airwave.ap_detail(ap_id) >>> res.status_code 200 >>> res.text # xml output '<?xml version="1.0" encoding="utf-8" ...'
登出
>>> airwave.logout()
也可以看看
项目详情
关
airwaveapiclient -0.1.11.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | e7504136f69a824aa0345420c31b19688eaeddd1bc73f98a471108b163bb7371 |
|
MD5 | fbc0369b018dca1ef29da3c8167720ed |
|
布莱克2-256 | 8ceee8a00213735f92bf239fb030bb2f8e8d7d8d8a54a21c770fc3a23961bf49 |