published

APIC-Config-Visualizer

Project to visualize APIC configuration data using GoJS graph library. It is hard to visulise APIC config on APIC dashboard as the object are listed down in a tree structure. This app helps visualise these objects in a graph which help the user to undertsand the object and trace the object graphically in turn help in debugging.

Author:


Prerequisites

  • Python 3.X and its libraries mentioned in requirements.txt
  • PyCharm/Any text editor
  • Flask

Steps to Reproduce

  • Download/clone the repository
  • Import the code into a text editor suck as pycharm
  • Make sure all the dependencies are satisfied as mentioned in requirements.txt
  • Open controller.py file and make necessary changes as mentioned in the comments
  • Import the virtual env(apic_python) into your development environment or you can setup your own with the necessary libraries
  • After necessary changes are made to the code as specified in the comments, execute/run main.py file on the editor or on the terminal and click on the URL (http://0.0.0.0:5001)
  • If running on terminal use the following commands
    export FLASK_APP=main.py
    flask run

Screenshot

alt text

API Reference/Documentation:

DISCLAIMER:

Please note: This script is meant for demo purposes only. All tools/ scripts in this repo are released for use "AS IS" without any warranties of any kind, including, but not limited to their installation, use, or performance. Any use of these scripts and tools is at your own risk. There is no guarantee that they have been through thorough testing in a comparable environment and we are not responsible for any damage or data loss incurred with their use.
You are responsible for reviewing and testing any scripts you run thoroughly before use in any non-testing environment.

View code on GitHub

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.