oreilly - Network Programmability and Automation.pdf

(2670 KB) Pobierz
Network Programmability and Automation
by Jason Edelman , Scott S. Lowe , and Matt Oswalt
Copyright © 2015 Jason Edelman, Scott Lowe, Matt Oswalt. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc. , 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are
also available for most titles (
http://safaribooksonline.com
). For more information, contact our corporate/
institutional sales department: 800-998-9938 or corporate@oreilly.com .
Editors:
Mike Loukides and Brian Anderson
Production Editor:
FILL IN PRODUCTION EDI‐
Copyeditor:
FILL IN COPYEDITOR
TOR
Proofreader:
FILL IN PROOFREADER
Indexer:
FILL IN INDEXER
Interior Designer:
David Futato
Cover Designer:
Karen Montgomery
Illustrator:
Rebecca Demarest
January -4712:
First Edition
Revision History for the First Edition
2015-12-17:
First Early Release
See
http://oreilly.com/catalog/errata.csp?isbn=9781491931219
for release details.
The O’Reilly logo is a registered trademark of O’Reilly Media, Inc. {{ TITLE }}, the cover image, and
related trade dress are trademarks of O’Reilly Media, Inc.
While the publisher and the author(s) have used good faith efforts to ensure that the information and
instructions contained in this work are accurate, the publisher and the author(s) disclaim all responsibil‐
ity for errors or omissions, including without limitation responsibility for damages resulting from the use
of or reliance on this work. Use of the information and instructions contained in this work is at your own
risk. If any code samples or other technology this work contains or describes is subject to open source
licenses or the intellectual property rights of others, it is your responsibility to ensure that your use
thereof complies with such licenses and/or rights.
978-1-491-93121-9
[FILL IN]
Table of Contents
1. Software
Defined
Networking. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
The Rise of Software Defined Networking
OpenFlow
What is Software Defined Networking?
Summary
5
5
9
20
21
22
23
23
25
26
26
27
32
38
41
42
45
45
53
56
57
61
64
2. Linux. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Linux in a Network Automation Context
A Brief History of Linux
Linux Distributions
Red Hat Enterprise Linux, Fedora, and CentOS
Debian, Ubuntu, and Other Derivatives
Other Linux Distributions
Interacting with Linux
Navigating the File System
Manipulating Files and Directories
Running Programs
Working with Daemons
Working with Background Services in Ubuntu Linux 14.04 LTS
Networking in Linux
Working with Interfaces
Routing as an End Host
Routing as a Router
Bridging (Switching)
Summary
Should Network Engineers Learn to Code?
3. Python. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
iii
Zgłoś jeśli naruszono regulamin