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
Install PyCiscoSPA.
pip install pyciscospa
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
Reboot the ATA
pyciscospa --host 192.168.1.20 --reboot pyciscospa --host 192.168.1.20 -u admin -p admin --reboot
Module Usage
Get phone lines status
from pyciscospa import CiscoClient client = CiscoClient(192.168.1.20) phone_lines = client.phones()
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11b39e21d631e329d9d3c164fd09bbd9e8ccc1b81146b73b325398766d91fa8c |
|
MD5 | 6ed067e5864e68f95bf6f5edd701c988 |
|
BLAKE2b-256 | 3affc259bf2cf4af450c58f39e3095855d55316dadea0d1a54d13946119d2bb9 |
File details
Details for the file pyciscospa-0.1.4-py2.py3-none-any.whl
.
File metadata
- Download URL: pyciscospa-0.1.4-py2.py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | edfdabacb8e7f6de3b6692f3eda5e06f352686f34e74abb0d526956c0ce9c803 |
|
MD5 | 8a4a0f8826657b54d24810a6f7ee3616 |
|
BLAKE2b-256 | b23ed97ce04da411ab89a5cf5cdb1b05ebca5f8aa56f24f45f85d9d5ed6dae6d |