Curso Ansible Network Automation with Python and Ansible

  • DevOps | CI | CD | Kubernetes | Web3

Curso Ansible Network Automation with Python and Ansible

32 horas
Visão Geral

Curso Ansible Network Automation with Python and Ansible. Continue seus estudos sobre o Ansible, com foco na automatização de elementos comuns dentro da rede. Além do Além do Ansible, os alunos estudarão Python o suficiente para entender a arquitetura de plug-in do Ansible. As aulas
e laboratórios se concentram no uso de Python e Ansible para interagir e configurar seus dispositivos de rede. No conclusão deste curso, você voltará ao trabalho com as habilidades necessárias para automatizar o gerenciamento de rede. gerenciamento de rede. Esta aula é uma combinação de demonstrações ao vivo e laboratórios práticos com dispositivos de rede virtual virtuais e endpoints como alvos para a sua configuração. Os alunos que procuram aplicações de servidor devem ver: Ansible 202 - Automação de servidores com Python e Ansible

Não existem duas redes iguais! Este Curso Ansible Network Automation with Python and Ansible, ensina os alunos a combinar conjuntos de habilidades de Python com Ansible através das lentes da automação de redes. Técnicas de automação para os fornecedores mais populares (incluindo Cisco, Juniper, Arista) serão assuntos de estudo, porém os alunos poderão solicitar exemplos de fornecedores em seus próprios ambientes.

A aula é uma combinação de palestra, demonstração e laboratórios práticos. Os alunos são convidados a compartilhar seus próprios scripts Python e Ansible relevantes com o instrutor para garantir que os assuntos da aula sejam tão relevantes quanto possível.

Objetivo

Após realizar este Curso Ansible Network Automation with Python and Ansible, você será capaz de:

  • Controlo de versões de código com o Git
  • Abrir sessões SSH e passar comandos para servidores remotos
  • Abrir remotamente a CLI para dispositivos de rede
  • Mover ficheiros via SFTP
  • Visão geral dos módulos Ansible
  • Colecções Ansible para automatização de redes
  • Módulos Ansible personalizados com Python
  • Práticas recomendadas para automatizar o gerenciamento e a configuração de dispositivos de rede
Publico Alvo
  • Administradores de rede
  • Desenvolvedores Ansible
  • Desenvolvedores de Python
  • Administradores interessados em automação
  • Indivíduos interessados em devops, especificamente para redes
Materiais
Inglês/Português/Lab Prático
Conteúdo Programatico

Critical Python Catch Up & Review

  1. Overview of Python and Ansible
  2. Python whitespace rules & best practices
  3. Conditional expressions
  4. Relational and Boolean operators
  5. Lists, Tuples, Dictionarie
  6. Indexing and slicing
  7. Built-in functions
  8. Writing custom functions
  9. Getting at methods
  10. Iterating with Loops (for and while)
  11. Working with files
  12. Software Control Management (SCM) (Git, Github, Bitbucket, Cloudshare, etc.)
  13. Getting at RESTful interfaces with Python
  14. Working with JSON
  15. Python, Ansible and Paramiko
  16. Using Paramiko to SSH with keys and passwords

Python and Network Automation

  1. RESTful API review
  2. API keys
  3. Paramiko Review
  4. Using Paramiko to SFTP with keys and passwords
  5. Introduction to Netmiko (automating routers and switches)
  6. Using Netmiko to send commands to / from network devices
  7. Working with YAML
  8. Converting JSON to YAML with Python

Ansible Essentials

  1. Ansible keywords
  2. YAML and JSON for data exchange
  3. Ansible and YAML
  4. Ansible Playbook components
  5. Tying together Python and Ansible – Using Python within Ansible
  6. Ansible Network Modules
  7. Network Agnostic modules
  8. Writing network playbooks

Blending Python and Ansible Skillsets

  1. Review how to use Python within Ansible
  2. Calling Python scripts with Ansible
  3. Jinja2 Templating Engine for Python (and Ansible)
  4. Using Templates in Ansible playbooks
  5. Jinja2 filters, looping, and other useful tricks for automating with Ansible
  6. Playbook tagging for selective runs
  7. When to use Python and when to use Ansible
  8. “Big Picture” options for using Python & Ansible within your Network
  9. Ansible Roles
  10. Extending Ansible to support Palo Alto (Optional - Case Study)
  11. Extending Ansible to support Juniper vendor modules (Optional - Case Study)
  12. Extending Ansible to support NAPALM

Customizing Ansible with Python

  • Review – Running Scripts with Ansible

  • Prompting for Ansible user input

  • Ansible Galaxy & Getting at Roles

  • Writing a custom Ansible Module with Python

  • Ansible “Engine” vs Ansible “Tower” – marketing hype, capabilities, costs, etc.

  • Case Study: Automate your Enterprise Network

  • When to use Python and when to use Ansible

  • Writing your own Ansible modules in Python

  • “Big Picture” options for using Python & Ansible within your Network

  • Overview - NETCONF / YANG and what they mean for Python and Ansible

  • Molecule – Testing your roles

TENHO INTERESSE

Cursos Relacionados

Curso Ansible Red Hat Basics Automation Technical Foundation

16 horas

Curso Terraform Deploying to Oracle Cloud Infrastructure

24 Horas

Curso Ansible Linux Automation with Ansible

24 horas

Ansible Overview of Ansible architecture

16h

Advanced Automation: Ansible Best Practices

32h

Curso Red Hat DevOps Pipelines and Processes: CI/CD with Jenkins

24h

Curso Cloud Security and DevSecOps Automation

32 horas