/Hands-On-Enterprise-Automation-with-Python

Creating practical labs in EVE-NG and automation with Python

Primary LanguagePythonMIT LicenseMIT

Hands-On Enterprise Automation with Python

Hands-On Enterprise Automation with Python

This is the code repository for Hands-On Enterprise Automation with Python, published by Packt.

Automate common administrative and security tasks with Python

What is this book about?

Hands-On Enterprise Automation with Python starts by covering the set up of a Python environment to perform automation tasks, as well as the modules, libraries, and tools you will be using.

This book covers the following exciting features:

  • Understand common automation modules used in Python
  • Develop Python scripts to manage network devices
  • Automate common Linux administration tasks with Ansible and Fabric
  • Managing the Linux processes
  • Administrate VMWare, Openstack, and AWS instances with Python

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

from netmiko import ConnectHandler
from devices import R1,SW1,SW2,SW3,SW4

nodes = [R1,SW1,SW2,SW3,SW4]

for device in nodes:
    net_connect = ConnectHandler(**device)
    output = net_connect.send_command("show run")
    print output

Following is what you need for this book: Hands-On Enterprise Automation with Python is for system administrators and DevOps engineers who are looking for an alternative to major automation frameworks such as Puppet and Chef. Basic programming knowledge with Python and Linux shell scripting is necessary.

With the following software and hardware list you can run all code files present in the book (Chapter 1-18).

Software and Hardware List

Chapter Software required OS required
All Python (2.x, 3.x), Ansible, EVE-NG Windows, Linux (Ubuntu)
All Linux Windows, Linux (Ubuntu)

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Related products

Get to Know the Author

Bassem Aly Bassem Aly is an experienced SDN/NFV solution consultant at Juniper Networks and has been working in the Telco industry for last 9 years. He focused on designing and implementing next generation by leveraging different automation and devops frameworks. Also he has extensive experience in architecting and deploying telco applications over the openstack. Bassem also conducts corporate training on network automation & network programmability using python and ansible.

Suggestions and Feedback

Click here if you have any feedback or suggestions.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781788998512