Skip to content
NetDevOps CICD SNMPv3 Demo
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
ansible add snmp user3 Aug 26, 2019
virl updates Aug 12, 2019
.gitignore updates Aug 2, 2019
Makefile Update Makefile Aug 26, 2019
requirements.txt updates Aug 2, 2019


This repo is based upon a simple NetDevOps demo to deploy SNMPv3 to a Spine and Leaf topology via Ansible. VIRL is also used to create a virtual test network to validate the changes.


Topology files for test and prod are located within the virl dir.

└── virl
    ├── prod.virl
    └── test.virl

To create fake production network, using the following:

virl up -e prod -f virl/prod.virl


Job XML's are located within the jenkins folder for:

  • Integration
  • Delivery
  • Deployment


  • SNMP configuration is defined within group_vars/all.yaml
  • Hosts for the prod and test networks defined within inventory folder files.
  • 2 playbooks included - deploy and test.
├── ansible
│   ├── ansible.cfg
│   ├── inventory
│   │   ├── prod
│   │   └── test
│   └── playbooks
│       ├── group_vars
│       │   └── all.yaml
│       ├── host_vars
│       ├── snmp-deploy.yaml
│       └── snmp-test.yaml


The Makefile contains all the various steps used within each of the pipelines.

  add-venv                  Install virtualenv, create virtualenv, install requirements
  configure-prod-network    Configure prod network
  configure-test-network    Configure test network
  distroy-test-network      Distroy test network in VIRL
  format                    Remove end of line spaces from yaml files
  install-deps              Install pip
  lint                      Perform linting against ansible yaml files
  remove-venv               Remove virtualenv
  run-tests-prod-network    Run tests against prod network
  run-tests-test-network    Rum tests against test network
  start-test-network        Start test network via VIRL
You can’t perform that action at this time.