Skip to Content
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
Explore Skills
Cloud Computing
Microsoft Azure
Amazon Web Services (AWS)
Google Cloud
Cloud Migration
Cloud Deployment
Cloud Platforms
Data Engineering
Data Warehouse
SQL
Apache Spark
Microsoft SQL Server
MySQL
Kafka
Data Lake
Streaming & Messaging
NoSQL Databases
Relational Databases
Data Science
Pandas
R
MATLAB
SAS
D3
Power BI
Tableau
Statistics
Exploratory Data Analysis
Data Visualization
AI & ML
Generative AI
Machine Learning
Artificial Intelligence (AI)
Deep Learning
Reinforcement Learning
Natural Language Processing
TensorFlow
Scikit-Learn
Hyperparameter Tuning
MLOps
Programming Languages
Java
JavaScript
Spring
Python
Go
C#
C++
C
Swift
Rust
Functional Programming
Software Architecture
Object-Oriented
Distributed Systems
Domain-Driven Design
Architectural Patterns
IT/Ops
Kubernetes
Docker
GitHub
Terraform
Continuous Delivery
Continuous Integration
Database Administration
Computer Networking
Operating Systems
IT Certifications
Security
Network Security
Application Security
Incident Response
Zero Trust Model
Disaster Recovery
Penetration Testing / Ethical Hacking
Governance
Malware
Security Architecture
Security Engineering
Security Certifications
Design
Web Design
Graphic Design
Interaction Design
Film & Video
User Experience (UX)
Design Process
Design Tools
Business
Agile
Project Management
Product Management
Marketing
Human Resources
Finance
Team Management
Business Strategy
Digital Transformation
Organizational Leadership
Soft Skills
Professional Communication
Emotional Intelligence
Presentation Skills
Innovation
Critical Thinking
Public Speaking
Collaboration
Personal Productivity
Confidence / Motivation
Features
All features
Verifiable skills
AI Academy
Courses
Certifications
Interactive learning
Live events
Superstreams
Answers
Insights reporting
Radar Blog
Buy Courses
Plans
Sign In
Try Now
O'Reilly Platform
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
可编程网络自动化
网络自动化
|
25
虽然从网络的角度来看
REST
和
RESTful API
这些术语都是新词,但其实在使用
Web
浏览
器上网的时候,你已经和很多
RESTful
系统打过交道了
。之前说过,
REST
是一种网络应
用程序的开发风格。这种风格依赖于无状态的客户端
–
服务
器模型。在该模型中,客户端
负责跟踪会话,服务器不保存任何客户端的状态或上下文。更奇妙的是,底层传输协议采
用的是最常见的
HTTP
。这听起来是不是和互联网的大多数系统一样?
这意味着
RESTful API
的操作就像基于
HTTP
的系统一样
。首先,需要有一个能够通过
URL
访问的
We
b
服务器(也就是要与之通信的
SDN
控制器
或
网络设备
);其次,需要向
URL
发送相关的
HTTP
请求
。如果想从
SDN
控制器处检索设备列表,那么只需向指定的
URL
发送
HTTP
GET
请求即可。返回的响应信息是某种类型的结构化数据,比如
XML
或
JSON
(第
5
章中会讲到)
。
还有一些尚未涉及的内容,比如身份认证、数据编码以及如何发送
HTTP
请
求(
HTTP
PUT/POST/PATCH
)来更改配置
。本节只是对
REST
和
RESTful API
做一个简短的介绍,
更多的细节详见第
7
章。
接下来简单了解一下
开放网络运动
对于整个网络设备管理的影响。
2.3.2
开放网络运动的影响
开放
一切逐渐成了一种趋势——开放源码、开放网络、
Open API
、
OpenFlow
、
Open Compute
、
Open vSwitch
、
OpenDaylight
、
OpenConfig
等
。尽管“开放”一词的定义有待商榷,但有 ...
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.
Start your free trial
You might also like
Python和NLTK实现自然语言处理
Posts & Telecom Press, Nitin Hardeniya
Go程序设计语言
艾伦A. A.多诺万, 布莱恩W. 柯尼汉
弱监督学习实用指南
Wee Hyong Tok, Amit Bahree, Senja Filipi
Python实用技能学习指南
Posts & Telecom Press, Robert Smallshire, Austin Bingham
Publisher Resources
ISBN: 9787115606181