Curso Python Network Programming for Network Engineers
60 horasObjetivo
Após realizare este Curso Python Network Programming for Network Engineers você será capaz de:
- APRENDA A PROGRAMABILIDADE DE REDE COM GNS3 E PYTHON VERSÃO 3
- APRENDA COMO APROVEITAR O NAPALM PARA AUTOMAÇÃO DE REDE
- GUIA DE INÍCIO RÁPIDO USANDO TELNET E SSH – COMECE EM 20 MINUTOS!
- APRENDA COMO AUTOMATIZAR A CONFIGURAÇÃO DE DISPOSITIVOS DE REDE COM PYTHON
- USE NETMIKO PARA CONEXÕES SSH COM ROTEADORES E SWITCHES
- APRENDA COMO DIMENSIONAR SEUS SCRIPTS DE REDE
Publico Alvo
- Engenheiros de rede
- Arquitetos de Rede
- Se você está interessado em automação de rede
- Se você estiver interessado em programabilidade de rede
- Quem quiser aprender como se inscrever
- Programação Python para automação de rede
Pre-Requisitos
- Conhecimento básico de rede (nível CCNA)
- Compreensão básica do GNS3
Materiais
Inglês/Português/Lab PráticoConteúdo Programatico
Introduction
- Introduction
- Network Rhinos Tips and Tricks
- Answering your questions
Lab Set Up
- Important – please read
- GNS 2.2 GUI Install
- GNS3 2.2 VM Install
- GNS3 IOS images
- CML (VIRL 2.0) Install Part 1
- CML (VIRL 2.0) Install Part 2
- EVE-NG Installation
- EVE-NG Cisco Images
- DevNet: Free CML
Quick Start Guide to Network Automation
- Quick Start 1: GNS3 Lab Setup and IDEs
- Quick Start 2: Telnet Script creation
- Quick Start 3: Telnet Script Test
- Quick Start 4: Telnet to a switch and create VLANs
- Quick Start 5: Loops
- Quick Start 6: PEP8: Python Style Guide
- Quick Start 7: Configure switch VLANs using loops
- Quick start 8: Create a multiple switch network
- Quick Start 9: Open a file of switch IP addresess
- Quick Start 10: Configure multiple switch with a loop
- Quick Start 11: Loops within loops
- Quick Start 12: Backup Network Device Configurations
Netmiko: Use SSH for Network Automation
- Netmiko Part 1: Introduction
- Netmiko Part 2: Enable SSH on switches in network
- Netmiko Part 3: Your first Netmiko SSH Script
- Netmiko Part 4: Script for multiple switches
- Netmiko Part 5: Run script and configure multiple devices
- Netmiko Part 6: File of multiple Cisco commands
- Netmiko Part 7: Program multiple switches with file of commands
- Netmiko Part 8: Script to program entire network
- Netmiko Part 9: Run script to program entire network
NAPALM
- NAPALM Introduction (P75_12)
- NAPALM Python 3 versus 2.7
- Ubuntu versus Network Automation Container
- Install NAPALM (P68_13)
- NAPALM connect to switch 1 (P68_14)
- JSON and more commands (P68_16)
- Mac address table, ARP cache (P68_17)
NAPALM and BGP
- Use NAPALM to retrieve BGP neighbor information: Part 1 (P75_1)
- Use NAPALM to retrieve BGP neighbor information: Part 2 (P75_2)
- Use NAPALM to retrieve BGP neighbor information: Part 3 (P75_3)
- NAPALM: Multiple BGP neighbors (P75_4)
- NAPALM and bigger BGP Network Part 1 (P75_5)
- NAPALM and bigger BGP network Part 2 (P75_5b)
Use NAPALM for device configuration audit and changes
- Use NAPALM to configure Access lists (P75_6)
- Check if ACL already exists and add if missing (P75_7)
- Use NAPALM for auditing device configs (P75_8)
- Use NAPALM to add multiple config files (P75_9)
- NAPALM: Multiple config files, multiple devices (P75_10)
Iteration Examples: Netmiko scripts
- Netmiko Iteration: Script Overview
- Netmiko Iteration (Script 1): Basic Script
- Netmiko Iteration (Script 2): Open a file of commands
- Netmiko Iteration (Script 3): Configure multiple devices using a file of devices
- Netmiko Iteration (Script 4): Remove passwords from script
- Netmiko Iteration (Script 5): Except (Error) Handling
- Netmiko Iteration (Script 6): Determine device types and run specific device typ
- Netmiko Iteration (Script 7): Iterate device type script
Netmiko Scaling
- Part 1: Encrypted Password File
- Part 2: Netmiko Sequential Part 1
- Part 3: Netmiko Sequential Part 2
- Part 4: Netmiko Multithreading
- Part 5: Netmiko Thread Pools
Python Theory
- Theory topics – very short (P62_14_15)
- Keep learning (P61_26)
- 2.7 and 3 setup (P61_27)
- 2.7 and 3 examples (P61_28)
- Basic Hello World Scripts (P61_29_30)
Python Theory: Objects, Variables and Data Types
- Python Objects (P61_1)
- Python Objects Part 2 (P61_2)
- Python Variables (P61_3)
- Python Variables Part 2 (P61_4_5)
- Python Variables Part 3 (P61_6)
- Python Variables Part 4 (P61_7_8)
- Data Types (P61_9)
- Data Type testing (P61_10)
Python Theory: Numbers
- Introduction (P61_19)
- Numeric Types (P61_11)
- Int and Float (P61_12)
- Operators (P61_14)
- Operators Part 2 (P61_15_16)
- Operators (P61_17_18)
- bin hex oct (P61_20)
- binary decimal octal number examples (P62_1)
- int calculation (P62_2)
- Floats (P62_3)
Python Theory: Strings
- strings (P62_4)
- strings (GT 06-8-17 7_8)
- convert to a string using str() (P62_10)
- escape special character meaning with \ (P62_12)
- strings (P62_9)
- string concatenation with + (P62_13)
- multiplication operator * (P62_16)
- string offsets – extract characters with [] (P62_17)
- string slice _ slicing (P62_string)
- string slice _ slicing 2 (P62_1string)
- string slice _ slicing 3 (P62_2string)
- lower upper (P73_11)
- startswith endswith (P73_12)
- strip lstrip rstrip (P73_13)
- isdigit (P73_14)
- count (P73_15)
- Old Style text using % (P66_24)
- Strings: New way to do text using {} (P73_16)
- dir (P73_9)
Get version information from a switch
- Get show version from switch (P65_14)
- Telnet and string offset (P65_16)
- Show version using len (P65_17)
- Split 1 (P65_18_21)
- Split 2 (P73_18)
- List and join (P73_17)
- List and len – use Interface example (P73_25)
- Index introduction(P66_1)
- Real switch get version using index and slice (P66_2_3)
- Python3 telnet to switch (P66_4)
- Count (P66_6)
- Use find to get information from a real switch (P66_10)
- Python3 Telnet versus Python2 – Find version of software (P66_11)
- find not found (P66_12)
- String methods – upper (P66_13)
- String methods – startswith and endswith (P66_14)
- String methods – strip (P66_15)
- String methods – split demo (P66_16)
- String methods – Join (P66_17_18)
- String methods – is it in string? (P66_19)
- String concatenation (P66_20)
- Capitalize, upper, lower, swap (P66_23)
Python Theory: Comparisons
- Boolean comparisons
- Boolean Truth Table
- Boolean Truth Table Demo
- false conditions
Python Theory: Lists
- Lists versus tuples
- lists
- create a list using split
- lists in lists
- lists versus tuples – documentation
- list merge and extendC
- List methods
- lists insert and delete
- list pop index and in
- reverse sort
- len copy list
- Python Theory: Lists
- Lists versus tuples
- lists
- create a list using split
- lists in lists
- lists versus tuples – documentation
- list merge and extendC
- List methods
- lists insert and delete
- list pop index and in
- reverse sort
- len copy list
Python Theory: Tuples
- tuples
- Tuples and Sequences v2
Python Theory: if / else / elseif logic
- if logic
- physical router demonstration
- esleif
Python Theory: While Loops
- while loop
- infinite while loop with break
- infinite while loop with continue
- while loop with a list
- while loop with else
Python Theory: For Loops
- for loops
- for loop with dictionary
- for loop with if and lists
Python Theory: Ranges
- Ranges 1
- Ranges 2
Python Theory: Dictionaries
- Dictionary Theory (P70_17)
- Dictionary Demo (P70_18)
- Combine Dictionaries (P70_19)
- Dictionaries: Clear and check (P70_20)
- Dictionaries: Add values (P70_21)
Python Theory: Functions
- Functions Intro
- Functions Intro Part 2
- Functions Part 3
- Functions – Netmiko and Router
- Functions – Netmiko and Router
- Function 6 – Named keyword arguments (Netmiko)