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 可编程网络自动化
160
7
另一个需要注意的常见区别是各个
API
调用所使用的
URL
。如果你所用的基于
HTTP
API
总是使用相同的
URL
,而且不允许通过改变
URL
来访问特定的资源
,那么该
API
是基于
HTTP
RESTful
API
在网络基础设施上拥有基于
HTTP
API
是沿着行业正确方向迈出的重要一步
,在理想情
况下,所有
HTTP
API
都应遵循
REST
原则。
尽管可以选择相同的工具来使用基于
HTTP
RESTful
API
和非
RESTful API
,但务必认
识到两者之间的差别,因为基于
HTTP
的非
RESTful
API
往往不如
RESTful API
灵活。
介绍完基于
HTTP
API
,接下来将重点转向
NETCONF API
7.1.2
 深入
NETCONF
NETCONF
是在
RFC 6241
中定义的一种全新设计的网络管理协议,用于配置管理以及检
索网络设备的配置和操作状态数据。
NETCONF
在配置和操作状态之间划分了明确的界限
API
请求用于执行不同的操作,比如检索配置状态、检索操作状态以及更改配置。
上一节讲过,
RESTful API
并不是什么新事物,它的“新”仅仅是对网络
设备和
SDN
控制器而言。随着我们转向
NETCONF API
,值得指出的是,
NETCONF
也算不上新鲜,它从诞生到现在已经
10
多年了。事实上,作为
行业标准协议的
NETCONF
最初是在
2005
年的
RFC
中定义的。它甚至在各
种网络设备中已经存在多年了,尽管通常只是一种很少被用到的受限
API
NETCONF
的核心属性之一在于能够使用不同的配置数据库 ...
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