Practical network automation leverage the power of Python and Ansible to optimize your network

What You Will Learn " Get the detailed analysis of Network automation " Trigger automations through available data factors " Improve data center robustness and security through specific access and data digging " Get an Access to APIs from Excel for dynamic reporting " Set up...

Full description

Bibliographic Details
Main Author: Ratan, Abhishek
Format: eBook
Language:English
Published: Birmingham, UK Packt Publishing 2017
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
Table of Contents:
  • Chapter 1: Fundamental Concepts
  • Network automation
  • DevOps
  • Software-defined networking
  • OpenFlow
  • Program concepts
  • Variables
  • Data types
  • Decision makers
  • Loops
  • Arrays
  • Functions
  • Best practices
  • Readability of a program
  • Support information
  • Indentation
  • Sample best practice example
  • Language choices (Python/PowerShell)
  • Writing your first program
  • PowerShell IDE
  • Python IDE
  • Representational State Transfer (REST) framework
  • Summary
  • Chapter 2: Python for Network Engineers
  • Python interpreter and data types
  • Conditions and loops
  • Nested and multiple conditions
  • Loops
  • For next loop
  • While loop
  • Writing Python scripts
  • Functions
  • Passing arguments from the command line
  • Python modules and packages
  • Multithreading for parallel processing
  • Using Netmiko for SSH and network device interaction
  • Network automation use case
  • Summary
  • Chapter 3: Accessing and Mining Data from Network
  • Chapter 6: Continuous Integration for Network Engineers
  • Interaction with Splunk
  • Automation examples on various technology domains
  • BGP and routing table
  • Configuring Cisco switchport for access point
  • Configuring Cisco switchport for IP Phone
  • Wireless LAN (WLAN)
  • Access of IP Address Management (IPAM)
  • Example and use case
  • Create a web-based pre and post check tool for validations
  • Step 1
  • Create the main HTML file
  • Step 2
  • Create the backend Python code
  • Step 3
  • Create web server based files for the tool
  • Step 4
  • Create server based files for pre and post files comparison
  • Summary
  • Chapter 7: SDN Concepts in Network Automation
  • Managing cloud platforms
  • Programmable network devices
  • Controller-based network fabric
  • Network automation tools
  • Summary
  • Device configurations
  • Multi-vendor environments
  • IP configs/interface parsing
  • Device OS upgrades
  • IPv4 to IPv6 conversion
  • Site rollouts
  • Office/DC relocations
  • Bring Your Own Device (BYOD) configs for switches
  • Summary
  • Chapter 4: Web Framework for Automation Triggers
  • Why create web-based scripts/frameworks?
  • Understanding and configuring IIS for web framework
  • Understanding IIS
  • Configuring IIS for Python script support
  • Creating web-specific scripts
  • Accessing a script from dynamic HTML
  • Creating the backend API in C#
  • Consuming the API in Python
  • Sample summary task
  • Summary
  • Chapter 5: Ansible for Network Automation
  • Ansible overview and terminology
  • Basic requirements of Ansible. Installation of Ansible
  • Introduction to ad hoc commands
  • Ansible playbooks
  • Working with Ansible facts
  • Ansible conditions
  • Ansible loops
  • Python API with Ansible
  • Creating network configuration templates
  • Summary