Skip to content
No description, website, or topics provided.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
configs
group_vars
host_vars
network_tests
templates
.gitattributes
.gitignore
.pre-commit-config.yaml
Jenkinsfile
README.md
after_nornir_intro_pt2.py
after_nornir_intro_pt3.py
config.yaml
deploy.py
inventory
pyproject.toml test precommit hooks Jan 29, 2019
requirements.txt
yaml_inventory update platform/ports Feb 27, 2019

README.md

packet_pushers_vdc_nornir

Introduction

This is a follow up to my CI/CD for networking presentation for Packet Pushers VDC 3; this time, instead of using Ansible, I am using "pure Python" (Nornir, NAPALM, Netmiko) to render configurations, create backups, push configurations, and test/validate configurations.

You can find the original Ansible version of this demo along with info on how to spin up the Vagrant environment and all that other good stuff here.

You can read about Nornir at the following links:

Caveats/Notes

Currently the EOS config replace fails on the rollback tasks. AFAIK this is due to there being no "exit" statements after entering neighbor configuration of the BGP section. I plan to write a quick helper function to clean that so its not an issue but haven't done so yet.

Issues/Questions

Please feel free to open an issue if you've got any issues/questions. I will be messing around with this repo for a little while I suspect!

You can’t perform that action at this time.