Skip to main content

Mass-change operations (like CoA) for Cisco ISE or ISE-related NAD's

Project description

isemass

isemass is a Python CLI for mass operations related to Cisco ISE.

Current routines include:

  • coa: CoA (Change-of-Authority) for multiple MAC address from an input text file, using Cisco ISE Monitoring Open API
  • swauth: Reauthenticate ISE sessions from NAD's directly (WIP)

Requirements

This should work on Windows, MacOS, and Linux.

How to Install

You can use pip or pipx, but the preferred is to use uv. First, install uv on your system:

https://docs.astral.sh/uv/getting-started/installation/

Then install the tool simply with:

uv tool install isemass

Next, optionally, you can initialize the settings.toml file which can be used to set configuration for the tool:

isemass init

(This is optional, as the tool will run with all CLI arguments, if you prefer)

How to Use (coa) (TODO)

Commands (TODO)

isemass init
isemass coa --input-file macs.txt --host ise-mnt.example.com --node ise-psn01
isemass coa --input-file macs.txt --host ise-mnt.example.com --node ise-psn01 --yes
isemass coa --input-file macs.txt --host ise-mnt.example.com --node ise-psn01 --output-file coa-results.json
isemass swauth

isemass coa accepts colon, dash, and Cisco dotted MAC formats, normalizes them to uppercase colon format, removes duplicates, prompts for the API password, previews the target MAC list, and asks for confirmation before sending requests. Use --insecure or insecure = true only when you need to skip HTTPS certificate validation.

Use -o/--output-file or [coa].output_file to write detailed per-MAC JSON results after all CoA requests complete.

Configuration Order

The tool with take priority of configuration inputs is this order:

  1. CLI arguments
  2. settings.toml values (if set)
  3. Backend defaults (set in defaults.py)

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

isemass-0.2.0.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

isemass-0.2.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file isemass-0.2.0.tar.gz.

File metadata

  • Download URL: isemass-0.2.0.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for isemass-0.2.0.tar.gz
Algorithm Hash digest
SHA256 99eef5ba0bd7fabe827dd850cf1979f8618bd89584ab652cee504f6bfddbc9ec
MD5 27e334b4c683c69962ac9f59a45730a5
BLAKE2b-256 716cb07d4add8c653b19c2e79f12b890a6dc2be64f2797585d1318bf19c33343

See more details on using hashes here.

File details

Details for the file isemass-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: isemass-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for isemass-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ff16891e925af1edeb79efee8c7713187a18d2565be84ab0e7743094cfdae62
MD5 8140202a989c2723031dc786456b709b
BLAKE2b-256 8bfa550ea6100902ffe97cfe9986b1a6ea5fabf7b285651dd3bb6b291f66d2ef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page