万本电子书0元读

万本电子书0元读

顶部广告

JUNOS Automation Cookbook电子书

售       价:¥

0人正在读 | 0人评论 9.8

作       者:Adam Chappell

出  版  社:Packt Publishing

出版时间:2017-09-27

字       数:49.1万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Administer, configure, and monitor Junos in your organization About This Book ? Get well acquainted with security and routing policies to identify the use of firewall filters. ? Learn to provide end-user authentication and protect each layer in an enterprise network. ? A recipe-based guide that will help you configure and monitor Junos OS and basic device operations. Who This Book Is For This book targets network engineers, developers, support personals, and administrators who are working on devices running Junos OS and are looking at automating their organisation's operations. Some understanding about Junos would be necessary What You Will Learn ? Start using NETCONF RPC standard and understand its usefulness in programming JUNOS ? Write SLAX *s to respond to events in the JUNOS environment ? Automate JUNOS with PyEZ ? Deal with events in the JUNOS environment, and writing response handlers to deal with them ? Make the most of automation technologies to help with maintenance and monitoring of JUNOS ? Use the Ansible framework to extend the automation functionality of Junos In Detail The JUNOS Automation Cookbook is a companion guide for the complex field of automating tasks on JUNOS devices. With a foundation in industry-standrd XML, JUNOS provides an ideal environment for programmatic interation, allowing you to build upon the capabilities provided by Juniper, with your own original code. You will begin by learning about, and setting up, the industry-standard NETCONF remote procedure call mechanisms on your device. After initial setup, you'll walk through SLAX - Juniper's foundation *ing language - for manipulating XML representations of JUNOS concepts and elements. You'll learn how to write your own SLAX *s to customise the operating environment, and also how to write proactive event handlers that deal with situations as they happen. You'll then delve into PyEZ - Juniper's bridging framework to make automation accessible to Python code - allowing you to build automation applications in the popular *ing language. You'll witness some examples of how to write applications that can monitor configuration changes, implement BGP security policies and implement ad-hoc routing protocols, for those really tricky situations. You'll also leaarn how asynchronous I/O frameworks like Node.js can be used to implement automation applications that present an acceptable web interface. Along with way, you'll explore how to make use of the latest RESTful APIs that JUNOS provides, how to visualize aspects of your JUNOS network, and how to integrate your automation capabilities with enterprise-wide orchestration systems like Ansible. By the end of the book, you'll be able to tackle JUNOS automation challenges with confidence and understanding, and without hassle. Style and Approach A guide that will cover all the automation tools along with steps on leveraging these tools
目录展开

Title Page

Copyright

JUNOS Automation Cookbook

Credits

About the Author

About the Reviewer

www.PacktPub.com

Why subscribe?

Customer Feedback

Preface

What this book covers?

What you need for this book

Who this book is for

Sections

Getting ready

How to do it…

How it works…

There's more…

See also

Conventions

Reader feedback

Customer support

Downloading the example code

Downloading the color images of this book

Errata

Piracy

Questions

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...

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...

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...

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…

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...

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

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

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...

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...

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部