Junos Platform Automation (JAUT)
This five-day course provides students with Junos platform automation knowledge through hands-on development. Students receive hands-on experience with tools and languages relevant to the Junos OS platform. The course includes an introduction to the Junos XML API, YANG and NETCONF. The course focuses on using Python and the PyEZ library to create commit scripts, operation (op) scripts, and event scripts. It also covers an introduction to automation/DevOps tools using Ansible. Finally the course discuses the use of Autoinstallation and JSNAPy automation tools. Through demonstrations and hands-on labs, students will gain experience in automating the Junos operating system and device operations.
This course is based on the Junos OS Release 16.2R1.
Who should attend
This course benefits individuals responsible for configuring and monitoring devices running the Junos OS.
Students should have intermediate-level networking knowledge and an understanding of the Open Systems Interconnection (OSI) model and the TCP/IP protocol suite. Students should also have familiarity XML basics and have introductory knowledge of a programming language such as C, C++, Perl, Python, Ruby, or Java. Students should also attend the Introduction to the Junos Operating System (IJOS) courses prior to attending this class. Lastly, a high-level understanding of object-oriented programming is a plus but not a requirement.
After successfully completing this course, you should be able to:
- Describe the NETCONF protocol.
- Explain the capabilities of the Junos OS XML API.
- Describe the use of XSLT, SLAX, and XPath in the XML API.
- Describe the Junos Automation UI and explain the role of gRPC, NETCONF, and REST in Junos Automation.
- Identify the languages, frameworks, management suites, and tools used in automating Junos.
- Describe the YANG Protocol and explain the capabilities of YANG.
- Use the YANG model to issue Junos commands and to configure Junos.
- Explain the benefits of using JSON and YAML.
- List where JSON and YAML are used in Junos Automation.
- Convert between JSON, YAML, and XML.
- Describe the features and benefits of using Python in Junos automation.
- Configure Junos devices to use Python and create simple Python scripts.
- Describe the function of Junos operation, commit, event, and SNMP scripts.
- Implement Junos operation, commit, event, and SNMP scripts using Python.
- Identify how Junos automation uses Jinja2 and create Python scripts that use Jinja2.
- Explain how PyEZ makes Junos automation easier and the Junos OS support for PyEZ.
- Use PyEZ to gather facts from Junos, perform configuration tasks, and use PyEZ to manipulate the file system and perform system upgrades to Junos.
- Implement OpenConfig in the Junos OS.
- Describe the process of implementing custom YANG modules.
- Implement a translation script for a custom YANG module.
- Explain the use of the Junos REST API in automation.
- Use the Junos REST API to get information from Junos.
- Describe what JET is and what it includes.
- Create a project in the JET IDE.
- Execute scripts using on-box and off-box automation.
- Explain the four JET application development workflows.
- Describe how Ansible is used in Junos automation and install Ansible.
- Create Ansible playbooks to automate Junos.
- Describe how JSNAPy can help automate Junos devices.
- Implement JSNAPy into a Junos environment.
- Describe how ZTP works.
- Configure in-band ZTP and out-of-band ZTP.
- Course Introduction
- Junos Automation Overview
- NETCONF and the XML API
- Jason and YAML
- Python in Junos
- Junos Automation Scripting Using Python
- Jinja2 Templating Language
- OpenConfig and Custom YANG Modules
- The Junos OS REST API
- Junos Extension Toolkit
- Using Ansible to Automate Junos
- Junos Automation with JSNAP and JSNAPy
- Zero Touch Provisioning