Cisco MPP Migration Hardware Revision Discovery
Project description
Cisco MPP Migration Hardware Revision Discovery
Data Gathering tool for determining if Cisco 7821, 7841, and 7861 phones running enterprise firmware are compatiple with multi-platform firmware. These models are only compatible above specific hardware revisions
Logic Flow
- Gather CUCM version using UDS API, parse to major version
- Use major version to inform WSDL file for AXL from schema directory. This directory should match the axlsqltoolkit.zip schema directory from CUCM plugins
- Gather all SEP phones from CUCM using AXL listPhone API
- Filter results to 7821, 7861, and 7841 models that are hardware revision restricted for MPP migration
- Chunk into blocks of 900 for RISPort70 API query to avoid hitting the 1000 result max
- Process each chunk, gathering the registration status, load information, and first IPv4 address
- Gather the Device's hardware UDI info from DeviceInformationX. As this is timeconsuming depending on the device count, it is multiprocessed
- Write the results to CSV for review
Installation
To install ciscompphwdiscovery using pip:
$ pip install ciscompphwdiscovery
To install ciscompphwdiscovery from source:
$ git clone https://github.com/collinmoerman/ciscompphwdiscovery.git
$ cd ciscompphwdiscovery
$ python3 -m build --wheel
$ pip install dist/ciscompphwdiscovery-x.y.z-py3-none-any.whl
Examples
CLI Execution
Using included schema, default processes
ciscompphwdiscovery --server cucm.example.com \
--username axluser \
--password "@xL!sC00l" \
--output devices.csv
Fully specified
ciscompphwdiscovery --server cucm.example.com \
--username axluser\
--password "@xL!sC00l" \
--output devices.csv \
--schema path/to/schema \
--processes 4
Script Execution
from ciscompphwdiscovery import CiscoMPPHWDiscovery
app = CiscoMPPHWDiscovery(hostname="cucm.example.com",
username="axluser",
password="@xL!sC00l",
outFile = "devices.csv",
schemaPath="/path/to/schema", # optional, defaults to package directory
processes=4) # optional, defaults to 8
devices = app.discover()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ciscompphwdiscovery-1.3.29.tar.gz
.
File metadata
- Download URL: ciscompphwdiscovery-1.3.29.tar.gz
- Upload date:
- Size: 1.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce4b46fa9ef8f5c6ceee4d42e0bddb799bee6323b5a52fc83fab3e3916c1d76e |
|
MD5 | 6055da960795115c558aa53efdde9344 |
|
BLAKE2b-256 | 71a957de649cf84b85e1566f466efe34e95e80b6ec7416c25b02f12650b3e62d |
File details
Details for the file ciscompphwdiscovery-1.3.29-py3-none-any.whl
.
File metadata
- Download URL: ciscompphwdiscovery-1.3.29-py3-none-any.whl
- Upload date:
- Size: 2.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1366ec924d38a40a6e5edccb5d7d9b40cda387f5cbdd74137c5c3688bbbfba6b |
|
MD5 | 6577ac1f515ea621b130bbb7845db771 |
|
BLAKE2b-256 | df6472e8a744e21c7c4bedd31f24c278cf861a7aa17e4d276b4fdf3c955d742a |