Network automation content with Ansible, Jinja, YAML, Python and Travis CI.
- For a DCI demo using EVPN-VXLAN.
- With network devices running Junos. Accross 2 differents DC.
The setup is already up and running. So this automation content is not used to build the setup.
This automation content is used to update the existing setup managing (stitching/unstitching/configuring/auditing ...) vlans to the DCI configuration. It uses a declarative approach and enforces the desired state against the network.
This repo covers also how to generate YAML variables (ready to be consumed by Jinja and Ansible) from a CSV file (source-controlled) using Python.
It has also a Python script to locate a mac address (i.e that connects to all the devices to provide the interfaces associated with a learned MAC addresses). This script uses the Ansible inventory file to get the list of devices ip address.
- What to find in this repo
- Network topology
- Repository structure
- Requirements to use this repo
- How to get the remote repo content locally
- How to generate yaml variables for jinja and ansible from a csv file
- How to run the VLANs stitching management demo
- how to retry a playbook for the devices that failed
- How to search for a mac address accross the network
- Continuous integration with Travis CI
- Slack integration
- Looking for more details about junos automation with Ansible?
- Looking for more junos automation content for EVPN VXLAN?
- Looking for more Junos automation solutions?