Hands-On Enterprise Automation with Python.
上QQ阅读APP看书,第一时间看更新

Network Python Libraries

Network environments nowadays contain multiple devices from many vendors, and each device plays a different role. Design and automation frameworks for network devices are essential to network engineers in order to automate repeated tasks and enhance the way they usually do their job, while reducing human errors. Large enterprises and service providers usually tend to design a workflow that can automate different network tasks and improve network resiliency and agility. The workflow contains a series of related tasks that together form a process or a workflow that will be executed when there's a change needed on the network.

Some of the tasks that could be performed by a network automation framework without human intervention are:

  • Root cause analysis for the problem
  • Checking and updating the device operating system
  • Discovering the topology and relationships between nodes
  • Security audits and compliance reporting
  • Installing and withdrawing routes from the network device based on the application needs
  • Managing device configuration and rollback

Here are some Python libraries that are used to automate network devices: