Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ksator/python-training-for-network-engineers
Python hands-on training for network engineers. How to automate Junos with Python
https://github.com/ksator/python-training-for-network-engineers
jinja2 json junos-automation lxml napalm ncclient netconf pyez python rest-api yaml
Last synced: 3 months ago
JSON representation
Python hands-on training for network engineers. How to automate Junos with Python
- Host: GitHub
- URL: https://github.com/ksator/python-training-for-network-engineers
- Owner: ksator
- License: mit
- Archived: true
- Created: 2016-06-20T10:14:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-18T08:03:11.000Z (about 6 years ago)
- Last Synced: 2024-05-15T12:47:02.085Z (6 months ago)
- Topics: jinja2, json, junos-automation, lxml, napalm, ncclient, netconf, pyez, python, rest-api, yaml
- Language: Python
- Homepage:
- Size: 8.38 MB
- Stars: 117
- Watchers: 20
- Forks: 47
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### What to find in thos project
A "Python for network enginners" course.
It is useful to network engineers with no python programming knowledge, who wants to use python to manage junos devices.
This is a hands-on training, with step-by-step instructions and many basics examples.
The course covers an introduction to Python programming, it includes also the PyEZ library to interact with JUNOS devices as well as an overview of some other Python modules to manipulate IP addresses, files, regular expressions, templates and rest calls.### Presentations
The presentations are available into this repo
[- **Python-for-network-engineers.pdf**](https://github.com/ksator/python-for-network-engineers/blob/master/Python-for-network-engineers.pdf)
[- **Python-training.pdf**](https://github.com/ksator/python-for-network-engineers/blob/master/Python-training.pdf)### Scripts
All the scripts are available into this project.
The examples and code in this document are for learning and educational purposes.
The samples were created with the goals of clarity and ease of understanding.
If you are writing code for a real application, you would write some code differently :-)### Agenda
- introduction to network automation
- introduction to python programming
- IP addresses manipulation
- files manipulation
- building documents with jinja2 templates
- YAML (humans to programs)
- junos automation with PyEZ python library
- JSON data format (exchange data between applications)
- programmatic access with REST APIs### Looking for more Junos automation solutions:
https://github.com/ksator?tab=repositories
https://gitlab.com/users/ksator/projects
https://gist.github.com/ksator/### Contributions, bugs, questions or enhancement requests:
please submit github issues or pull requests.