Books & Videos

Table of Contents

  1. Chapter 1 Introduction

    1. Benefits of Automation

    2. Management System Internals

    3. Configuration Databases and the Commit Model

    4. Information About the Book

  2. Chapter 2 RPC Mechanisms

    1. Structured Data Model

    2. Running RPCs on a Junos Device

    3. Operational RPCs

    4. Configuration with RPCs

    5. Chapter Summary

  3. Chapter 3 The RESTful API Service

    1. Enabling the RESTful API Service

    2. HTTP GET Requests

    3. Authentication and Authorization

    4. Formatting HTTP Responses

    5. HTTP POST Requests

    6. Adding Parameters to RPCs

    7. Multiple RPCs in One Request

    8. Configuration

    9. RESTful API Explorer

    10. Using the RESTful APIs in Python

    11. Additional RESTful API Service Configuration

    12. Internal Design

    13. Limitations

    14. Chapter Summary

  4. Chapter 4 Junos PyEZ

    1. Installation

    2. Device Connectivity

    3. RPC Execution

    4. RPC Responses

    5. Operational Tables and Views

    6. Configuration

    7. Utilities

    8. A PyEZ Example

    9. Limitations

    10. NETCONF Libraries for Other Languages

    11. Chapter Summary

  5. Chapter 5 Commit Scripts

    1. Use Cases

    2. Basic Execution Flow

    3. Changing the Configuration

    4. Writing Commit Scripts in SLAX/XSLT

    5. Commit Script Examples

    6. Chapter Summary

  6. Chapter 6 Op Scripts

    1. Use Cases

    2. Overview of Op Script Operation

    3. Operational and Configuration State

    4. Op Script Input and Output

    5. Some Useful Tools for Op and Event Scripts

    6. Debugging Op and Event Scripts

    7. Configuring Op Scripts

    8. Examples

    9. Chapter Summary

  7. Chapter 7 Event Scripts and Event Policies

    1. Overview of Event Script Operation

    2. Event Policies

    3. Configuring Event Scripts

    4. Example: Responding to a Flapping Link

    5. Chapter Summary

  8. Chapter 8 Initial Provisioning

    1. ZTP

    2. Netconify

    3. Chapter Summary

  9. Chapter 9 Puppet

    1. Puppet Architecture

    2. Components for Junos Devices

    3. Installation and Configuration

    4. The Puppet Language

    5. Using Core Resource Types

    6. Using the netdev Resource Types

    7. Chapter Summary

  10. Chapter 10 Ansible

    1. Architecture and Communication

    2. Installation and Configuration

    3. Creating Ansible Playbooks

    4. Ansible for Junos Modules

    5. Example Playbooks

    6. Chapter Summary

  11. Chapter 11 Putting Automation into Practice

    1. Use Cases

    2. Best Practices

    3. Wrap-Up