Learning paths › Automation › Agile delivery and Python fundamentals
Agile delivery and Python fundamentals
What Agile prioritises in a trade-off, where development and operations share delivery, functional separated from nonfunctional testing, and the red, green, refactor cycle — then Python from nothing for an engineer who has none: which interpreter is running, the interactive prompt and print, int, float, str and bool, a list of device names and a dictionary mapping one to its address, a value looked up by key, operator input, if and elif classifying an ACL number by range, loops, file reads, deliberate append against truncate, and a virtual environment. Explanation and checks; one written exercise.
Lessons
- Know what Agile prioritises in a trade-off
- Share delivery between dev and operations
- Separate functional from nonfunctional testing
- Work the red, green, refactor cycle
- Check which interpreter you are running
- Use the interactive prompt and print
- Organise scripts in an editor project
- Tell int, float, str and bool apart
- Bind a name to a value
- Join strings without surprising arithmetic
- Round a float to set decimal places
- Hold device names in an ordered list
- Map a device name to its address
- Look a value up by key
- Nest a list inside a dictionary field
- Read a line from the operator
- Build a script from several prompts
- Choose a branch with if and elif
- Classify an ACL number by range
- Run a block once per device
- Loop until a condition or a break
- Open a file and read its contents
- Append or truncate, deliberately
- Give the project its own virtual environment
More in Automation
- First scripts that configure devices
- NAPALM: structured data across vendors
- Concurrency, and the Python types device output returns
- Parsing show output and testing conditions
- Readable code, branching and loops
- Build the workstation and the toolchain
- Files, CSV, JSON and pickle
- Paramiko: SSH to devices from Python
- Netmiko at fleet scale
- Tuples, sets and dictionaries for device records
- Exceptions and your first classes
- Plan and build the automation lab
- Files, formatting and regular expressions
- Addresses, functions, modules and classes
- CSV inventories, logging and scheduling
- Netmiko, SCP and structured parsing
- Agents, async and model-driven workflows
- NETCONF, YANG and RESTCONF
- NX-API, pyATS and Genie
- A small GenAI app, end to end
- macOS, Linux and the virtual lab
- REST APIs, authentication and requests
- Flask, Docker and Jenkins
- Managing a router with NETCONF and RESTCONF
- Ansible: inventory, ad-hoc commands and first playbooks
- Roles and zero-touch provisioning for Linux switches
- Installing the controller and applying a project
- Setting up Python 3
- The Ansible lab and the controller
- Vault, variables and config changes
- Parsing output and knowing which variable wins
- Jinja filters and PAN-OS automation
- Loops, callbacks, strategy and run control
- Roles, imports and writing your own module
- Running playbooks from AWX