Skip to main content

A package to interface with Cisco SPA ATA devices

Project description

A library to interact with the SPA112 ATA to gather phone line status details and reboot the device remotely.

Command Line Usage

  1. Install PyCiscoSPA.

    pip install pyciscospa
  2. Get the status of the connected phone lines (default admin/admin)

    pyciscospa --host 192.168.1.20
    pyciscospa --host 192.168.1.20 -u admin -p admin
  3. Reboot the ATA

    pyciscospa --host 192.168.1.20 --reboot
    pyciscospa --host 192.168.1.20 -u admin -p admin --reboot

Module Usage

  1. Get phone lines status

    from pyciscospa import CiscoClient
    
    client = CiscoClient(192.168.1.20)
    phone_lines = client.phones()
  2. Reboot the ATA

    from pyciscospa import CiscoClient
    
    client = CiscoClient(192.168.1.20)
    client.reboot()

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

pyciscospa-0.1.4.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

pyciscospa-0.1.4-py2.py3-none-any.whl (5.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pyciscospa-0.1.4.tar.gz.

File metadata

  • Download URL: pyciscospa-0.1.4.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyciscospa-0.1.4.tar.gz
Algorithm Hash digest
SHA256 11b39e21d631e329d9d3c164fd09bbd9e8ccc1b81146b73b325398766d91fa8c
MD5 6ed067e5864e68f95bf6f5edd701c988
BLAKE2b-256 3affc259bf2cf4af450c58f39e3095855d55316dadea0d1a54d13946119d2bb9

See more details on using hashes here.

File details

Details for the file pyciscospa-0.1.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pyciscospa-0.1.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 edfdabacb8e7f6de3b6692f3eda5e06f352686f34e74abb0d526956c0ce9c803
MD5 8a4a0f8826657b54d24810a6f7ee3616
BLAKE2b-256 b23ed97ce04da411ab89a5cf5cdb1b05ebca5f8aa56f24f45f85d9d5ed6dae6d

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