Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc: Add CV Pathfinder AVD example #4453

Merged
merged 59 commits into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
69962cb
Doc: Add CV Pathfinder AVD example
gmuloc Sep 10, 2024
8a0a0ca
Update ansible_collections/arista/avd/examples/cv-pathfinder/deploy.yml
gmuloc Sep 10, 2024
0554bc2
Update ansible_collections/arista/avd/examples/cv-pathfinder/group_va…
gmuloc Sep 10, 2024
5006955
Update ansible_collections/arista/avd/examples/cv-pathfinder/group_va…
gmuloc Sep 10, 2024
b326f33
Doc: Address PR comments
gmuloc Sep 10, 2024
95494bc
ci: Add to molecule
gmuloc Sep 10, 2024
cd9db61
doc: Address PR comment
gmuloc Sep 10, 2024
0f9debd
Doc: Add STUN DTLS and edit README
gmuloc Sep 11, 2024
0c6dd86
Doc: Add more info
gmuloc Sep 12, 2024
2cc360f
chore: Cleaning up my mess
gmuloc Sep 12, 2024
be89ced
Update ansible_collections/arista/avd/examples/cv-pathfinder/group_va…
gmuloc Sep 12, 2024
59b7ff3
Update ansible_collections/arista/avd/examples/cv-pathfinder/group_va…
gmuloc Sep 12, 2024
1415522
Update ansible_collections/arista/avd/examples/cv-pathfinder/group_va…
gmuloc Sep 12, 2024
0e24552
Update ansible_collections/arista/avd/examples/cv-pathfinder/group_va…
gmuloc Sep 12, 2024
a060a51
Chore: More cleanup
gmuloc Sep 12, 2024
eaa7df7
Refactor: Address some PR comments
gmuloc Sep 12, 2024
88496d8
Doc: Explain CV_TOKEN ENV var
gmuloc Sep 12, 2024
45ca0f8
Fix: Address PR comments
gmuloc Sep 12, 2024
03e3684
Minor updates
ClausHolbechArista Sep 12, 2024
0cf74f0
Minor updates
ClausHolbechArista Sep 12, 2024
48ff686
Fix: Wrong quotes in inventory
gmuloc Sep 12, 2024
bda5f88
Updating nodes to leverage sitex-
JulioPDX Sep 17, 2024
5079aac
updating artifacts
JulioPDX Sep 17, 2024
a84a343
switch basic configs and minor grammar edits
JulioPDX Sep 19, 2024
a7ea9ab
more grammar edits
JulioPDX Sep 19, 2024
9d40b20
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 19, 2024
6195836
minor edits to images
JulioPDX Sep 24, 2024
2ad60be
updating images
JulioPDX Sep 24, 2024
2f54e54
adding playbook output
JulioPDX Sep 24, 2024
830375b
adding licensing and path group notes
JulioPDX Oct 1, 2024
7e13d18
updating artifacts
JulioPDX Oct 3, 2024
38f7bba
add note on policies and applications with diagrams
JulioPDX Oct 3, 2024
5dbf35b
removing jinja vars as mgmt IPs
JulioPDX Oct 3, 2024
7e2f9f3
remove submodule
JulioPDX Oct 3, 2024
0ea8aff
updating artifacts
JulioPDX Oct 3, 2024
a63f8df
removing overlay for inet-node
JulioPDX Oct 8, 2024
f17f3a9
Correcting pre-commit yaml error
JulioPDX Oct 8, 2024
43b0457
Merge branch 'devel' into wan-example
gmuloc Oct 10, 2024
8c40138
ci: Remove old gitignore
gmuloc Oct 10, 2024
75302cf
Test: Moleculing the molecule
gmuloc Oct 10, 2024
7af1a25
Update ansible_collections/arista/avd/examples/cv-pathfinder/ansible.cfg
gmuloc Oct 10, 2024
a583f71
Update ansible_collections/arista/avd/examples/cv-pathfinder/deploy.yml
gmuloc Oct 10, 2024
502dfe1
Merge branch 'devel' into wan-example
gmuloc Oct 15, 2024
0fa88a7
Test: Moleculing the molecule
gmuloc Oct 15, 2024
c05d55e
Test: Moleculing the molecule
gmuloc Oct 15, 2024
98f288b
Merge branch 'devel' into wan-example
ClausHolbechArista Oct 16, 2024
333eabd
Apply suggestions from code review
gmuloc Oct 16, 2024
36acbfa
Update ansible_collections/arista/avd/examples/cv-pathfinder/inventor…
gmuloc Oct 16, 2024
22bb898
Update ansible_collections/arista/avd/examples/cv-pathfinder/group_va…
gmuloc Oct 16, 2024
ad9218c
Update ansible_collections/arista/avd/examples/cv-pathfinder/group_va…
gmuloc Oct 16, 2024
d079bfe
Merge branch 'devel' into wan-example
gmuloc Oct 16, 2024
5c6e8dd
CI: Fix yaml
gmuloc Oct 16, 2024
c77052c
Merge branch 'devel' into wan-example
gmuloc Oct 16, 2024
0cf9834
Merge branch 'devel' into wan-example
gmuloc Oct 17, 2024
5d87d7b
Test: Moleculing the molecule
gmuloc Oct 17, 2024
abb43aa
Doc: Update README.md for example
gmuloc Oct 17, 2024
acd3336
Feat: Add user ansible to match swicth base config
gmuloc Oct 17, 2024
ef44bfc
Merge branch 'devel' into wan-example
ClausHolbechArista Oct 21, 2024
73f4aa0
Merge branch 'devel' into wan-example
gmuloc Oct 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/pull-request-management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ jobs:
- 'example-isis-ldp-ipvpn'
- 'example-l2ls-fabric'
- 'example-single-dc-l3ls'
- 'example-cv-pathfinder'
ansible_version:
# Testing all scenario with 2.16.x, due to bug with in 2.17.0 with and the way we test eos_designs_negative_unit_tests https://github.com/ansible/ansible/issues/83292
- 'ansible-core>=2.16.0,<2.17.0 --upgrade'
Expand Down
32 changes: 3 additions & 29 deletions ansible_collections/arista/avd/examples/campus-fabric/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,9 @@ This example describes and includes all the AVD files used to build a Campus Fab

## Installation & Requirements

1. Install AVD - Installation guide found [here](../../docs/installation/collection-installation.md).
2. Install Ansible module requirements - Instructions found [here](../../docs/installation/collection-installation.md).
3. Run the following playbook to copy the Getting Started examples to your working directory.

``` bash
# current working directory: ~/ansible-avd-examples
ansible-playbook arista.avd.install_examples
```

The output will show something similar to the following. If not, please ensure that AVD and all requirements are correctly installed.

``` shell
~/ansible-avd-examples# ansible-playbook arista.avd.install_examples

PLAY [Install Examples]***************************************************************************************************************************************************************************************************************************************************************

TASK [Copy all examples to ~/ansible-avd-examples]*****************************************************************************************************************************************************
changed: [localhost]

PLAY RECAP
****************************************************************************************************************************************************************************************************************************************************************************
localhost : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
```

After the playbook has run successfully, the following directory structure will be created.
--8<--
examples/common/installation.md
--8<--

``` shell
ansible-avd-examples/ (directory where playbook was run)
Expand All @@ -57,10 +35,6 @@ ansible-avd-examples/ (directory where playbook was run)
└── README.md (this document)
```

???+ info

If the content of any file in the example is ***modified*** and the playbook is run again, the file ***will not*** be overwritten. However, if any file in the example is ***deleted*** and the playbook is run again, the file will be re-created.

## Design Overview

### Physical Campus Fabric Topology
Expand Down
34 changes: 34 additions & 0 deletions ansible_collections/arista/avd/examples/common/installation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!--
~ Copyright (c) 2024 Arista Networks, Inc.
~ Use of this source code is governed by the Apache License 2.0
~ that can be found in the LICENSE file.
-->

Requirements to use this example:

- Follow the [installation guide](../../docs/installation/collection-installation.md) for AVD
- Run the following playbook to copy the AVD **examples** to your current working directory, for example `ansible-avd-examples`:

```shell
ansible-playbook arista.avd.install_examples
```

This will show the following:

```shell
~/ansible-avd-examples# ansible-playbook arista.avd.install_examples

PLAY [Install Examples]**********************************************************************************************

TASK [Copy all examples to ~/ansible-avd-examples]*******************************************************************
changed: [localhost]

PLAY RECAP
*********************************************************************************************************************
localhost : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
```

!!! info
If the content of any file is ***modified*** and the playbook is rerun, the file ***will not*** be overwritten. However, if any file in the example is ***deleted*** and the playbook is rerun, Ansible will re-create the file.

After the playbook has run successfully, the directory structure of the example should look like below, the contents of which will be covered in later sections:
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ThisShouldNeverBeCommitedToGitButThisIsAnExample
Loading
Loading