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 可编程网络自动化
65
4
在网络场景中学习
Python
身为一名网络工程师,现在正是你学习自动化和编写代码的最佳时机。正如第
1
章所述,
网络行业正在发生根本性的变化。事实上,从
20
世纪
90
年代末到
2010
年左右
,无论是在
架构还是运维方面,网络都没有什么太大的变化。在这段时间里,作为网络工程师的你,
毫无疑问需要成百上千次输入同样的
CLI
命令来配置和调试网络设备。这着实让人抓狂。
学习读写代码尤其要围绕着网络运维才有意义。其实,编写脚本或少量代码来收集或更改
网络信息根本算不上什么新鲜事。这种做法早已存在多年了。有些工程师正是如此践行
的,他们选用自己的语言进行编码、学习使用复杂的解析技术和正则表达式处理原始文
本,以及在脚本中查询
SNMP
MIB
。如果你自己也尝试过,那么肯定知道这是可行的,只
不过与正则表达式和文本解析打交道实在是既费时又枯燥。
幸运的是,事情正在沿着正确的方向发展,网络自动化的门槛也比以往更加易于跨越。我
们不仅看到了网络厂商取得的进步,也看到了可用于网络自动化的开源工具的进步,两者
在本书中均有涉及。例如,如今的网络设备
API
、由厂商和社区提供支持的
Python
库,
及可自由使用的开源工具,让你和其他所有网络工程师都能够进入这个蓬勃发展的生态系
统,开启你们的网络自动化之旅。这最终意味着需要编写的代码会比过去更少,而更少的
代码意味着更快的开发和更少的
bug
在深入学习
Python
的基础知识之前
,还有一个更为重要的问题,因为它总是出现在网络工
程师之间的对话中:
网络工程师是否应该学习代码
4.1 ...
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