Book description
How can you grow and maintain a reliable, flexible, and cost-efficient network in the face of ever-increasing demands? With this practical guide, network engineers will learn how to program Juniper network devices to perform day-to-day tasks, using the automation features of the Junos OS. Junos supports several automation tools that provide powerful solutions to common network automation tasks. Authors Jonathan Looney and Stacy Smith, senior testing engineers at Juniper, will help you determine which tools work best for your particular network requirements.
Publisher resources
Table of contents
- Foreword
- Preface
- 1. Introduction
- 2. RPC Mechanisms
-
3. The RESTful API Service
- Enabling the RESTful API Service
- HTTP GET Requests
- Authentication and Authorization
- Formatting HTTP Responses
- HTTP POST Requests
- Adding Parameters to RPCs
- Multiple RPCs in One Request
- Configuration
- RESTful API Explorer
-
Using the RESTful APIs in Python
- The Preamble
- Loop Through Each Device
- Gather LLDP Neighbor Information
- Gather and Parse Interface Descriptions
- Check for XML Warnings and Errors
- Compare Current and Previous LLDP Neighbor Information
- Build a Candidate Configuration
- Apply and Commit the Candidate Configuration
- Parse Multi-RPC Responses
- Putting It All Together
- Additional RESTful API Service Configuration
- Internal Design
- Limitations
- Chapter Summary
- 4. Junos PyEZ
- 5. Commit Scripts
- 6. Op Scripts
- 7. Event Scripts and Event Policies
- 8. Initial Provisioning
- 9. Puppet
- 10. Ansible
- 11. Putting Automation into Practice
- Glossary
- Index
Product information
- Title: Automating Junos Administration
- Author(s):
- Release date: April 2016
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491928882
You might also like
book
Network Warrior, 2nd Edition
Pick up where certification exams leave off. With this practical, in-depth guide to the entire network …
book
Learning ServiceNow
IT service management automation at your fingertipsAbout This Book Learn to leverage ServiceNow's capabilities for improved …
book
Practical Packet Analysis, 3rd Edition
It's easy to capture packets with Wireshark, the world's most popular network sniffer, whether off the …
book
RADIUS
The subject of security never strays far from the minds of IT workers, for good reason. …