Titolo del corso:

Junos Automation and DevOps


This five-day course provides students with knowledge of how to automate Junos using DevOps automation tools, protocols, and technologies. Students receive hands-on experience with tools and languages relevant to automating the Junos OS platform in a DevOps environment. The course includes introduction to Jinja2 templates, an in-depth discussion of Junos PyEZ library, and detailed explanation of how Ansible, Salt and JSNAPy automation tools are used with Junos. The course introduces students to Junos commit, operation (op), event, and SNMP on-box scripts. Two languages for developing these scripts are discussed: SLAX and Python. The course also explains Juniper Extension Toolkit and related APIs, YANG and OpenConfig. Finally, the course discusses the use of Junos Telemetry Interface and Contrail HealthBot tool, and Junos ZTP feature. Through demonstrations and hands-on labs, students will gain experience in automating the Junos operating system and device operations.


  • Intermediate-level networking knowledge.
  • Understanding of the Open Systems Interconnection (OSI) model and the TCP/IP protocol suite.
  • Attendance of the Introduction to Junos Platform Automation and DevOps (IJAUT) course prior to attending this class.

Chi è atteso:

This course benefits individuals responsible for configuring and monitoring devices running the Junos OS.


Il corso è propedeutico per il conseguimento della certificazione JNCIS-DevOps.


Junos Automation Fundamentals

  • Benefits of Automation
  • DevOps and NRE
  • Junos Automation Stack
  • Junos Automation Tools
  • Introduction to NITA


  • Jinja2 Overview
  • Working with Jinja2 in Python
  • Jinja2 Syntax

Advanced Junos PyEZ

  • Connecting to a Junos Device
  • Working with RPCs
  • Junos PyEZ Utilities
  • Junos PyEZ and Jinja2
  • Tables and Views
  • LAB 1: Using Junos PyEZ with Jinja2 Templates

Ansible Intermediate

  • Ansible for Junos Review
  • Securing Device Connection
  • Playbook Flow Control
  • LAB 2: Ansible Operations with Junos
  • Ansible Variables and Jinja2 Templates
  • Case Study
  • LAB 3: Using Ansible for Junos Configuration Management


  • Junos On-Box Automation Overview
  • Basics of SLAX
  • SLAX Variables
  • Flow Control
  • Junos Function Library
  • SLAX Versions

Junos Op Scripts

  • Junos Op Scripts Using SLAX
  • Customizing Junos Command Output
  • Configuration Changes with SLAX Op Scripts
  • Junos Op Scripts Using Python
  • Configuration Changes with Python Op Scripts
  • Op Script Configuration and Debugging
  • LAB 4: Junos Op Scripts

Junos Commit Sctripts

  • Junos Commit Scripts Overview
  • Junos Commit Scripts Using SLAX
  • Junos Commit Scripts Using Python
  • Custom Configuration Syntax
  • Commit Script Configuration and Debugging
  • LAB 5: Junos Commit Scripts

Junos Event Policies and Event Scripts

  • Junos OS Events
  • Event Policies
  • Event Scripts
  • LAB 6: Junos Event Policies and Event Scripts

Junos SNMP Scripts

  • Junos OS SNMP Scripts
  • Case Study
  • LAB 7: Junos SNMP Scripts


  • Salt Overview
  • Junos and Salt
  • Junos Execution Module
  • Salt States and Junos State Module
  • Case Studies
  • LAB 8: Automating Junos with Salt


  • JSNAPy Overview and Installation
  • Configuration Files
  • JSNAPy Commands
  • Test Files
  • Integration with Other Tools
  • LAB 9: Using JSNAPy


  • OpenConfig Overview
  • OpenConfig Package
  • Using OpenConfig
  • OpenConfig Telemetry
  • LAB 10: Implementing OpenConfig


  • YANG Overview
  • YANG Statements and Syntax
  • Junos YANG Modules
  • Custom YANG Modules for Junos
  • Custom Configuration and Translation Script Example
  • Custom RPC and Action Script Example

Juniper Extension Toolkit

  • Overview of JET
  • gRPC and JET IDL Files
  • JET Service API
  • JET Notification API
  • LAB 11: Using JET

Junos Telemetry

  • Junos Telemetry Overview
  • Native Sensors for JTI
  • OpenConfig and gRPC Sensors for JTI
  • Contrail HealthBot Overview
  • Contrail HealthBot Rules and Playbooks
  • Case Study
  • Lab 11: Using Junos Telemetry

Appendix: Zero Touch Provisioning

  • Understanding Zero Touch Provisioning
  • ZTP in Action: A Working Example

Appendix: Using JET Virtual Machine

  • Setting Up the JET VM
  • Creating Signed JET Applications


Black check box free icon Black check box free icon Square free icon INTERMEDIO

Durata: 5 giorni


Prossime date:

Modalità di Erogazione:

Instructor Led (ILT)
Live Virtual Training (LVT)
Blended (BLD)


Lingua Italiana English Language Langue Française Idioma Español


Prossimi corsi in Agenda