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

AVD Data Model for EVPN/VXLAN Deployment Guide - Domain A #61

Draft
wants to merge 35 commits into
base: main
Choose a base branch
from

Conversation

MitchV85
Copy link
Collaborator

@MitchV85 MitchV85 commented Nov 16, 2024

Change Summary

  • Add AVD data models for EVPN/VXLAN Domain A
  • Update the techlib-vxlan-domain-a container to use lab-base:python3.11-avd-v5.0.0-clab0.57.5-rev1.1
  • Add the avd directory, containing all validated AVD data models for domain-a to the labs/techlib-vxlan-domain-a directory
  • Validated lab functionality by running make build, make deploy, and make validate in the Codespace lab. All worked as intended.

Repository Checklist

  • My code has been rebased from the upstream main branch

@MitchV85 MitchV85 requested a review from ankudinov November 16, 2024 22:43
@MitchV85 MitchV85 marked this pull request as draft November 16, 2024 22:43
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make file must be in the lab directory root as it must be available from the container workspace. Also Makefile for every lab will have a standard and templated layout in future shared by other labs. I'd suggest to keep existing Makefile for now and add AVD shortcuts there.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest to avoid generating AVD docs and configs in advance. That can be done when lab starts and keeps inventory compact. However it's just an opinion and adding files in advance has some minor advantages. For ex. it's easier to inspect inventory with running the lab.


###################################################
# Customized Structured Config #
###################################################
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Custom structured section is quite long. Are we planning to advertise that as best practice for AVD data model? If yes, we have to sync with AVD maintainers team and find a better way to implement missing features. Otherwise we can consider dropping some non-essential configuration from custom structured section.

ansible_httpapi_use_ssl: true
ansible_httpapi_validate_certs: false
ansible_python_interpreter: $(which python3)
avd_data_validation_mode: warning
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest changing avd_data_validation_mode to error.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not add any ANTA generated files to the lab inventory by default. Especially result jsons.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above - we should have one single Makefile in the container workspace.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need duplicate files in tech-library/datacenter if we already have the in /labs ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the final structure of the inventory.yml ? Where are the management addresses?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants