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): Sort IPsec SA, IKE policies and profiles #4227

Merged

Conversation

gmuloc
Copy link
Contributor

@gmuloc gmuloc commented Jul 18, 2024

Change Summary

Today these objects are not sorted and so not matching the EOS cli output

Related Issue(s)

Found in field

Component(s) name

arista.avd.eos_cli_config_gen

Proposed changes

Adding sort for doc and eos template

How to test

molecule

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)

@gmuloc gmuloc requested review from a team as code owners July 18, 2024 10:15
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-4227
# Activate the virtual environment
source test-avd-pr-4227/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/gmuloc/avd.git@sort-ipsec-profiles-and-sa#subdirectory=python-avd" --force
# Install Ansible collection
ansible-galaxy collection install git+https://github.com/gmuloc/avd.git#/ansible_collections/arista/avd/,sort-ipsec-profiles-and-sa --force
# Optional: Install AVD examples
cd test-avd-pr-4227
ansible-playbook arista.avd.install_examples

@github-actions github-actions bot added the state: CI Updated CI scenario have been updated in the PR label Jul 18, 2024
Copy link
Contributor

@Vibhu-gslab Vibhu-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!

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.

Tested on lab

@carlbuchmann carlbuchmann added this to the v4.10.0 milestone Jul 18, 2024
Copy link
Contributor

@ClausHolbechArista ClausHolbechArista left a comment

Choose a reason for hiding this comment

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

Postponing to AVD 5.0.0 since this seems to be changing between EOS versions.

@ClausHolbechArista ClausHolbechArista modified the milestones: v4.10.0, v5.0.0 Jul 22, 2024
@ClausHolbechArista
Copy link
Contributor

Moving to draft until 4.10 has been released.

@ClausHolbechArista ClausHolbechArista marked this pull request as draft July 22, 2024 10:00
@gmuloc gmuloc marked this pull request as ready for review July 29, 2024 13:15
@ClausHolbechArista
Copy link
Contributor

Please add to release-notes for 5.x.x that we have reordered config and mention the area. It will be a common section for everything we decide to reorder.

Copy link

github-actions bot commented Aug 9, 2024

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot added the state: conflict PR with conflict label Aug 9, 2024
Copy link

Conflicts have been resolved. A maintainer will review the pull request shortly.

@github-actions github-actions bot removed the state: conflict PR with conflict label Aug 21, 2024
Copy link

sonarcloud bot commented Aug 21, 2024

@ClausHolbechArista ClausHolbechArista merged commit 3cc0195 into aristanetworks:devel Aug 21, 2024
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants