Skip to content

morneaup/node-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cisco On-Box Device Configuration Python Script

The following script will allow you to generate a on-box device configuration based on a list of pre-defined device properites (loopback, tunnel, etc.) from a imported nodes.csv file. The user runs the script and selects the particular "Node" # they want to generate. The user then has the option to commit the configuration to the running and startup configurations.

Note: This script has only been tested on the CISCO Catalyst 8000v router image, but should work on other platforms that support Python 3.

Example Node Table: image

First turn on iox and guestshell for your specific platform.

Example IOX/Guestshell Configuration:

image

Add the following files from the repository to your devices: /bootflash/guest-share/

ROUTER1# guestshell run bash
[guestshell@guestshell ~]$ vi /bootflash/guest-share/node-cfg.py

[guestshell@guestshell ~]$ vi /bootflash/guest-share/nodes.csv

Run:

ROUTER1# guestshell run python3 /bootflash/guest-share/node-cfg.py

image

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages