arubaos-client-0.1.2.3
توضیحات
Aruba OS REST API Client.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | arubaos-client-0.1.2.3 |
| نام | arubaos-client |
| نسخه کتابخانه | 0.1.2.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Marcel Fest |
| ایمیل نویسنده | marcelf@selfnet.de |
| آدرس صفحه اصلی | https://github.com/Selfnet/arubaos_client |
| آدرس اینترنتی | https://pypi.org/project/arubaos-client/ |
| مجوز | MIT |
# arubaos_client
Install it via
```bash
pip install arubaos_client
```
## Usage
```python
from arubaos_client import MobilityControllerAPIClient
aruba = MobilityControllerAPIClient(
username='',
password='',
url='https://aruba-ac.example.com:4343',
proxy="socks5h://localhost:5050",
verify=False
)
# Login to the device
aruba.login()
# Logout
aruba.logout()
# Get a List of APs
aruba.aps()
# Get amount of 2g clients
aruba.clients(band='2g')
aruba.clients_2g()
# Get amount of 5g clients
aruba.clients(band='5g')
aruba.clients_5g()
# Get AP by its MAC address
aruba.ap_by_mac("00:00:00:00:00:00")
# Get AP by its name
aruba.ap('ap_name')
# Get CPU load
aruba.cpu_load()
# Get Memory usage
aruba.memory_usage()
```
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
| - | pytimeparse |
| xtr | pylint; |
| xtr | autopep8; |
| xtr | pep8; |
| xtr | PySocks; |
| xtr | PySocks; |
نحوه نصب
نصب پکیج whl arubaos-client-0.1.2.3:
pip install arubaos-client-0.1.2.3.whl
نصب پکیج tar.gz arubaos-client-0.1.2.3:
pip install arubaos-client-0.1.2.3.tar.gz