Skip to main content

Aruba OS REST API Client.

Project description

arubaos_client

Install it via

pip install arubaos_client

Usage

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()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arubaos_client-0.1.2.3.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

arubaos_client-0.1.2.3-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file arubaos_client-0.1.2.3.tar.gz.

File metadata

  • Download URL: arubaos_client-0.1.2.3.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for arubaos_client-0.1.2.3.tar.gz
Algorithm Hash digest
SHA256 4876d33982ca0355437a2ccda8eb97f3428d35e62ce980ce38a2dd7cd6e92df5
MD5 6f425904166bb8c5bdb915b4ac0786b6
BLAKE2b-256 9f3686c7672a09317d6a2a2b35aa015dc2b163b4514f28abd23655f547ef1b17

See more details on using hashes here.

File details

Details for the file arubaos_client-0.1.2.3-py3-none-any.whl.

File metadata

  • Download URL: arubaos_client-0.1.2.3-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for arubaos_client-0.1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 94a45d5dd4b1d9750889bf599c8adf55a9a73da390f617c0d86bfca858000460
MD5 4b3831bbc77dbc8dc8f801b663b352e5
BLAKE2b-256 e00ce531491720d8ccd5a4f6e7ad06fce06cca2c3d113a766c003149f919c529

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page