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

Refactor(eos_cli_config_gen): Addressed missed comments for patch-panel #4078

Merged

Conversation

gmuloc
Copy link
Contributor

@gmuloc gmuloc commented Jun 5, 2024

Change Summary

Fix comments that were added in patch-panel PR #4063

Component(s) name

arista.avd.eos_cli_config_gen

Proposed changes

Add max values and group together min and max delay in reco

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 June 5, 2024 14:13
Copy link

github-actions bot commented Jun 5, 2024

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-4078
# Activate the virtual environment
source test-avd-pr-4078/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/gmuloc/avd.git@address-4063-comments#subdirectory=python-avd" --force
# Install Ansible collection
ansible-galaxy collection install git+https://github.com/gmuloc/avd.git#/ansible_collections/arista/avd/,address-4063-comments --force
# Optional: Install AVD examples
cd test-avd-pr-4078
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 Jun 5, 2024
@gmuloc
Copy link
Contributor Author

gmuloc commented Jun 5, 2024

@Shivani-gslab @ccsnw @ClausHolbechArista

Copy link

sonarcloud bot commented Jun 5, 2024

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

@Shivani-gslab
Copy link
Contributor

Shivani-gslab commented Jun 6, 2024

https://github.com/aristanetworks/avd/pull/4078/files#diff-04eafc9714c156e4b9d33497f8abe2ff613613dee60edb095bbea33afd8b7c76L23-R26
this part of schema can be reduced to - recovery_review_delay

recovery_review_delay:
    type: dict
    keys:
        min:
            type: int
        max:
             type: int

Not able to comment on that line :)

@gmuloc
Copy link
Contributor Author

gmuloc commented Jun 6, 2024

https://github.com/aristanetworks/avd/pull/4078/files#diff-04eafc9714c156e4b9d33497f8abe2ff613613dee60edb095bbea33afd8b7c76L23-R26 this part of schema can be reduced to - recovery_review_delay

recovery_review_delay:
    type: dict
    keys:
        min:
            type: int
        max:
             type: int

Not able to comment on that line :)

thanks for this comment ! I think we will stick with the schema from the original PR except if more people disagree / want to see it change? @ClausHolbechArista

@Shivani-gslab
Copy link
Contributor

https://github.com/aristanetworks/avd/pull/4078/files#diff-04eafc9714c156e4b9d33497f8abe2ff613613dee60edb095bbea33afd8b7c76L23-R26 this part of schema can be reduced to - recovery_review_delay

recovery_review_delay:
    type: dict
    keys:
        min:
            type: int
        max:
             type: int

Not able to comment on that line :)

thanks for this comment ! I think we will stick with the schema from the original PR except if more people disagree / want to see it change? @ClausHolbechArista

Other than this, LGTM

@ClausHolbechArista ClausHolbechArista merged commit 6e1686f into aristanetworks:devel Jun 7, 2024
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rn: Refactor(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.

3 participants