Practical network automation : a beginners guide to automating and optimizing networks using Python Ansible and More Step 4 running the recipe Puppet Chef Puppet Ansible comparison Summary Questions Chapter 4: Using Artificial Intelligence in Operations Technical requirements AI in IT operations Key pillars in AIOps Data source Structured data Non structured data Data collector Data analysis Machine Learning (ML) Example of linear regression Intelligent remediation Application and use cases Summary Questions Chapter 5: Web Framework for Automation Triggers Technical requirements Web framework Falcon Encoding and decoding Calling the web framework Sample use case Summary Questions Chapter 6: Continual Integration Technical requirements Remediation using intelligent triggers Step 1 ensuring Splunk is configured to receive the data Step 2 validating the data (sample data) Step 3 writing script Standardizing configurations on scale Chatbot interactions Use cases Interacting with SolarWinds Configuring Open Shortest Path First (OSPF) through Python Autonomous System Number (ASN) in BGP Validating the IPv4 and IPv6 addresses Summary Questions Assessment Other Books You May Enjoy Index Cover Title Page Copyright and Credits About Packt Contributors Table of Contents Preface Chapter 1: Fundamental Concepts of Network Automation Technical requirements A readable script Basic programs Validating an IPv4 address Making the right choice Hiding credentials Accessing APIs Using regular expressions (regex) Handling files Making a decision (Python or PowerShell) API access Interacting with local machines Introduction to code check in and its importance Git installation and initialization Code check in Sample use cases First use case Second use case Summary Questions Chapter 2: Python Automation for Network Engineers Technical requirements Interacting with network devices Network device configuration using template Multithreading Use cases Using regular expressions (regex) Creating loopback interface Dynamic configuration updates Summary Questions Chapter 3: Ansible and Network Templatizations Technical requirements Ansible and network templates Introduction to ad hoc commands Ansible playbooks Playbook examples Ping to a particular IP from all routers Section 1 defining the scope of script Section 2 defining what to execute (define the task) Ping to multiple IPs from all routers Section 1 basic declarations Section 2 declaring variables Section 3 executing the task Section 4 validations Network templates Step 1 identifying the number of users the device is going to serve Step 2 identifying the right configuration based upon the SKU Step 3 identifying the role of the device Python integration Chef and Puppet Chef Step 1 creating the recipe Step 2 uploading the recipe Step 3 adding the recipe to the run list Network automation is the process of efficiently automating the management and functionality of networks. Through practical use cases and examples this book introduces you to the popular tools such as Python Ansible Chef and more that are used to automate a network.