
JUNOS Automation Cookbook
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Person
Adam Chappell first cut his teeth in the networking world in 1995 after an opportunity in Finchley, North London, at what would become one of the pioneering dial-up Internet ISPs in the United Kingdom. His early forays into network automation generally involved cron, Perl, expect, and a healthy dose of hope and luck. As the commercial networking market matured, he joined Interoute to develop one of the first large-scale European MPLS networks, leading the market in the provision of private packet networking. Adam was responsible for Interoute's unique network automation technology that seamlessly stitches together industry-standard MPLS VPNs and private cloud compute logical networks. Currently, he works in the thriving technology development team at Interoute, between London and Prague, focusing on network technologies, software, and security.
Content
- Cover
- Copyright
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Table of Contents
- Preface
- Chapter 1: Configuring JUNOS through NETCONF
- Introduction
- JUNOS NETCONF over SSH setup
- Getting ready
- How to do it...
- How it works...
- There's more...
- Making NETCONF RPC requests and replies
- Getting ready
- How to do it...
- How it works...
- There's more...
- Discovering NETCONF RPCs
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using NETCONF to apply configuration changes
- Getting ready
- How to do it...
- How it works...
- Processing NETCONF using classic Expect/TCL
- Getting ready
- How to do it...
- How it works...
- Processing NETCONF with Python
- Getting ready
- How to do it...
- How it works...
- Processing NETCONF with Node.js
- Getting ready
- How to do it...
- How it works...
- Chapter 2: Working with the Junos REST API
- Introduction
- Junos REST API setup
- Getting ready
- How to do it...
- How it works...
- There's more
- Making REST API calls to Junos with Python
- Getting ready...
- How to do it...
- How it works...
- There's more...
- Making REST API calls to Junos with Node.js
- Getting ready
- How to do it...
- How it works...
- Managing passwords safely
- Getting ready
- How to do it...
- How it works...
- Applying configuration changes through the REST API
- Getting ready
- How to do it...
- How it works...
- Chapter 3: Using SLAX to Write Op Scripts
- Introduction
- Making remote procedure calls
- Getting ready
- How to do it...
- How it works...
- Using XPath predicate expressions
- Getting started
- How to do it...
- How it works...
- Working with regular expressions
- Getting ready
- How to do it...
- How it works...
- Working with IP addresses
- Getting ready
- How to do it...
- How it works...
- There's more
- Debugging SLAX scripts
- Getting ready
- How to do it...
- How it works...
- There's more
- Making custom show commands
- Getting ready
- How to do it...
- How it works...
- Making configuration changes
- Getting ready
- How to do it...
- How it works...
- Chapter 4: Event Programming
- Introduction
- Archiving configurations after a change
- Getting ready
- How to do it.
- How it works...
- There's more
- Capturing output after an event
- Getting ready
- How to do it.
- How it works.
- There's more
- Custom responses to an event
- Getting ready
- How to do it.
- How it works.
- There's more
- Dealing with a flapping interface
- Getting ready
- How to do it.
- How it works.
- Dealing with a flapping OSPF neighbor
- Getting ready
- How to do it.
- How it works.
- DIY routing protocol
- Getting ready
- How to do it.
- How it works.
- Debugging event scripts
- Getting ready
- How to do it.
- How it works.
- Chapter 5: Automating JUNOS with PyEZ
- Introduction
- Setting up a PyEZ environment
- Getting ready
- How to do it.
- How it works.
- There's more
- Exploring the XML RPC using PyEZ
- Getting ready
- How to do it.
- How it works.
- Calling operational RPCs and setting timeouts
- Getting ready
- How to do it.
- How it works.
- Configuration analysis and reporting
- Getting ready
- How to do it.
- How it works.
- Making raw CLI commands from PyEZ
- Getting ready
- How to do it.
- How it works.
- There's more
- Using tables and views
- Getting ready
- How to do it.
- How it works.
- There's more
- Using custom tables and views
- Getting ready
- How to do it.
- How it works.
- Making configuration changes with PyEZ
- Getting ready
- How to do it.
- How it works...
- There's more
- Template configurations with Jinja2
- Getting ready
- How to do it.
- How it works...
- Chapter 6: Advanced Visualization Applications
- Introduction
- Visualizing graphs
- Getting ready
- Graph principles
- Graph data
- How to do it...
- Instantiating the template
- Drawing the graph
- Running the example graph
- How it works...
- Instantiating the template
- Drawing the graph
- Extracting graphs from ISIS
- Getting started
- ISIS primer
- How to do it...
- How it works...
- Extracting graphs from OSPF
- Getting ready
- OSPF primer
- How to do it...
- How it works...
- Extracting graphs from MPLS VPNs
- Getting ready
- BGP MPLS VPN primer
- How to do it...
- How it works...
- There's more
- Chapter 7: Monitoring and Maintaining JUNOS
- Introduction
- Monitoring configuration changes network-wide
- Getting ready
- How to do it.
- SSH file transfer
- JUNOS OS event policy
- Web server application
- Web client application
- How it works...
- SSH File Transfer
- JUNOS OS event policy
- Web server application
- Web client application
- There's more
- Monitoring interface performance
- Getting ready
- Object-oriented primer for Node.js
- How to do it.
- Server application
- Web client application
- Setting up and Running
- How it works...
- Server application
- Web client application
- There's more
- Monitoring system health
- Getting ready
- How to do it...
- Server application
- Web client application
- How it works...
- Server application
- Client application
- Running the application
- There's more
- Monitoring MPLS LDP statistics
- Getting ready
- How to do it...
- Server application
- Web client application
- How it works...
- Server application
- Web client application
- Chapter 8: Security Applications
- Introduction
- Enforcing configuration standards through commit scripts
- Getting ready
- How to do it...
- How it works...
- Loopback address
- IGP interface deletion
- EBGP policy default
- Building BGP route filters
- Getting ready
- How to do it...
- How it works...
- Applying anti-spoofing filters
- Getting ready
- How to do it...
- How it works...
- There's more
- Operating a distributed ACL function
- Getting ready
- How to do it...
- How it works...
- Chapter 9: Extending JUNOS with Ansible
- Introduction
- Installing Ansible
- Getting ready
- How to do it...
- How it works...
- There's more
- Configuring Ansible for JUNOS
- Getting ready
- How to do it..
- How it works...
- Extracting estate-wide configurations
- Getting ready
- How to do it...
- How it works...
- There's more...
- Performing platform-specific or group-specific operations
- Getting ready
- How to do it...
- How it works...
- Using variables and vaults
- Getting ready
- How to do it...
- How it works...
- Index
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.