Skip to main content

A package to generate HTML reports from ACI VETR data JSON files.

Project description

Code style: black Imports: isort Say Thanks!

Table of Contents

  1. vetR Summarizer
  2. Objective
  3. Installation
  4. Usage

vetR Summarizer

This tool summarizes data from any APIC collected by vetr-collector.

Objective

This tool processes data collected by vetr-collector for the ACI health check and displays it in an pretty HTML format. This tool can also be run from any computer having aci-vetr-data collected from any APIC.

A sample preview of the output HTML

Preview

Almost all MOs include unnecessary configuration properties. Some of these properties: extMngdBy, childAction, userdom, etc. These unnecessary properties (key-value pairs) are excluded from the report for a neater representation of the output in the HTML file. All excluded keys can be found in config/excluded_keys file. You can also customize the keys to exclude according to your own case.

Installation

Install from PyPi

$ pip install --user vetr-summarizer

Usage

Both keyword arguments are optional. Currently html is the only supported output format.

$ vetr-summarizer --help
usage: vetr-summarizer [-h] [-f {html}] [-x EXCLUDE_FILE] [-v] directory  

Process and summarize aci-vetr-data JSON files into HTML reports.

positional arguments:
  directory             A path to the directory containing the JSON files.

options:
  -h, --help            show this help message and exit
  -f {html}, --format {html}
                        Output format (html).
  -x EXCLUDE_FILE, --exclude-file EXCLUDE_FILE
                        File containing keys to exclude from the summary HTML report.
  -v, --version         show program's version number and exit

Thanks for using vetr-summarizer! :)
$ vetr-summarizer "/path/to/aci-vetr-data"

HTML output is written to /path/to/vetr-summary.html

Author

Osama Abbas

Contributions

As there is always a room for imporovment, you are welcome to contribute to vetr-summarizer.

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

vetr_summarizer-0.1.0.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

vetr_summarizer-0.1.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file vetr_summarizer-0.1.0.tar.gz.

File metadata

  • Download URL: vetr_summarizer-0.1.0.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for vetr_summarizer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ef7cf4eb9f03b8c61a9d6f223b0fe77545648565eab0143914ec87ef84cb1935
MD5 741443b08af7ef92c8080eaab293617e
BLAKE2b-256 eb291aa6ab508b140eee2287be4d33c3564a1231dfe9f862b855900b0d8e7acd

See more details on using hashes here.

File details

Details for the file vetr_summarizer-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for vetr_summarizer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 72d9e797a7fa8f482df9b3d1bd586fd8557c7020ee9d75fafa05bbcd3f207c1b
MD5 c0ce6d19863e5a7f12d5d196d48458f4
BLAKE2b-256 ed94b31bdb6771cd32a2dfd46bbd597c34e6f0d310ed13231cac4e6881f2d48a

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