A Package to onboard Cisco devices to Netbox
Project description
# Cisco NetBox Onboarding
  
A Python script to streamline the onboarding of Cisco devices into [NetBox](https://netbox.dev/), a popular IP address management (IPAM) and data center infrastructure management (DCIM) tool. This tool leverages the NetBox API to automate the creation of sites, devices, interfaces, and IP addresses based on a YAML configuration file.
—
## Overview
The cisco_netbox_onboarding script simplifies the process of adding Cisco network devices to NetBox. By defining device details in a YAML file, users can efficiently populate NetBox with accurate inventory data, reducing manual entry and potential errors. This is particularly useful for network engineers managing Cisco-powered infrastructures.
—
## Features
Automated Onboarding: Creates NetBox objects (sites, devices, interfaces, IPs) from a YAML config.
Cisco-Focused: Tailored for Cisco devices with platform support (e.g., cisco_ios).
Flexible Configuration: Define multiple devices, interfaces, and IP assignments in a single YAML file.
API Integration: Utilizes the NetBox REST API for seamless data insertion.
Error Handling: Basic validation and feedback for API interactions.
—
## Prerequisites
Before using this script, ensure you have:
Python 3.x installed on your system.
A running NetBox instance with API access enabled.
A valid NetBox API token (generated from the NetBox UI under your user profile).
Access to the repository’s required Python packages (listed in requirements.txt).
—
## Installation
To install Cisco NetBox Onboarding, simply use pip:
` $ pip install cisco_netbox_onboarding `
or
Clone the Repository: `bash git clone https://github.com/tkdebnath/cisco_netbox_onboarding.git cd cisco_netbox_onboarding `
Set Up a Virtual Environment (optional but recommended): `bash python3 -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate `
Install Dependencies:: `bash python3 -m pip install -r requirements.txt `
Configure Environment Variables: `plaintext URL=http://<your-netbox>/ API_KEY=<your-api-token> NETMIKO_USERNAME= NETMIKO_PASSWORD= `
## Usage/Examples Check USAGE.md
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cisco_netbox_onboarding-0.0.11.tar.gz.
File metadata
- Download URL: cisco_netbox_onboarding-0.0.11.tar.gz
- Upload date:
- Size: 52.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ff2e829e59bca439d14ee8fd4d47c8ee54062476afa38fa116b55c6f8207a29
|
|
| MD5 |
4f99d4eb996afa9081d014cc554ea04a
|
|
| BLAKE2b-256 |
418fc35d9bfda4c1d972e6caaa2c34d5ca6a1ac62996daf64571754df86c939a
|
Provenance
The following attestation bundles were made for cisco_netbox_onboarding-0.0.11.tar.gz:
Publisher:
release.yaml on tkdebnath/cisco_netbox_onboarding
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cisco_netbox_onboarding-0.0.11.tar.gz -
Subject digest:
6ff2e829e59bca439d14ee8fd4d47c8ee54062476afa38fa116b55c6f8207a29 - Sigstore transparency entry: 194123023
- Sigstore integration time:
-
Permalink:
tkdebnath/cisco_netbox_onboarding@35b2ee6a70c4b68930db292b2ff20280b864e4c4 -
Branch / Tag:
refs/tags/0.0.11 - Owner: https://github.com/tkdebnath
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@35b2ee6a70c4b68930db292b2ff20280b864e4c4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file cisco_netbox_onboarding-0.0.11-py3-none-any.whl.
File metadata
- Download URL: cisco_netbox_onboarding-0.0.11-py3-none-any.whl
- Upload date:
- Size: 42.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6bd529616759bfb802acbd79e8cba4e13e88a90a37463e8a9446065a3041f053
|
|
| MD5 |
c72438a79159af188554a002223b99a3
|
|
| BLAKE2b-256 |
8d4ff1ade80e043ffd740d172fbe81db30c38e8a85931b68a2f1e1db9fab1444
|
Provenance
The following attestation bundles were made for cisco_netbox_onboarding-0.0.11-py3-none-any.whl:
Publisher:
release.yaml on tkdebnath/cisco_netbox_onboarding
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cisco_netbox_onboarding-0.0.11-py3-none-any.whl -
Subject digest:
6bd529616759bfb802acbd79e8cba4e13e88a90a37463e8a9446065a3041f053 - Sigstore transparency entry: 194123025
- Sigstore integration time:
-
Permalink:
tkdebnath/cisco_netbox_onboarding@35b2ee6a70c4b68930db292b2ff20280b864e4c4 -
Branch / Tag:
refs/tags/0.0.11 - Owner: https://github.com/tkdebnath
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@35b2ee6a70c4b68930db292b2ff20280b864e4c4 -
Trigger Event:
push
-
Statement type: