Junos Automation Training Resources

Resources for getting starting in Junos automation using PyEZ.

Juniper Automation Communities

EngNet

This is a repository of Juniper provided automation libraries and a community to share automation tools.

There is also a Sack group.

https://eng.juniper.net/site/global/home/index.gsp

NRE Labs (Network Reliability Engineer)

This a collection of free lessons and labs that run on Juniper paid cloud resources for learning network automation concepts.

No login or cost.

https://labs.networkreliability.engineering/

Blog Introduction to Automation

5 Steps to Automated NetOps – this covers how to start small and build up to fully automated infrastructure.

https://forums.juniper.net/t5/Enterprise-Cloud-and/5-Steps-to-Automated-NetOps/ba-p/366048

Video Introduction to Automation

This Junos Jump start 2.5 hour webinar outlines the automation options in Junos.

https://event.on24.com/wcc/r/1479199/9650330AD93D8A8BCD258923FCA29553

Python for Non-Programers

Blog series on using Python for Junos automation

Part 1
https://forums.juniper.net/t5/Automation-Programmability/Python-for-Non-Programmers-Part-1/ba-p/216449

Part 2
https://forums.juniper.net/t5/Automation-Programmability/Python-for-Non-Programmers-Part-2/ba-p/216983

Part 3
https://forums.juniper.net/t5/Automation-Programmability/Python-for-Non-Programmers-Part-3/ba-p/217241

Part 4
https://forums.juniper.net/t5/Automation-Programmability/Python-for-Non-Programmers-Part-4/ba-p/219263

Part 5
https://forums.juniper.net/t5/Automation-Programmability/Python-for-Non-Programmers-Part-5/ba-p/219609

Ansible

Getting started Resources

https://www.ansible.com/resources/get-started

Networking Link Light training

https://github.com/network-automation/linklight

Server focused training

https://github.com/ansible/lightbulb

Cookbook Examples

The free Day One Series from Juniper with examples of PyEZ automation scripts.

PyEZ cookbook.

https://www.juniper.net/us/en/training/jnbooks/day-one/automation-series/junos-pyez-cookbook/

Ansible Day One Book

https://www.juniper.net/us/en/training/jnbooks/day-one/automation-series/automating-junos-ansible/

JET – Junos Extension Toolkit

This toolkit allows you to use pre-built modules into your PyEZ scripting process.

Introduction to JET and how to use it

https://forums.juniper.net/t5/Automation-Programmability/An-Intro-to-Juniper-s-JET-Automation-framework-and-how-to-use-it/ba-p/285068

Getting started with JET

https://forums.juniper.net/t5/Automation/Getting-Started-with-JET-Video-Tutorials/ta-p/308017

JET Documentation

https://www.juniper.net/documentation/en_US/release-independent/jet/information-products/pathway-pages/index.html

JET Examples

Example configuration change and example notification scripts

https://github.com/pklimai/junos-automation-examples/tree/master/jet

YANG Data Modeling

YANG provides a method for describing elements in network configuration generically so they can be executed specifically on different platforms from the same configuration request file.

Understanding YANG data modeling

https://stebe.info/2017/07/yang/

When using YANG data models be sure to follow the routing models set forth in RFC 8294.  This allows your scripts and models to be fully portable and able to interact with others work.

https://tools.ietf.org/html/rfc8294

Originally Posted November 6, 2017
Last Revised on January 20, 2019