Skip to content

jillesca/network-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Network Automation

Intro

I'm using this repo to practice some network automation codes, pipelines. As time passes I'm planning to add more functions/examples over time.

On this repo, you will find examples for:

  • use ansible as a container
  • use ansible to create a lab in Cisco Modelling Labs

All commands added on the repo are assumming are being executed from the ROOT directory of the project, if you are not on the root directory, you need to update the paths if the commands are using it.

Every release on the repo, matches an article written in my personal blog. Major changes between releases are introduced, therefore if you follow the articles, make sure you are looking at the corresponding release. The Articles have links to their corresponded release.

So far the list of releases are:

Lab used

CML or Cisco Modelling Labs is used for this repo, the reason is because the Devnet Sandbox is free. Reserve a lab to get started.

Create a lab

docker-compose -f ./docker/cml.docker-compose.yml up -d
docker exec -it cml /bin/sh
ansible-playbook cisco.cml.build -e startup='host'

See ansible inventory

ansible-inventory --graph