Skip to content

Generates device-specific Arista configs based on a yaml file. Intended to be used in combination with Cloudvision Portal.

Notifications You must be signed in to change notification settings

brokenpackets/FabricStamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FabricStamp

Generates device-specific Arista configs based on a yaml file. Intended to be used in combination with CloudVision Portal.

Three variants:

  • FabricStamp.py - Output as text file in current working directory.
  • builder_FabricStamp.py - Configlet builder designed to be run from CloudVision Portal. Same as FabricStamp.py, except builds the text files as static configlets from within CVP itself.
  • ztp_FabricStamp.py - Configlet builder designed to be run from CloudVision Portal against a device that is in ZTP mode. Will parse out the device serial number, loop through the YAML file to find a match, then build a generated configlet for the device.

Required Libraries:

  • netaddr
  • jinja2
  • yaml
  • re

Usage: from directory - python FabricStamp.py - This will generate a .txt file within the directory for each device.

To-Do: Finish documentation.

About

Generates device-specific Arista configs based on a yaml file. Intended to be used in combination with Cloudvision Portal.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages