devices.csv

IP Scheme

Extract interface IP data from all devices in your network.

Description

The IP Scheme tool connects to all devices listed in devices.csv and extracts interface IP addressing data using Cisco Genie parsers. It collects IP addresses, subnet masks, interface names, and VRF assignments, then outputs the results in multiple formats for analysis and documentation.

Input

This tool requires:

  • devices.csv file with columns: host, device_type
  • SSH credentials (username and password prompted at runtime)
  • Output folder name (prompted at runtime)

Usage

Run the toolkit and select option [1] from the menu:

Terminal
docker compose run network_automation

Output

Results are saved to:

outputs/ip_scheme/<run_name>_<timestamp>/

Each run produces:

  • CSV files - One per device with interface IP data
  • JSON files - Raw parsed output from each device
  • Excel summary report - Consolidated view of all interfaces across all devices

Standalone Usage

To run this tool directly without the run.py menu:

Terminal
cd tools/ip_scheme/scripts && python ip_scheme.py