-
Notifications
You must be signed in to change notification settings - Fork 272
Refactor(eos_designs): Move platform_settings.validate_hardware to validation_profiles #6258
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
Conversation
…lidation_profiles
|
Review docs on Read the Docs To test this pull request: # Create virtual environment for this testing below the current directory
python -m venv test-avd-pr-6258
# Activate the virtual environment
source test-avd-pr-6258/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/MaheshGSLAB/ansible-avd.git@issue-6243#subdirectory=python-avd" --force
# Point Ansible collections path to the Python virtual environment
export ANSIBLE_COLLECTIONS_PATH=$VIRTUAL_ENV/ansible_collections
# Install Ansible collection
ansible-galaxy collection install git+https://github.com/MaheshGSLAB/ansible-avd.git#/ansible_collections/arista/avd/,issue-6243 --force
# Optional: Install AVD examples
cd test-avd-pr-6258
ansible-playbook arista.avd.install_examples |
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
|
Conflicts have been resolved. A maintainer will review the pull request shortly. |
python-avd/pyavd/_eos_designs/schema/schema_fragments/validation_profiles.schema.yml
Show resolved
Hide resolved
python-avd/pyavd/_eos_designs/schema/schema_fragments/validation_profiles.schema.yml
Show resolved
Hide resolved
python-avd/pyavd/_eos_designs/schema/schema_fragments/validation_profiles.schema.yml
Show resolved
Hide resolved
python-avd/pyavd/_eos_designs/schema/schema_fragments/validation_profiles.schema.yml
Show resolved
Hide resolved
python-avd/pyavd/_eos_designs/schema/schema_fragments/validation_profiles.schema.yml
Show resolved
Hide resolved
python-avd/pyavd/_eos_designs/schema/schema_fragments/validation_profiles.schema.yml
Show resolved
Hide resolved
Shivani-gslab
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
.../avd/extensions/molecule/eos_designs_unit_tests/intended/structured_configs/7010TX-LEAF1.yml
Show resolved
Hide resolved
python-avd/pyavd/_eos_designs/schema/schema_fragments/defs_node_type.schema.yml
Show resolved
Hide resolved
python-avd/pyavd/_eos_designs/schema/schema_fragments/defs_platform_settings.yml
Outdated
Show resolved
Hide resolved
python-avd/pyavd/_eos_designs/schema/schema_fragments/validation_profiles.schema.yml
Outdated
Show resolved
Hide resolved
python-avd/pyavd/_eos_designs/structured_config/metadata/utils.py
Outdated
Show resolved
Hide resolved
python-avd/pyavd/_eos_designs/structured_config/metadata/utils.py
Outdated
Show resolved
Hide resolved
python-avd/pyavd/_eos_designs/structured_config/metadata/utils.py
Outdated
Show resolved
Hide resolved
python-avd/pyavd/_eos_designs/structured_config/metadata/__init__.py
Outdated
Show resolved
Hide resolved
python-avd/pyavd/_eos_designs/structured_config/metadata/__init__.py
Outdated
Show resolved
Hide resolved
ansible_collections/arista/avd/roles/eos_designs/docs/input-variables.md
Outdated
Show resolved
Hide resolved
...a/avd/extensions/molecule/eos_designs_unit_tests/inventory/host_vars/validation-profiles.yml
Show resolved
Hide resolved
...le/eos_designs_negative_unit_tests/inventory/host_vars/missing-validation-parent-profile.yml
Outdated
Show resolved
Hide resolved
…_negative_unit_tests/inventory/host_vars/missing-validation-parent-profile.yml
for more information, see https://pre-commit.ci
...le/eos_designs_negative_unit_tests/inventory/host_vars/missing-validation-parent-profile.yml
Outdated
Show resolved
Hide resolved
...llections/arista/avd/extensions/molecule/eos_designs_negative_unit_tests/inventory/hosts.yml
Show resolved
Hide resolved
python-avd/pyavd/_eos_designs/structured_config/metadata/utils.py
Outdated
Show resolved
Hide resolved
python-avd/pyavd/_eos_designs/structured_config/metadata/utils.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Guillaume Mulocher <[email protected]>
python-avd/pyavd/_eos_designs/schema/schema_fragments/defs_node_type.schema.yml
Outdated
Show resolved
Hide resolved
python-avd/pyavd/_eos_designs/schema/schema_fragments/validation_profiles.schema.yml
Show resolved
Hide resolved
python-avd/pyavd/_eos_designs/schema/schema_fragments/validation_profiles.schema.yml
Show resolved
Hide resolved
ansible_collections/arista/avd/roles/eos_designs/docs/tables/node-type-structure.md
Outdated
Show resolved
Hide resolved
...le_collections/arista/avd/extensions/molecule/anta_runner/inventory/host_vars/dc1-spine1.yml
Show resolved
Hide resolved
carl-baillargeon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
|
|
Would it be possible to note this change in the 6.0.0 porting guide? |
@tkrenn-hc These are new eos_designs knobs that didn't exist in AVD 5.X. We will create a section in the porting guide to migrate from |



Change Summary
Move platform_settings.validate_hardware to validation_profiles
Related Issue(s)
Fixes #6243
Fixes #6327
Component(s) name
arista.avd.eos_designsProposed changes
One key will go under features
Make it default false for cEOS and vEOS like it is today
How to test
Run molecule
Checklist
User Checklist
Repository Checklist