SlideShare a Scribd company logo
NETWORK AUTOMATION VIA
PYEZ
What will you see here ?
What is the network automation
what is PyEZ
Juniper Framework
I.
II.
NETCONF
III.
IV.
Python Shell Python script
IT
Frameworks
Custom
Applications
ncclient
junos-pyez
• Junos specific
• Abstraction Layer
• micro-framework
• NETCONF transport only
• Vendor Agnostic
• No abstractions
• Native Python data types (hash/list)
• Junos specific not required
• XML not required
open-source, Juniper
open-source, Community
interactive simple → complex
Network automation via py ez
NOTHING LIKE DIRTY HANDS :D
SO LET’S CODE
USING JUNIER VMX AND JUPYTER
LAB SETUP
• INSTALL PIP
• TYPE ‘EASY_INSTALL PIP’
• EASY_INSTALL ASSUMES YOUR SYSTEM HAS PYTHON ON IT
• INSTALL THE JUNOS PYTHON FRAMEWORK
• TYPE ‘PIP INSTALL JUNOS-EZNC’
If you already installed python on your machine you can run PIP install
If not you can download anaconda for windows and have fun
•
Example#1 get router routing table.
1.
2.
Example#2 load configuration from file.
Before loading
Code to load file
After loading
Network automation via py ez
HTTPS://STEBE.INFO/2016/11/INTRODUCTION-JUNOS-PYEZ/
HTTP://WWW.JUNIPER.NET/DOCUMENTATION/EN_US/JUNOS-PYEZ/INFORMATION-
PRODUCTS/PATHWAY-PAGES/JUNOS-PYEZ-DEVELOPER-GUIDE.HTML
HTTPS://GITHUB.COM/JUNIPER/PY-JUNOS-EZNC

More Related Content

PPTX
Building a Cyber Range - Kevin Cardwell
PPTX
Infrastructure management using a VPN Concentrator
PDF
Qubes os presentation_to_clug_20150727
PDF
Infrastructure management presented to GPNOG (Updated)
PPTX
PDF
Nessus Basics
PPTX
Demo of security tool nessus - Network vulnerablity scanner
PDF
Nessus Software
Building a Cyber Range - Kevin Cardwell
Infrastructure management using a VPN Concentrator
Qubes os presentation_to_clug_20150727
Infrastructure management presented to GPNOG (Updated)
Nessus Basics
Demo of security tool nessus - Network vulnerablity scanner
Nessus Software

What's hot (20)

PDF
PPTX
Burp suite
PDF
[ENG] Hacker halted 2012 - Zombie browsers, spiced with rootkit extensions
PPTX
Kwort Linux 4.3 the new stable version is released
PPTX
Intel demo on movidius
PDF
Построение простого REST сервера на Node.js | Odessa Frontend Code challenge
PPTX
Exploradores.caroes
PDF
Exploiting publically exposed Version Control System
PPTX
Kali linux
ODP
Linux basics (part 2)
PPTX
Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox
ODP
Rencontres Mondiales Du Logiciel Libre 2009
PDF
Hacker tool talk: kismet
PPTX
EKFiddle: a framework to study Exploit Kits
PDF
Firewalls and Virtualization - pfSense Hangout June 2014
PPTX
Wardriving & Kismet Introduction
DOC
Virtual boxen
PPTX
Intro to Node.js (v1)
PPTX
Kali linux
Burp suite
[ENG] Hacker halted 2012 - Zombie browsers, spiced with rootkit extensions
Kwort Linux 4.3 the new stable version is released
Intel demo on movidius
Построение простого REST сервера на Node.js | Odessa Frontend Code challenge
Exploradores.caroes
Exploiting publically exposed Version Control System
Kali linux
Linux basics (part 2)
Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox
Rencontres Mondiales Du Logiciel Libre 2009
Hacker tool talk: kismet
EKFiddle: a framework to study Exploit Kits
Firewalls and Virtualization - pfSense Hangout June 2014
Wardriving & Kismet Introduction
Virtual boxen
Intro to Node.js (v1)
Kali linux
Ad

Similar to Network automation via py ez (20)

PDF
PyCon SG 25 - Firecracker Made Easy with Python.pdf
PDF
Accelerate and unify network deployment with Puppet on Juniper
PDF
OSMC 2008 | Monitoring Tools Shootout by Tom De Cooman
PDF
Simulators for Wireless Sensor Networks (OMNeT++)
PPTX
Creating Havoc using Human Interface Device
PDF
Running CentOS on the Facebook fleet
PPTX
Final project CEIS 106
PPTX
Xxter training 2020 basic 2.0 English
PPTX
Day3_Linux_Hacking_Detailed.pptx for IT std
PPTX
Security Onion
PDF
Android Internals at Linaro Connect Asia 2013
PDF
Instalando Cacti no CentOS 5
KEY
the NML project
PDF
TechWiseTV Workshop: Catalyst Switching Programmability
PDF
Writing the Container Network Interface(CNI) plugin in golang
PDF
Home Automation Using RPI
PPTX
Automation in Cloud
PDF
XPDDS19: Implementing AMD MxGPU - Jonathan Farrell, Assured Information Security
PDF
Getting Started with Node.js
PDF
FIWARE Global Summit - Building Your Own IoT Agent
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Accelerate and unify network deployment with Puppet on Juniper
OSMC 2008 | Monitoring Tools Shootout by Tom De Cooman
Simulators for Wireless Sensor Networks (OMNeT++)
Creating Havoc using Human Interface Device
Running CentOS on the Facebook fleet
Final project CEIS 106
Xxter training 2020 basic 2.0 English
Day3_Linux_Hacking_Detailed.pptx for IT std
Security Onion
Android Internals at Linaro Connect Asia 2013
Instalando Cacti no CentOS 5
the NML project
TechWiseTV Workshop: Catalyst Switching Programmability
Writing the Container Network Interface(CNI) plugin in golang
Home Automation Using RPI
Automation in Cloud
XPDDS19: Implementing AMD MxGPU - Jonathan Farrell, Assured Information Security
Getting Started with Node.js
FIWARE Global Summit - Building Your Own IoT Agent
Ad

Recently uploaded (20)

PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
web development for engineering and engineering
PPTX
Construction Project Organization Group 2.pptx
PPT
Mechanical Engineering MATERIALS Selection
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
DOCX
573137875-Attendance-Management-System-original
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Model Code of Practice - Construction Work - 21102022 .pdf
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
bas. eng. economics group 4 presentation 1.pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
web development for engineering and engineering
Construction Project Organization Group 2.pptx
Mechanical Engineering MATERIALS Selection
UNIT 4 Total Quality Management .pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
573137875-Attendance-Management-System-original

Network automation via py ez