Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

Files for pyciscospa, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size pyciscospa-0.1.4-py2.py3-none-any.whl (5.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size pyciscospa-0.1.4.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page