Skip to Content
可编程网络自动化
book

可编程网络自动化

by Jason Edelman, Scott S. Lowe, Matt Oswalt
January 2023
Intermediate to advanced
458 pages
14h 16m
Chinese
Posts & Telecom Press
Content preview from 可编程网络自动化
自动化工具
317
9.3
 使用
Salt
实现自动化
Salt
是一款功能强大的框架,旨在作为一种极快的轻量级通信总线,提供诸如自动化配
置管理、云供给、网络自动化、事件驱动自动化等能力,以便实现基础设施的现代网络
运维。
Salt
非常
灵活,就像本章中介绍的其他工具一样,你可以用
Salt
自动化各种各样的网络设
备和组件。尽管有些复杂,但你还是能在几分钟内设置好
Salt
,开始自动化网络设备。
与上一节讲过的
Ansible
类似,本节的目标是提供足够多的入门知识,以便你立刻使用
Salt
着手常见网络任务的自动化。为此,我们将本节分为
6
个主要部分。
理解
Salt
架构
熟悉
Salt
使用
Salt
管理网络配置
远程执行
Salt
函数
深入
Salt
的事件驱动基础设施
进一步深入
Salt
9.3.1
 理解
Salt
架构
从架构角度来看,
Salt
被设计为一个具备可插入接口的简单核心。你在本节中会看到,
Salt
中的一切都是可插入且可扩展的,包括创建新的设备驱动程序来自动化使用不同
API
的网
络设备。说到底,
Salt
可用于自动化任意类型的网络设备。
Salt
在开
发之初采用的是基于代理的架构,但这种架构并不能很好地适用于网络自动化,
究其原因,是因为在所有类型的网络设备上加载软件代理并非易事。事实上,对传统网络
设备而言,这颇为困难,甚至不可能实现。鉴于对无代理自动化解决方案的需求,
Salt
新了其架构,同时提供了无代理和基于代理的解决方案。此外,无论选择哪一种部署方
式,
Salt
都有利于事件驱动的网络自动化,本节随后会讲到。 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

弱监督学习实用指南

弱监督学习实用指南

Wee Hyong Tok, Amit Bahree, Senja Filipi
Python和NLTK实现自然语言处理

Python和NLTK实现自然语言处理

Posts & Telecom Press, Nitin Hardeniya
Go程序设计语言

Go程序设计语言

艾伦A. A.多诺万, 布莱恩W. 柯尼汉
Python机器学习案例精解

Python机器学习案例精解

Posts & Telecom Press, Yuxi (Hayden) Liu

Publisher Resources

ISBN: 9787115606181