napalm

pdk
tasks
Collection of Puppet Tasks that use NAPALM to retrieve data and install configuration on supported networking devices.

Abir Majumdar

beersy

3,616 downloads

3,616 latest version

4.5 quality score

Version information

  • 0.1.0 (latest)
released Mar 6th 2019
This version is compatible with:
  • Puppet Enterprise 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.0 < 6.0.0
  • CentOS
    ,
    OracleLinux
    ,
    RedHat
    ,
    Scientific
Tasks:
  • call
  • configure
  • install_dependencies
  • validate
Plans:
  • example

Start using this module

Documentation

beersy/napalm — version 0.1.0 Mar 6th 2019

napalm_puppet

Table of Contents

  1. Description
  2. Setup - The basics of getting started with napalm
  3. Usage - Configuration options and additional functionality
  4. Reference
  5. Release Notes

Description

This module contains tasks that wrap the Network Automation and Programmability Abstraction Layer with Multivendor (NAPALM) framework.

Setup

Setup Requirements

The target machine running the tasks needs to be a Linux machine. It needs to have the following packages installed before you can run the task:
RHEL/centos

  • epel-release
  • python
  • python-pip
  • python-devel
  • libxml2-devel
  • libxslt-devel
  • gcc
  • openssl
  • openssl-devel
  • libffi-devel

Ubuntu

  • libxslt1-dev
  • libssl-dev
  • libffi-dev
  • python-dev
  • python-cffi
  • python-pip

This module includes a install_dependencies task that will install all the above requirements for you.

Beginning with napalm

The very basic steps needed for a user to get the module up and running. This can include setup steps, if necessary, or it can be an example of the most basic use of the module.

Usage

This module contains 4 tasks:

  • install_dependencies - this will install the system depdendencies
  • call - make function calls to NAPALM
  • configure - configure network devices using a supplied config file
  • validate - validate network device configuration using a validation file

Do not run the task on the networking device itself. These tasks are meant to be run on a jump host. These tasks use virtualenv to create an isolated python environment. It will also put some files in the /tmp folder.

An example plan using all the tasks is included.

Reference

For more information about NAPALM check out their homepage or their Github repo.

Release Notes

0.1.0 Initial Release