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

Feat(eos_cli_config_gen): Add support for Router BGP missing-policy for address-family all #4034

Merged
merged 16 commits into from
Jun 11, 2024

Conversation

MaheshGSLAB
Copy link
Contributor

Change Summary

Add support for Router BGP - Missing policy direction and decision

Related Issue(s)

Fixes #3249

Component(s) name

arista.avd.eos_cli_config_gen

Proposed changes

Added the support for missing policy on router BGP for neighbor and peer.

How to test

Run 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

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-4034
# Activate the virtual environment
source test-avd-pr-4034/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/MaheshGSLAB/ansible-avd.git@issue-3249#subdirectory=python-avd" --force
# Install Ansible collection
ansible-galaxy collection install git+https://github.com/MaheshGSLAB/ansible-avd.git#/ansible_collections/arista/avd/,issue-3249 --force
# Optional: Install AVD examples
cd test-avd-pr-4034
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 role: eos_designs issue related to eos_designs role labels May 24, 2024
@MaheshGSLAB MaheshGSLAB requested a review from Shivani-gslab June 3, 2024 10:57
@MaheshGSLAB MaheshGSLAB requested a review from Vibhu-gslab June 3, 2024 13:29
Vibhu-gslab
Vibhu-gslab previously approved these changes Jun 4, 2024
@Vibhu-gslab Vibhu-gslab marked this pull request as ready for review June 4, 2024 07:03
@Vibhu-gslab Vibhu-gslab requested review from a team as code owners June 4, 2024 07:03
Shivani-gslab
Shivani-gslab previously approved these changes Jun 4, 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.

Please try to work this in with the existing missing_policy data model. Also check how they interoperate on EOS (My guess is they don't so we better combine them in AVD too).
Also IMO the fields in the doc are a bit much for a rarely used feature.

@MaheshGSLAB MaheshGSLAB marked this pull request as draft June 6, 2024 08:35
@MaheshGSLAB MaheshGSLAB marked this pull request as ready for review June 7, 2024 07:26
@ClausHolbechArista ClausHolbechArista dismissed stale reviews from Shivani-gslab and Vibhu-gslab June 7, 2024 10:00

many changes

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.

A few more, but you should be able to just commit from github.

@ClausHolbechArista ClausHolbechArista added the one approval This PR has one approval and is only missing one more. label Jun 10, 2024
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

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.

minor suggestions

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!

@ClausHolbechArista ClausHolbechArista merged commit c7281d3 into aristanetworks:devel Jun 11, 2024
41 checks passed
@ClausHolbechArista ClausHolbechArista changed the title Feat(eos_cli_config_gen): Add support for Router BGP - Missing policy direction and decision Feat(eos_cli_config_gen): Add support for Router BGP missing-policy for address-family all Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
one approval This PR has one approval and is only missing one more. rn: Feat(eos_cli_config_gen) role: eos_cli_config_gen issue related to eos_cli_config_gen role 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.

Router BGP - Missing Features / Possibly not sure where to put them.
4 participants