This is the code repository for Hands-On Enterprise Automation with Python, published by Packt.
Automate common administrative and security tasks with Python
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!
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).
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.
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.
Click here if you have any feedback or suggestions.
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.