Coding Packets Blog

Author Archives: Coding Packets Blog

Napalm Getting Started

Napalm is a network automation library written in python that abstracts the differences between libraries such as Juniper's pyez and Arista's pyeapi bringing a common interface across many API's. Napalm is well supported in the network community, originally started by David Barroso and Elisa...

TextFSM Getting Started

Textfsm is a text parsing library written in python to turn plain text into structured data. Originally created by Google, the project seemed largely abandoned until recently being added to github and receiving a small update. This post will show how to extract interesting data from the...

Jinja2 For Network Engineers

Jinja2 is a templating language built in python and loosely based on the Django templating language. Jinja2 is used in many projects as a templating engine with some notable examples: Ansible, Salt and Flask. Jinja2 aims to implement some of the most common features of python right into...

Ansible Overview

Ansible is a 'radically simple', open source, IT automation platform. Architecture Control Node The Ansible control node is the central point of management for managed nodes. Configuration is pushed to the managed nodes from the control node. Managed Node A managed node...continue reading

Netmiko Getting Started

Netmiko is a python library created by a living legend amongst network engineers, Kirk Byers. Netmiko aims to simplify SSH connections to network devices with python by extending the paramiko library to deal with the idiosyncrasies of SSHing to our favorite network gear. Netmiko has a huge...

Cisco CSR 1000v Vagrant Box Install

This blog covers how to install Cisco csr1000v boxes for use with Vagrant. Cisco does not provide a csr1000v Vagrant box so similar to my other post on creating a Vagrant box from the ASAv ova, I will show you how to create a csr1000v Vagrant box. This post assumes that you already have a...

Cisco ASAv Vagrant Box Install

This blog covers how to install Cisco ASAv boxes for use with Vagrant. Cisco does not provide an ASAv Vagrant box on Vagrant cloud but it is possible to create a Vagrant boxes out of the ASAv VMware ova. As you will see it is a bit more involved but well worth the effort. This post assumes...

TCPDump Quick Reference

TCPDump is a tool for sniffing packets on a network. This is not a comprehensive tutorial, only a quick reference source. Consult the man pages and/or documentation for indepth explanation of commands. Capturing Traffic All Traffic for an interface -i <interface-name> specifies an...