Index
A
access control list logging
reference link 222
Advanced Research Projects Agency Network (ARPANET) 11
Amazon Elastic Compute Cloud (EC2)
reference link 347
Amazon GuardDuty
about
reference link
Amazon Resource Names (ARNs)
reference link 347
Amazon's scale and networking
reference link 334
Amazon virtual private cloud (Amazon VPC)
about 347, 348, 349, 350, 351, 352
automation, with CloudFormation 354, 355, 356, 358
Amazon Web Services (AWS)
about 333
URL 333
Ansible
control node installation 123, 124
example 123
examples, reference link 191
network access lists, implementing with 216, 217, 218, 220
reference link 19
testing for 525
using, advantages 216
versions, running from source 124, 125
Ansible 2.4
reference link 185
Ansible 2.5, loop keyword
reference link 170
Ansible 2.8 playbook
Ansible, advantages
about 132
agentless 132
extensible 133
idempotence 133
network vendor support 134
simple 133
Ansible architecture
about 135
inventories 137
inventory 136
variables 136, 139, 140, 141, 143
YAML 136
Ansible Arista
example
ansible.cfg options
reference link 158
Ansible Cisco
Ansible conditionals
Ansible network facts 163, 164, 165
network module conditional 165, 166, 167
Ansible conditionals documentation
reference link 162
Ansible documentation for Windows
reference link 123
Ansible Galaxy
reference link 191
Ansible include
about 186
Ansible include statement
Ansible Jinja2 template
reference link 143
Ansible Juniper
example 155
Ansible loops
about 167
looping, over dictionaries 170, 171, 172
Ansible loops, types
reference link 172
Ansible network facts 163, 164, 165
about 163
Ansible networking modules
about 144
facts 144
local connections 144
Ansible playbook
public key authorization 127, 128
Ansible playbook role
reference link 188
Ansible Python 3 support
reference link 122
Ansible roles
about 186, 187, 188, 189, 190, 191
Ansible testing, strategy
references 525
Ansible UFW module
reference link
Ansible Vault
reference link 183
APIC-EM
API structured output
versus screen scraping 78, 79, 81
AppleTalk hosts 11
Application Centric Infrastructure (ACI)
about 83
application program interface (API) 35, 75
Arista eAPI
management 109
Arista Pyeapi documentation
reference link 116
Arista Pyeapi library
about 115
reference link 115
Arista Python API
about 107
reference link 107
Arista vEOS
reference link 47
Availability Zones (AZ)
about 339
Availability Zones (AZs) 382
AWS CLI
installation link 336
AWS CloudFomation
URL 354
AWS CloudFormation
automation with 354
AWS console
URL 335
AWS Direct Connect
reference link 365
AWS. Elastic Cloud
reference link 420
AWS Global Cloud Infrastructure
reference link 339
AWS network
overview 339, 340, 341, 343, 344, 345, 346, 347
AWS network service
versus Azure network service 370, 372
AWS network services
about 368
AWS regions 344
AWS Shield
about
reference link
AWS Transit VPC
about 368
reference link 368
AWS WAF
about
reference link
Azure
Azure administration 375, 376, 378
Azure ExpressRoute
advantages 406
disadvantages 407
Azure global infrastructure 382, 383
Azure Network Load Balancers 407, 408
Azure network service
versus AWS network service 370, 372
Azure network services
about 409
Azure service principal 378, 379, 380
Azure virtual networks
internet access 386, 387, 388, 389
network resource creation 390, 391
VNet service endpoint 391, 392
Azure virtual v
VNet peering 394
B
Beats
reference link 432
using, for data ingestion 432, 433, 434, 435, 436, 437, 438
bogon networks
URL 216
Boolean query
reference link 441
Boto3 VPC API
reference link 352
Bring Your Own Device (BYOD)
about 213
C
Cacti
reference link 254
Cacti documentation
reference link 258
Canvas
reference link
Cerberus
reference link 525
change-advisory board (CAB)
about 478
challenges 480
change management process 478
Cisco
URL 45
Cisco ACI
Cisco API
about 83
Cisco Certified Internetwork Expert (CCIE)
about 40
Cisco Connection Online (CCO) 44
Cisco dCloud
URL 41
Cisco DevNet
Cisco IOS MIB locato
reference link 232
Cisco Meraki
reference link 96
Cisco NX-API
about 84
device preparation 84
lab software, installing 84
reference link 84
Cisco VIRL
advantages 41
URL 42
Cisco YANG models
about 90
reference link 91
client-server model 11
cloud data centers 6
CloudFront CDN services
about 368
command-line interface (CLI)
about 336
command line interfaces (CLIs)
about 35
common module boilerplate, from Ansible
reference link
configuration backup
automating 476
container networking
reference link 409
containers
content delivery network (CDN)
about 368
content management
considerations 448
context locals
reference link 310
Continuous Integration (CI)
about 480
for network automation 502
references 526
workflow 481
custom module
D
data
ingestion, Beats using 432, 433, 434, 435, 436, 437, 438
ingestion, Logstash using 429, 430, 431, 432
data center networking (DCN) 36
data centers
cloud data centers 6
edge data centers 7
enterprise data centers 5
rise 5
data modeling
reference link 81
data visualization
date plotting capabilities
reference link 243
DDoS protection
reference link 409
Dense wavelength division multiplexing (DWDM) 4
DevNet certifications
reference link 45
dictionary 27
Direct Connect
disadvantages, Python Paramiko library
about 74
bad automation speeds
idempotent network device interaction 74
disadvantages, Python Pexpect library
about 74
bad automation speeds
idempotent network device interaction 74
distributed denial-of-service (DDoS)
about
reference link
Distributed Denial of Service (DDoS)
Django
about 300
database documentation, reference link 300
reference link 300
DNS services
reference link 409
Domain Name System (DNS) 14
E
edge data centers 7
Elastic Compute Cloud (EC2) 334
Elastic IP (EIP)
reference link 361
Elastic Load Balancing (ELB)
about 367
reference link 367
Elasticsearch
using, for search 438, 439, 440, 441, 442, 443
Elasticsearch product
reference link 421
Elastic Stack
URL 411
ElastiFlow project
reference link 437
Emulated Virtual Environment Next Generation (Eve-NG)
about 47
URL 47
enterprise data centers 5
Equinix Cloud Exchange Fabric
reference link 366
extensible markup language (XML) 97
extensive API
reference link
F
Flask
jsonify() return 311
running, in containers 331, 332
Flask Application
deploying, reference link 331
Flask-Login extension
reference link 331
Flask-SQLAlchemy
about 312
reference link 312
floor division 29
G
Genie
Git
advantages 450
collaborating with
usage, examples 454, 456, 458, 459, 461
Git glossary
reference link 451
GitHub
collaborating, with pull requests 470, 471, 472, 473
example 465, 466, 467, 468, 469
URL 451
Gitignore
references 454
GitPython
reference link 473
Git terminologies
about 451
branch 451
checkout 451
commit 451
fetch 451
merge 451
pull 451
ref 451
repository 451
tag 451
Git, with Python
about 473
Global Information Tracker (GIT)
about 449
GNS3
Grok
reference link 429
group variables
H
host_key_checking
reference link 158
hosts 4
host variables
HTTP Bin
URL 305
HTTPie client
usage, reference link 306
I
idempotence
reference link 133
Identify and Access Management (IAM)
reference link 346
implicit router 352
infrastructure-as-a-service (IaaS) 6
Infrastructure-as-a-Service (IaaS) 370
about 333
reference link 333
infrastructure as code (IaC)
INI-style file
reference link 129
intent-based networking (IBN 77
intent-driven networking (IDN)
about 77
intermediate distribution frame (IDF) 5
International Organization for Standardization (ISO) 9
internet
overview 3
Internet Assigned Numbers Authority (IANA) 12
Internet Control Message Protocol (ICMP) 203
Internet of Things (IoT) 4
internet protocol (IP) 14
about 15
network address translation (NAT) 15
network security 16
Internet Protocol (IP) 4
routing 16
internet service provider (ISP) 3
Internetwork Operating System (IOS) 38
inventories 137
inventory file, Ansible
reference link 138
IPX/SPX protocol 11
J
Jenkins
about 490
advantages 490
download link 482
example 484
installation link 481
integration 526, 527, 528, 529, 530, 531
pytest 526
using, with Python 501
Jinja2
about 143
URL 143
Jinja2 conditional
Jinja2 loops
about 177
Jinja2 template language
reference link 173
Jinja2 template variables
jsonrpclib
reference link 111
references 111
Juniper
about 97
Juniper networks
Python API 96
Juniper PyEZ, for developers
about 101
Juniper vMX
reference link 47
JunOS Olive 98
Junos PyEZ developer guide
reference link 102
K
Kibana
using, for data visualization 443, 444, 445
Kirk Byers
URL 69
L
lab
preparing 158
setting up 196, 197, 198, 199, 200
lab setup 127
Linux Foundation
reference link 449
local area network (LAN) 3
Logstash
using, for data ingestion 429, 430, 431, 432
Logstash modules
reference link 431
looping
over dictionaries 170, 171, 172
M
MAC access lists
main distribution frame (MDF) 5
management
about 109
mapping 27
Matplotlib
about 240
for SNMP results 243, 244, 245, 246, 247
installation 241
resources 248
resources, reference link 248
URL 240
multiprotocol label switching (MPLS) 96
Multi Router Traffic Grapher (MRTG)
about 254
reference link 254
N
NAPALM
reference link
NAPALM library
reference link 73
NAT Gateway 345
NAT gateways
NETCONF XML management protocol
reference link 97
Netmiko
reference link
Netmiko library
reference link 69
network access lists
about 215
implementing, with Ansible 216, 217, 218, 220
network ACLs
network address translation (NAT) 42, 333
network components 4
network configuration
testing for 525
Network Configuration Protocol (NETCONF)
network continuous integration example 492, 493, 494, 495, 496, 497, 498, 499, 500
network dynamic operations
asynchronous operations 324, 325, 328
networking
tests, writing for 520
network lab
topology 414, 415, 416, 418, 419, 420
network latency
network module conditional
network modules, Ansible
reference link 134
network protocol suites
transmission control protocol (TCP) 12
user datagram protocol (UDP) 13, 14
network resource API
about 311
device ID API 321
Flask-SQLAlchemy 312, 313, 314
network content API 314, 316, 317, 318
network scaling services
about 366
Network Security Group (NSG) 397
None type 23
Nornir
reference link
Nornir framework
reference link 72
ntop
Python extension for 292, 293, 294
NumPy
reference link 240
nxos_snmp_contact module
reference link 140
O
object-oriented programming (OOP) 33
on-box Python
reference link 94
Open Shortest Path First (OSPF) 197
organizationally unique identifier (OUI) 220
OSI model
P
physical devices
about 38
advantages 39
disadvantages 39
ping collection
PKI
reference link 128
Platform-as-a-Service (PaaS) 370
about 333
reference link 333
playbooks
port address translation (PAT)
about 362
PowerShell
versus Python 381
Private VLANs
about 225
categories 226
pyATS
reference link 531
Pyeapi APIs
reference link
Pygal
about 248
examples, reference link 249
for SNMP results 251, 252, 253
installation 249
references 253
resources 253
URL 248
PyGitHub
reference link 474
PySNMP
about 233, 234, 235, 236, 238, 239
example, reference link 234
pytest
in Jenkins 526
Python
built-in types 23
classes 33
dictionary 27
extension, for ntop 292, 293, 294
for data visualization 240
functions 32
mapping 27
modules 34
None type 23
numerics 23
operating system 19
packages 34
reference link 16
sets 28
testing 516
UFW with 226
versions 18
versus PowerShell 381
Python 3
reference link 19
Python API
for Juniper networks 96
Python byte string
reference link 53
Python client
Python code
URL 449
Python Elasticsearch client
reference link 428
Python for Cacti
about 254
Python modules
specification 293
Python Paramiko library
features 66
installation link 61
program 65
Python Pexpect library
features, reference link 57
overview 49, 50, 51, 52, 53, 55
program 55
Python virtual environment, using 48
with secure shells (SSH) 57, 58
Python program
Python regular expressions
reference link 53
Python's
unittest module 512, 513, 514, 515, 516
Python Scapy
about 200
attacks 214
attacks, reference link 214
packet, capturing with 205, 206
resources 215
TCP port scan 206, 209, 210, 211
URL 200
Python script
first job 485, 486, 487, 488, 489
using, as input source 257, 258
Python SDK
about 336
Python virtual environment
reference link 48
using 48
Python web frameworks
reference link 299
Python wrapper modules
reference link
Q
Quora
reference link 300
R
reachability
reference link 300
regular expression module
remote access API
reference link 501
remote procedure calls (RPC) 97
return merchandise authorization (RMA) 136
round-robin database tool (RRDtool)
about 254
reference link 254
Route 53 DNS service
S
Scalable Vector Graphics (SVG) 248
screen scrap
disadvantages 79
screen scraping
versus API structured output 78, 79, 81
secure shells (SSH)
about 57
Python Pexpect library with 57, 58
security
testing for 523
security groups
servers 4
service-level agreement (SLA)
about 365
set 28
sFlow
about 294
reference link 294
sFlow-RT
download link
reference link
SFlowtool
shebang 21
Simple Network Management Protocol (SNMP)
SNMP results
Matplotlib for 243, 244, 245, 246, 247
Software-as-a-Service (SaaS) 370
about 333
reference link 333
Software-Defined Networking (SDN) 333
standard loops
Syslog search
reference link 222
T
TCP/IP Guide
URL 13
TCP port scan
Telecommunication Standardization Sector of the International Telecommunication Union (ITU-T) 9
template
Jinja2 loops 177
Jinja2 template variables 175, 176
templates
Jinja2 conditional 177, 179, 180
module, reference link 172
ternary content-addressable memory (TCAM) 215
test-driven development (TDD)
about 503
testing
for network configuration 525
for security 523
for transactions 524
Testing On Demand
Distributed (ToDD)
about 520
reference link 520
tests
writing, for networking 520
Tier-Zero service 477
Timelion
reference link
Tool Command Language (TCL) 48
topology
as code 506, 507, 508, 509, 510, 511, 512
transactions
testing for 524
transmission control protocol (TCP)
about 12
characteristics 12
data transfer 13
functions 12
messages 13
U
UFW
with Python 226
Uncomplicated Firewall (UFW) 195
unittest module
reference link 514
user authentication 328, 329, 330, 331
user authorization 328, 329, 330
user datagram protocol (UDP)
reference link 14
V
virlutils
reference link 41
virtual devices
advantages 39
disadvantages 39
Virtual Internet Routing Lab (VIRL)
about 40
reference link 40
virtual lab
constructing 38
physical devices 38
virtual local area networks (VLANs)
about 225
virtual machine (VM) 415
virtual network TAP
reference link 409
virtual private cloud (VPC) 345
virtual private gateway (VPN)
about 364
VNet routing
network security groups 400, 401, 402
VPN gateways
vSRX
reference link 47
VyOS
examples
image, download link
URL
W
when clause
Y
YAML
about 136
URL 130
Yet Another Next Generation (YANG)
about 82