An open API service indexing awesome lists of open source software.

https://github.com/srl-labs/intent-based-ansible-lab


https://github.com/srl-labs/intent-based-ansible-lab

clab-topo codespaces

Last synced: 7 months ago
JSON representation

Awesome Lists containing this project

README

          

# Intent-based fabric management with Ansible

A practical example of using Ansible to manage the configuration of an SR Linux fabric with the **intent-based approach** leveraging the official Ansible collection for SR Linux - read the [tutorial on learn.srlinux.dev](http://learn.srlinux.dev/tutorials/programmability/ansible/intent-based-management) for a complete walkthrough of this project.

---



**[Run](https://codespaces.new/srl-labs/intent-based-ansible-lab?quickstart=1) this lab in GitHub Codespaces for free**.
[Learn more](https://containerlab.dev/manual/codespaces/) about Containerlab for Codespaces.

---

## Quick Start Guide to run in codespaces

1. Deploy the lab topology:
```
sudo clab deploy -t topo.yml
```
2. Run the Ansible playbook:
```
ansible-playbook -i inv/ -e intent_dir=/workspaces/intent-based-ansible-lab/intent_examples/infra/underlay_with_fabric_intent --diff playbooks/cf_fabric.yml
```