8000 Feat(eos_designs): Add more feature support toggles for platform_settings. Batch 3 (sFlow) by alexeygorbunov · Pull Request #5603 · aristanetworks/avd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Feat(eos_designs): Add more feature support toggles for platform_settings. Batch 3 (sFlow) #5603

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

Draft
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

alexeygorbunov
Copy link
Contributor

Change Summary

Enforce platform-based limitations for the following EOS features:

sFlow. Affected AVD eos_designs knobs:

  • fabric_sflow
  • sflow_settings
  • network_ports.[].sflow
  • <connected_endpoints_keys.key>.[].adapters.[].sflow
  • core_interfaces.p2p_links.[].sflow
  • l3_edge.p2p_links.[].sflow

sFlow functionality is not supported on cloudEOS virtual platform.

Related Issue(s)

Fixes #

Component(s) name

arista.avd.eos_designs

Proposed changes

Disable rendering of sFlow-related structured config unless shared_utils.platform_settings.feature_support.sflow is True

How to test

eos_designs_unit_tests molecule scenario
pytest for molecule

Checklist

User Checklist

  • N/A

Repository Checklist

  • My code has been rebased from devel before I start
  • I have read the CONTRIBUTING document.
  • My change requires a change to the documentation and documentation have been updated accordingly.
  • I have updated molecule CI testing accordingly. (check the box if not applicable)

Copy link
github-actions bot commented Jul 9, 2025

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-5603
# Activate the virtual environment
source test-avd-pr-5603/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/alexeygorbunov/avd.git@feature/feature-support-veos-cloudeos-batch-3#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/alexeygorbunov/avd.git#/ansible_collections/arista/avd/,feature/feature-support-veos-cloudeos-batch-3 --force
# Optional: Install AVD examples
cd test-avd-pr-5603
ansible-playbook arista.avd.install_examples

@github-actions github-actions bot added state: CI Updated CI scenario have been updated in the PR state: Documentation role Updated labels Jul 9, 2025
@github-actions github-actions bot added the role: eos_designs issue related to eos_designs role label Jul 9, 2025
Copy link
sonarqubecloud bot commented Jul 9, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
role: eos_designs issue related to eos_designs role state: CI Updated CI scenario have been updated in the PR state: Documentation role Updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0