Visão Geral
Este curso não é um curso de habilidades sociais que cobre os conceitos de DevOps, mas concentra-se no lado técnico de ferramentas e linguagens para DevOps de rede. As tecnologias específicas focadas são ansible, git e Python, permitindo que os participantes saiam do curso prontos para começar a automatizar sua rede. As sessões práticas seguem todas as seções principais. Cursos mais detalhados sobre aspectos individuais deste curso estão disponíveis.
Objetivo
- Avalie ferramentas de automação de rede.
- Automatize tarefas com ansible.
- Use git para controle de versão.
- Use Python para gerenciar dispositivos de rede.
- Use bibliotecas Python para dispositivos de rede.
Publico Alvo
Administradores automatizando tarefas.
Materiais
Inglês/Português/Lab Prático
Conteúdo Programatico
What is DevOps
- Programming and automating networks, networks and clouds, AWS, OpenStack, SDN, DevOps for network operations.
Initial configuration
- Configuring SSH, ZTP, POAP.
- Hands on Initial lab configuration.
Getting started with ansible
- The language, the engine, the framework. Uses of ansible, orchestration. The architecture, Controlling machines, nodes, Agentless, SSH, modules. Configuration management, inventories, playbooks, modules, roles.
- Hands on Installing ansible, running ad hoc commands.
Ansible playbooks
- ansible-playbook, YAML, plays, tasks, handlers, modules. Playbook variables. Register module, debug module.
- Hands on Running playbooks.
Ansible Inventories
- /etc/ansible/hosts, hosts, groups, static inventories, dynamic inventories. Inventory variables, external variables. Limiting hosts.
- Hands on Static inventories, variables in inventory files.
Ansible modules for networking
- Built in modules, custom modules, return values. Core modules for network operations. Cisco and/or Juniper modules. ansible_connection. Ansible 2.6 CLI.
- Hands on Using modules.
Ansible templating and roles
- aConfiguration management, full configurations, partial configurations. The template module, the assemble module, connection: local, Jinja2 templates, variables, if, for, roles.
- Hands on Generating multiple configurations from a template.
Network programming and modules
- Why use Python? Why use ansible? alternatives, ansible tower, Linux network devices.
Programming with Python
- Python programming Functions. Classes, objects and instances, modules, libraries, packages. Python strings, Python file handling, pip list, pip instal.
- Hands on Python programming with pyping.
More Python programming
- Functions. Classes, objects and instances, modules, libraries, packages. Python strings, Python file handling, pip list, pip install.
- Hands on Python programming with pyping.
Git
- Distributed version control, repositories, Git and GitHub, Alternatives to GitHub, Installing git, git workflows, creating repositories, adding and editing files, branching and merging, merge conflicts.
- Hands on working with Git.
Python and networking
- APIs, Sockets, Telnetlib, pysnmp, ncclient, ciscoconfparse.
Paramiko SSH and Netmiko
- Integrating Python and network devices using SSH. Netmiko, Netmiko methods.
- Hands on Netmiko.
NAPALM
- What is NAPALM, NAPALM operations, getters, Replace, merge, compare, commit, discard.
- Hands on Configuration with NAPALM. Integrating ansible and NAPALM.
Python and REST
- REST APIs, enabling the REST API. Accessing the REST API with a browser, cURL, Python and REST, the request library.
- Hands on Using a REST API with network devices.
TENHO INTERESSE