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

Fix(eos_cli_config_gen): Remove primary key of system.control_plane.ipv4/6_access_group and make vrf key unique #4465

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

Vibhu-gslab
Copy link
Contributor

Change Summary

Remove primary key of system.control_plane.ipv4/6_access_group and make vrf key unique

Related Issue(s)

Fixes #4446

Component(s) name

arista.avd.eos_cli_config_gen

Proposed changes

Removed primary_key: acl_name and added vrf key in the list of unique_keys.

How to test

CI will test

Checklist

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)

@Vibhu-gslab Vibhu-gslab self-assigned this Sep 13, 2024
Copy link

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

@github-actions github-actions bot added role: eos_cli_config_gen issue related to eos_cli_config_gen role state: CI Updated CI scenario have been updated in the PR state: Documentation role Updated labels Sep 13, 2024
Copy link
Contributor

@MaheshGSLAB MaheshGSLAB left a comment

Choose a reason for hiding this comment

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

LGTM

@MaheshGSLAB MaheshGSLAB marked this pull request as ready for review September 13, 2024 12:06
@MaheshGSLAB MaheshGSLAB requested review from a team as code owners September 13, 2024 12:06
Copy link
Contributor

@Shivani-gslab Shivani-gslab left a comment

Choose a reason for hiding this comment

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

LGTM

@Vibhu-gslab Vibhu-gslab added this to the v5.0.0 milestone Sep 13, 2024
…ane.ipv4/6_access_group and make vrf key unique
Copy link

sonarcloud bot commented Sep 17, 2024

@ClausHolbechArista ClausHolbechArista merged commit 55b8be5 into aristanetworks:devel Sep 17, 2024
43 checks passed
@ClausHolbechArista ClausHolbechArista changed the title Refactor(eos_cli_config_gen): Remove primary key of system.control_plane.ipv4/6_access_group and make vrf key unique Fix(eos_cli_config_gen): Remove primary key of system.control_plane.ipv4/6_access_group and make vrf key unique Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rn: Fix(eos_cli_config_gen) role: eos_cli_config_gen issue related to eos_cli_config_gen 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.

"system control-plane" overwritten when same ACL is used for different VRFs
5 participants