atd-avd

所属分类:DevOps
开发工具:Makefile
文件大小:0KB
下载次数:0
上传日期:2023-10-02 13:42:42
上 传 者sh-1993
说明:  Arista试驾+Ansible AVD示例,
(Arista Test Drive + Ansible AVD Examples,)

文件列表:
DEMO.md (10342, 2023-11-06)
Makefile (979, 2023-11-06)
ansible.cfg (215, 2023-11-06)
atd-inventory/ (0, 2023-11-06)
atd-inventory/documentation/ (0, 2023-11-06)
atd-inventory/documentation/ATD_FABRIC/ (0, 2023-11-06)
atd-inventory/documentation/ATD_FABRIC/ATD_FABRIC-documentation.md (5058, 2023-11-06)
atd-inventory/documentation/ATD_FABRIC/ATD_FABRIC-p2p-links.csv (770, 2023-11-06)
atd-inventory/documentation/ATD_FABRIC/ATD_FABRIC-topology.csv (1688, 2023-11-06)
atd-inventory/documentation/devices/ (0, 2023-11-06)
atd-inventory/documentation/devices/s1-leaf1.md (20885, 2023-11-06)
atd-inventory/documentation/devices/s1-leaf2.md (20885, 2023-11-06)
atd-inventory/documentation/devices/s1-leaf3.md (20891, 2023-11-06)
atd-inventory/documentation/devices/s1-leaf4.md (20897, 2023-11-06)
atd-inventory/documentation/devices/s1-spine1.md (12475, 2023-11-06)
atd-inventory/documentation/devices/s1-spine2.md (12481, 2023-11-06)
atd-inventory/group_vars/ (0, 2023-11-06)
atd-inventory/group_vars/ATD_FABRIC.yml (3050, 2023-11-06)
atd-inventory/group_vars/ATD_LAB.yml (315, 2023-11-06)
atd-inventory/group_vars/ATD_SERVERS.yml (1004, 2023-11-06)
atd-inventory/group_vars/ATD_TENANTS_NETWORKS.yml (1603, 2023-11-06)
atd-inventory/group_vars/all/ (0, 2023-11-06)
atd-inventory/group_vars/all/eos_snapshot.yml (198, 2023-11-06)
atd-inventory/group_vars/cv_servers/ (0, 2023-11-06)
atd-inventory/group_vars/cv_servers/initial_topology.yml (742, 2023-11-06)
atd-inventory/intended/ (0, 2023-11-06)
atd-inventory/intended/configs/ (0, 2023-11-06)
atd-inventory/intended/configs/s1-leaf1.cfg (6484, 2023-11-06)
atd-inventory/intended/configs/s1-leaf2.cfg (6484, 2023-11-06)
atd-inventory/intended/configs/s1-leaf3.cfg (6488, 2023-11-06)
atd-inventory/intended/configs/s1-leaf4.cfg (6492, 2023-11-06)
atd-inventory/intended/configs/s1-spine1.cfg (3693, 2023-11-06)
atd-inventory/intended/configs/s1-spine2.cfg (3697, 2023-11-06)
atd-inventory/intended/structured_configs/ (0, 2023-11-06)
atd-inventory/intended/structured_configs/s1-leaf1.yml (7491, 2023-11-06)
atd-inventory/intended/structured_configs/s1-leaf2.yml (7491, 2023-11-06)
atd-inventory/intended/structured_configs/s1-leaf3.yml (7493, 2023-11-06)
atd-inventory/intended/structured_configs/s1-leaf4.yml (7495, 2023-11-06)
... ...

# AVD Arista Validated Design for Arista Test Drive ![Arista CloudVision Automation](https://img.shields.io/badge/Arista-CVP%20Automation-blue) ![Arista EOS Automation](https://img.shields.io/badge/Arista-EOS%20Automation-blue) ## About This repository is configured to run [`arista.cvp`](https://github.com/aristanetworks/ansible-cvp) & [`arista.avd`](https://github.com/aristanetworks/ansible-avd) Ansible collections against the Arista Test Drive (ATD) single data center topology.

Arista CloudVision and Ansible

To access an ATD topology, please get in touch with your Arista representative. ## Lab topology The diagram below shows that the ATD lab topology has two data centers. We will only leverage DC1 in this example.

ATD Lab Topology

## ATD topology device list | Device |IP Address | | ------ | ------------ | | s1-spine1 |192.168.0.10 | | s1-spine2 |192.168.0.11 | | s1-leaf1 |192.168.0.12 | | s1-leaf2 |192.168.0.13 | | s1-leaf3 |192.168.0.14 | | s1-leaf4 |192.168.0.15 | | s1-host1 |192.168.0.16 | | s1-host2 |192.168.0.17 | > Current repository is built with cEOS management interface (`Management0`). If you run a vEOS topology, please update `mgmt_interface` field to `Management1` in the [ATD_LAB](./atd-inventory/group_vars/ATD_LAB.yml) `group_vars`. ## Getting Started ### Connect to your ATD lab environment - Don't hesitate to contact your local account team if you need an ATD Lab instance. - Once connected to the ATD lab instance, select the Programmability IDE. - This container is built with all the requirements and Python modules to run AVD playbooks. 1. Next (optional), set up a Git user and email for the ATD lab environment - Open a terminal window in VS Code View -> Terminal from the menu, and run the following commands: ```shell # Setup your git global config (optional) git config --global user.email "you@example.com" git config --global user.name "Your Name" ``` 2. Set credentials and install any required tools ```shell cd /home/coder/project/labfiles export LABPASSPHRASE=`cat /home/coder/.config/code-server/config.yaml| grep "password:" | awk '{print $2}'` ansible-galaxy collection install arista.avd:==4.4.0 export ARISTA_AVD_DIR=$(ansible-galaxy collection list arista.avd --format yaml | head -1 | cut -d: -f1) pip3 install -r ${ARISTA_AVD_DIR}/arista/avd/requirements.txt git clone https://github.com/arista-netdevops-community/atd-avd.git cd atd-avd ``` 3. Run the playbook to prepare CloudVision for AVD - Execute the following command: ```shell ansible-playbook playbooks/atd-prepare-lab.yml ``` - Check that tasks in CloudVision have been automatically completed 4. Run playbook to deploy AVD setup - Run the following commands: ```shell ansible-playbook playbooks/atd-fabric-build.yml ansible-playbook playbooks/atd-fabric-provision.yml ``` - Run pending tasks in CloudVision Portal manually. 5. Run validation and snapshot playbooks - Run the following commands: ```shell # Run audit playbook to validate the fabric state ansible-playbook playbooks/atd-validate-states.yml # Run the atd-snapshot playbook to collect show commands ansible-playbook playbooks/atd-snapshot.yml ``` - Review generated output. ## Step-by-step walkthrough A complete [step-by-step guide](./DEMO.md) is available. ## Resources - [Arista Ansible AVD Collection](https://github.com/aristanetworks/ansible-avd) - [Arista CloudVision Collection](https://github.com/aristanetworks/ansible-cvp) - [Arista AVD documentation](https://avd.arista.com) ## License This Project is published under Apache License.

近期下载者

相关文件


收藏者