https://github.com/ipspace/netopsworkshop
Test cases and scenarios for Network Automation workshop
https://github.com/ipspace/netopsworkshop
Last synced: about 1 year ago
JSON representation
Test cases and scenarios for Network Automation workshop
- Host: GitHub
- URL: https://github.com/ipspace/netopsworkshop
- Owner: ipspace
- License: other
- Created: 2016-02-26T10:36:21.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-01-01T12:07:16.000Z (over 2 years ago)
- Last Synced: 2025-03-29T19:09:05.602Z (about 1 year ago)
- Language: Jinja
- Homepage: http://www.ipspace.net/Hands-On_Network_Automation
- Size: 233 KB
- Stars: 212
- Watchers: 39
- Forks: 72
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Network Automation Workshop - Sources
This repository contains sources for all demos shown during the
[Network Automation workshop](http://www.ipspace.net/NetAutWS)
and [Ansible webinar](http://www.ipspace.net/Ansible):
## Subdirectories
* Install: Lab installation guidelines
* YAML: YAML syntax examples (YAML section of the workshop)
* Jinja2: Sample templates (Jinja2 section of the workshop)
* Ansible: Ansible playbooks
* Simple: simple actions using RAW module
* Logging: create SNMP and logging configuration commands for Cisco IOS and Nexus OS
* SNMPFacts: use SNMP facts in Ansible playbooks
* Networking: Ansible Networking modules
* Examples: Further Ansible examples from ansible-examples repository
## Installation
I'm running Ansible in a Ubuntu Vagrant box. Install Vagrant and VirtualBox (or VMware Fusion/Workstation if you're using VIRL) and start vagrant. Further Ubuntu installation scripts are in the _install_ directory.
The networking examples are focused on Cisco IOS and Nexus OS. You can run them in VIRL or have a Cisco router (or CSR 1000v) connected to a Nexus switch.
### Starting the Ubuntu VM
Various _Vagrantfile_ versions in _install_ directory contain different test environments. Select the one you prefer and copy it into _Vagrantfile_ in top directory.
To start the Ubuntu VM start the VM with **vagrant up nms**. To start the whole test environment use **vagrant up**. Continue the installation process using the instructions in the [_install_ directory] (install).
**Note**: if you're using VMware Fusion or Workstation you _MUST_ specify the Vagrant provider in the **vagrant up** command with the
**--provider vmware_fusion** or **--provider vmware_workstation** flags the first time you're starting the VM.
## Usage
Download, explore & enjoy... and when you discover you want to know more, register for the:
* [Ansible for Networking Engineers](http://www.ipspace.net/Ansible_for_Networking_Engineers) online course ([contents](https://my.ipspace.net/bin/list?id=AnsibleOC)) or
* [Building Network Automation Solutions](http://www.ipspace.net/Building_Network_Automation_Solutions) online course ([contents](https://my.ipspace.net/bin/list?id=NetAutSol))