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 可编程网络自动化
414
附录
A
在撰写本书之时,
OVS
Hyper-V
的移植已经接近完成。包括
OpenStack
在内的很多管理
和编排系统支持
OVS
鉴于
OVS
SDN
和网络自动化领域的突出作用
,在一本关于网络自动化的书中介绍
OVS
可以说是众望所归。然而,由于
OVS
支持的众多特性
,我们只能对讨论范围做出限制。
因此,本书将重点关注以下
3
个核心方面。
安装
OVS
(仅限于
Linux
系统)
配置
OVS
将工作负载连接到
OVS
先从安装
OVS
开始。
A.5.1
 安装
OVS
由于
OVS
的架构(由用户空间守护进程和内核模块组成),安装
OVS
的过程视
Linux
行版以及要使用的
OVS
内核模块版本而异。
3.3
版开始
,上游的
Linux
内核已经附带了
OVS
模块。要使用上游的内核模块,无须额
外的操作,只需安装用户空间组件即可。另外,如果偏好使用
OVS
树的内核模块
(可能比
上游模块更新,因此支持更多的特性),那么就得为当前运行的内核安装并编译内核模块。
如果想验证所用的
Linux
内核是否支持上游的
OVS
内核模块,那么只需运
modprobe openvswitch
即可。(如果没有
root
权限,则可能要使用
sudo
)
如果命令报错,那么说明内核没有
OVS
上游模块,你需要安装一个内核模
块。记住,上游的
OVS
模块是从
Linux
内核
3.3
版本开始有的,所以大多数
的现代发行版内核中包含上游的
OVS
模块。
Debian 8.
x
Ubuntu 14.04
中,用户空间组件和内核模块的安装包都可以在主仓库中找
到。因此,只需使用
apt-get ...
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