Skip to main content

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

Reference: Convert between Enterprise Firmware and Multiplatform Firmware for Cisco IP Phone 7800 and 8800 Series Guide


Logic Flow

  1. Gather CUCM version using UDS API, parse to major version
  2. Use major version to inform WSDL file for AXL from schema directory. This directory should match the axlsqltoolkit.zip schema directory from CUCM plugins
  3. Gather all SEP phones from CUCM using AXL listPhone API
  4. Filter results to 7821, 7861, and 7841 models that are hardware revision restricted for MPP migration
  5. Chunk into blocks of 900 for RISPort70 API query to avoid hitting the 1000 result max
  6. Process each chunk, gathering the registration status, load information, and first IPv4 address
  7. Gather the Device's hardware UDI info from DeviceInformationX. As this is timeconsuming depending on the device count, it is multiprocessed
  8. 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


Download files

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

Source Distribution

ciscompphwdiscovery-1.3.29.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

ciscompphwdiscovery-1.3.29-py3-none-any.whl (2.0 MB view details)

Uploaded Python 3

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

Hashes for ciscompphwdiscovery-1.3.29.tar.gz
Algorithm Hash digest
SHA256 ce4b46fa9ef8f5c6ceee4d42e0bddb799bee6323b5a52fc83fab3e3916c1d76e
MD5 6055da960795115c558aa53efdde9344
BLAKE2b-256 71a957de649cf84b85e1566f466efe34e95e80b6ec7416c25b02f12650b3e62d

See more details on using hashes here.

File details

Details for the file ciscompphwdiscovery-1.3.29-py3-none-any.whl.

File metadata

File hashes

Hashes for ciscompphwdiscovery-1.3.29-py3-none-any.whl
Algorithm Hash digest
SHA256 1366ec924d38a40a6e5edccb5d7d9b40cda387f5cbdd74137c5c3688bbbfba6b
MD5 6577ac1f515ea621b130bbb7845db771
BLAKE2b-256 df6472e8a744e21c7c4bedd31f24c278cf861a7aa17e4d276b4fdf3c955d742a

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