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
- Host: GitHub
- URL: https://github.com/srl-labs/intent-based-ansible-lab
- Owner: srl-labs
- License: bsd-3-clause
- Created: 2023-07-15T10:38:35.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-20T13:30:44.000Z (over 1 year ago)
- Last Synced: 2025-02-13T15:14:01.554Z (over 1 year ago)
- Topics: clab-topo, codespaces
- Language: Jinja
- Homepage:
- Size: 551 KB
- Stars: 15
- Watchers: 7
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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
```