Automating Junos Administration - Stacy Smith, Jonathan Looney

Automating Junos Administration

Doing More with Less
Buch | Softcover
661 Seiten
2016
O'Reilly Media (Verlag)
978-1-4919-2888-2 (ISBN)
44,85 inkl. MwSt
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.

If you have experience with Junos, this book will show you how automation can make a big difference in the operation of your existing network.
  • Manage Junos software with remote procedure calls and a RESTful API
  • Represent devices as Python objects and manage them with Python’s PyEZ package
  • Customize Junos software to detect and block commits that violate your network standards
  • Develop custom CLI commands to present information the way you want
  • Program Junos software to automatically respond to network events
  • Rapidly deploy new Junos devices into your network with ZTP and Netconify tools
    Learn how to use Ansible or Puppet to manage Junos software

Jonathan Looney (JNCIE-SP #254, JNCIE-ER #2, JNCIE-SEC #43, CCIE Routing & Switching #7797 [Emeritus]), is a senior testing engineer with Juniper Networks. He has managed and automated networks. He has also written tools to automate testing and debugging. He has written training courses for Juniper Networks and also taught an information security course at Syracuse University for several semesters. At Juniper, he currently focuses on testing the Junos kernel and UI features, and conducts product security testing.

Stacy Smith is a senior testing engineer with Juniper Networks. He has over 20 years of experience developing network automation for enterprise and service provider networks, as well as automating internal testing of new Junos features at Juniper Networks. His experience with Junos dates back to version 3.1 with one of the first customers to deploy Juniper s first product, the M40 router. He holds a B.S. degree in Computer Science from the United States Air Force Academy and is certified with Juniper Networks as JNCIE-SP #4 and JNCIE-ER #4."

Chapter 1Introduction
Benefits of Automation
Management System Internals
Configuration Databases and the Commit Model
Information About the Book
Chapter 2RPC Mechanisms
Structured Data Model
Running RPCs on a Junos Device
Operational RPCs
Configuration with RPCs
Chapter Summary
Chapter 3The 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
Additional RESTful API Service Configuration
Internal Design
Limitations
Chapter Summary
Chapter 4Junos PyEZ
Installation
Device Connectivity
RPC Execution
RPC Responses
Operational Tables and Views
Configuration
Utilities
A PyEZ Example
Limitations
NETCONF Libraries for Other Languages
Chapter Summary
Chapter 5Commit Scripts
Use Cases
Basic Execution Flow
Changing the Configuration
Writing Commit Scripts in SLAX/XSLT
Commit Script Examples
Chapter Summary
Chapter 6Op Scripts
Use Cases
Overview of Op Script Operation
Operational and Configuration State
Op Script Input and Output
Some Useful Tools for Op and Event Scripts
Debugging Op and Event Scripts
Configuring Op Scripts
Examples
Chapter Summary
Chapter 7Event Scripts and Event Policies
Overview of Event Script Operation
Event Policies
Configuring Event Scripts
Example: Responding to a Flapping Link
Chapter Summary
Chapter 8Initial Provisioning
ZTP
Netconify
Chapter Summary
Chapter 9Puppet
Puppet Architecture
Components for Junos Devices
Installation and Configuration
The Puppet Language
Using Core Resource Types
Using the netdev Resource Types
Chapter Summary
Chapter 10Ansible
Architecture and Communication
Installation and Configuration
Creating Ansible Playbooks
Ansible for Junos Modules
Example Playbooks
Chapter Summary
Chapter 11Putting Automation into Practice
Use Cases
Best Practices
Wrap-Up

Erscheinungsdatum
Verlagsort Sebastopol
Sprache englisch
Maße 179 x 232 mm
Gewicht 1144 g
Einbandart kartoniert
Themenwelt Mathematik / Informatik Informatik Betriebssysteme / Server
Mathematik / Informatik Informatik Netzwerke
Schlagworte Juniper Networks • JUNOS • Netzwerkadministration
ISBN-10 1-4919-2888-3 / 1491928883
ISBN-13 978-1-4919-2888-2 / 9781491928882
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich