Junos Platform Automation and DevOps

Duration : 5 Days (40 Hours)

Junos Platform Automation and DevOps Course Overview:

In this comprehensive five-day course, students will acquire the skills and knowledge required to automate Junos using cutting-edge DevOps automation tools, protocols, and technologies. Through hands-on experience, participants will become proficient in utilizing tools and languages that are essential for automating the Junos OS platform within a DevOps environment. Key topics covered include Jinja2 templates, Ansible, Salt, and JSNAPy automation tools in conjunction with the Junos OS. Students will also delve into Junos commit, operation (op), event, and SNMP on-box scripts, with a focus on script development using SLAX and Python. Additionally, the course explores YANG, OpenConfig, Juniper Extension Toolkit (JET), and related APIs, providing students with a holistic understanding of automation in the Junos environment. The course concludes with an exploration of Junos Telemetry Interface (JTI). Through a combination of demonstrations and hands-on labs, participants will gain practical experience in automating Junos OS and device operations. This course is based on Junos OS Release 21.3R1, Ansible 2.11, Salt 3004, and JSNAPy 1.3.6.

Intended Audience:

  • This course benefits individuals responsible for implementing, monitoring, and troubleshooting Juniper security components.

Learning Objectives of Junos Platform Automation and DevOps:

  • Describe Junos automation concepts.
  • Use Jinja2 for Junos automation.
  • Describe Ansible automation.
  • Use Ansible to automate Junos devices.
  • Describe the basics of SLAX language.
  • Use SLAX to automate Junos devices.
  • Use SLAX to develop Junos op scripts.
  • Use Python to develop Junos op scripts.
  • Use SLAX to develop Junos commit scripts.
  • Use Python to develop Junos commit scripts.
  • Describe Junos event policies.
  • Create Junos event scripts.
  • Develop Junos SNMP scripts.
  • Describe Salt for Junos support.
  • Use Salt software to automate Junos devices.
  • Perform network testing with JSNAPy.
  • Describe the YANG language.
  • Create custom Junos YANG modules.
  • Use OpenConfig with Junos OS.
  • Describe JET functionality.
  • Use JET APIs to automate Junos.
  • Describe the Junos Telemetry Interface.

Module 1: Course Introduction

  • Overview of the course.

Module 2: Junos Automation Fundamentals

  • Benefits of network automation
  • DevOps and NRE principles
  • Different approaches and tools for Junos automation

Module 3: Jinja2

  • Junos Automation templates
  • Creating Jinja2 templates
  • Lab 1: Creating Jinja2 Templates

Module 4: Ansible Introduction

  • Ansible environment setup
  • Using Ansible for device management
  • Retrieving information from Junos devices
  • Configuring Junos devices with Ansible
  • Lab 2: User Interface Options

Module 5: Ansible for Junos

  • Securely connecting to Junos devices
  • Advanced Ansible playbook functionality
  • Using variables and templates in Ansible playbooks
  • Managing Junos device configurations with Jinja2 templates and Ansible
  • Lab 3: Using Ansible for Junos Configuration Management

Module 6: Basics of SLAX

  • SLAX relation to XML, XPath, and Junos XML API
  • Creating simple SLAX scripts
  • SLAX templates, variables, and flow control statements

Module 7: Automating Junos with SLAX

  • Junos op, commit, event, and SNMP scripts
  • Using the Junos function library
  • SLAX versions
  • Lab 4: Junos Op Scripts Using SLAX

Module 8: Junos Op Scripts Using Python

  • Creating and executing Python op scripts
  • Using arguments with Python op scripts
  • Executing Junos RPCs from Python op scripts
  • Configuring Junos devices with Python op scripts
  • Lab 5: Junos Op Scripts Using Python

Module 9: Junos Commit Scripts Using SLAX

  • SLAX commit script operation
  • Developing SLAX commit scripts
  • Transient and persistent changes with SLAX commit scripts
  • Configuring and enabling SLAX commit scripts
  • Lab 6: Junos Commit Scripts Using SLAX

Module 10: Junos Commit Scripts Using Python

  • Python commit scripts performing different actions
  • Developing Python commit scripts
  • Configuration changes with Python commit scripts
  • Configuring and enabling Python commit scripts
  • Lab 7: Junos Commit Scripts Using Python

Module 11: Junos Event Policies

  • Identifying Junos OS events
  • Creating Junos OS event policies

Module 12: Junos Event Scripts

  • Creating Junos event scripts
  • Lab 8: Junos Event Policies and Event Scripts

Module 13: Junos SNMP Scripts

  • Junos OS SNMP scripts usage
  • Configuring Junos OS SNMP scripts
  • Lab 9: Junos SNMP Scripts

Module 14: Salt Introduction

  • Salt architecture and components
  • Basic Junos device management tasks with Salt

Module 15: Automating Junos with Salt

  • Configuring Junos devices with Salt
  • Validating network state using Salt
  • Event-driven infrastructure with Salt
  • Lab 10: Automating Junos with Salt

Module 16: JSNAPy

  • Using JSNAPy for automating Junos OS
  • Installing and configuring JSNAPy
  • Creating snapshots and performing tests with JSNAPy
  • Using JSNAPy with other automation tools
  • Lab 11: JSNAPy

Module 17: YANG

  • YANG features
  • YANG syntax
  • YANG use cases with Junos OS

Module 18: Custom YANG Modules

  • Custom configuration statements and translation scripts
  • Custom RPCs and action scripts

Module 19: OpenConfig

  • Advantages of OpenConfig
  • Modifying Junos OS configuration using OpenConfig
  • Using OpenConfig with the Junos Telemetry Interface
  • Lab 12: Implementing YANG and OpenConfig

Module 20: Introduction to Juniper Extension Toolkit

  • JET components and use cases
  • gRPC and JET IDL Files
  • JET Service and Notification APIs

Module 21: Automating Junos OS with JET APIs

  • Developing JET applications using Service API
  • Developing JET applications using Notification API
  • Lab 13: Using JET

Module 22: Junos Telemetry

  • JTI protocols and message formats
  • Provisioning sensors for JTI
  • Provisioning OpenConfig and gRPC sensors for JTI
  • Lab 14: Using Junos Telemetry

Junos Platform Automation and DevOps Course Prerequisites:

  • Intermediate-level networking knowledge
  • An understanding of the Open Systems Interconnection (OSI) reference model and the TCP/IP protocol suite
  • Complete the Introduction to Junos Platform Automation and DevOps (IJAUT) course

Discover the perfect fit for your learning journey

Choose Learning Modality

Live Online

  • Convenience
  • Cost-effective
  • Self-paced learning
  • Scalability


  • Interaction and collaboration
  • Networking opportunities
  • Real-time feedback
  • Personal attention


  • Familiar environment
  • Confidentiality
  • Team building
  • Immediate application

Training Exclusives

This course comes with following benefits:

  • Practice Labs.
  • Get Trained by Certified Trainers.
  • Access to the recordings of your class sessions for 90 days.
  • Digital courseware
  • Experience 24*7 learner support.

Got more questions? We’re all ears and ready to assist!

Request More Details

Please enable JavaScript in your browser to complete this form.

Subscribe to our Newsletter

Please enable JavaScript in your browser to complete this form.