Hands-On Enterprise Automation with Python:Automate common administrative and security tasks with Python
Release Finelybook 出版日期：2018-06-28
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.
We’ll explore examples of network automation tasks using simple Python programs and Ansible. Next, we will walk you through automating administration tasks with Python Fabric, where you will learn to perform server configuration and administration, along with system administration tasks such as user management, database management, and process management. As you progress through this book, you’ll automate several testing services with Python scripts and perform automation tasks on virtual machines and cloud infrastructure with Python. In the concluding chapters, you will cover Python-based offensive security tools and learn how to automate your security tasks.
By the end of this book, you will have mastered the skills of automating several system administration tasks with Python.
1:SETTING UP OUR PYTHON ENVIRONMENT
2:COMMON LIBRARIES USED IN AUTOMATION
3:SETTING UP THE NETWORK LAB ENVIRONMENT
4:USING PYTHON TO MANAGE NETWORK DEVICES
5:EXTRACTING USEFUL DATA FROM NETWORK DEVICES
6:CONFIGURATION GENERATOR WITH PYTHON AND JINJA2
7:PARALLEL EXECUTION OF PYTHON SCRIPT
8:PREPARING A LAB ENVIRONMENT
9:USING THE SUBPROCESS MODULE
10:RUNNING SYSTEM ADMINISTRATION TASKS WITH FABRIC
11:GENERATING SYSTEM REPORTS AND SYSTEM MONITORING
12:INTERACTING WITH THE DATABASE
13:ANSIBLE FOR SYSTEM ADMINISTRATION
14:CREATING AND MANAGING VMWARE VIRTUAL MACHINES
15:INTERACTING WITH THE OPENSTACK API
16:AUTOMATING AWS WITH BOTO3
17:USING THE SCAPY FRAMEWORK
18:BUILDING A NETWORK SCANNER USING PYTHON
What You Will Learn
Understand common automation modules used in Python
Develop Python scripts to manage network devices
Automate common Linux administration tasks with Ansible and Fabric
Managing Linux processes
Administrate VMware, OpenStack, and AWS instances with Python
Security automation and sharing code on GitHub
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.