错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Python Network Automation Labs cron

  • Brendan Choi

摘要

In this chapter, the focus shifts toward harnessing the power of Python for network automation through practical labs and the exploration of cron. As you aspire to streamline work processes using Python, this chapter guides you through hands-on exercises, providing a foundational understanding of how cron functions and how you can put your Python applications to work with little human interaction. Starting with the intricacies of the Linux Scheduler, cron, you'll learn about Ubuntu Server’s task scheduler (crontab) and Fedora’s task scheduler (crond). The journey progresses with insights into cloning GNS3 projects, simulating router failures, and optimizing network recovery. Lab pre-tasks, such as deleting VPCS and adding L2 extra switches to emulate a new switch installation, set the stage for a comprehensive cron learning experience. Alongside, you'll master cron job definitions with examples to bolster your understanding. This chapter culminates with a summary, offering a concise recap of the key takeaways and reinforcing your grasp of Python's role in network automation and the task scheduling of developed Python applications.