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): Fix router_isis rx_disabled and mode: shared-secret #4267

Merged

Conversation

Vibhu-gslab
Copy link
Contributor

@Vibhu-gslab Vibhu-gslab commented Jul 26, 2024

Change Summary

Added test in molecule for router isis to improve the coverage
Fixing two bugs:

  • rx_disabled was checked as a string instead of a boolean.
  • auth mode had shared_secret as valid_value but the template looked for shared-secret.

Component(s) name

arista.avd.eos_cli_config_gen

How to test

Run 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)

@Vibhu-gslab Vibhu-gslab self-assigned this Jul 26, 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-4267
# Activate the virtual environment
source test-avd-pr-4267/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/Vibhu-gslab/avd.git@coverage_router_isis#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/,coverage_router_isis --force
# Optional: Install AVD examples
cd test-avd-pr-4267
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: Documentation role Updated labels Jul 26, 2024
@Vibhu-gslab Vibhu-gslab force-pushed the coverage_router_isis branch from 828eceb to b100036 Compare July 26, 2024 11:15
@github-actions github-actions bot added the state: CI Updated CI scenario have been updated in the PR label Jul 26, 2024
@Vibhu-gslab Vibhu-gslab force-pushed the coverage_router_isis branch 3 times, most recently from 95ada21 to dbb2206 Compare July 26, 2024 15:54
@Vibhu-gslab Vibhu-gslab force-pushed the coverage_router_isis branch 3 times, most recently from bc274f1 to 0eaa7d6 Compare July 31, 2024 06:58
@github-actions github-actions bot added the state: conflict PR with conflict label Jul 31, 2024
Copy link

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

@Vibhu-gslab Vibhu-gslab force-pushed the coverage_router_isis branch from 0ca7a38 to 1ea9ab9 Compare August 1, 2024 08:02
@github-actions github-actions bot removed the state: conflict PR with conflict label Aug 1, 2024
Copy link

github-actions bot commented Aug 1, 2024

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

@Vibhu-gslab Vibhu-gslab marked this pull request as ready for review August 2, 2024 09:48
@Vibhu-gslab Vibhu-gslab requested review from a team as code owners August 2, 2024 09:48
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.

I will changed the title to a fix since you are fixing two bugs.

@ClausHolbechArista ClausHolbechArista changed the title Test(eos_cli_config_gen): Added test in molecule for router isis to improve the coverage Fix(eos_cli_config_gen): Fix router_isis rx_disabled and mode: shared-secret Aug 5, 2024
Copy link

sonarqubecloud bot commented Aug 6, 2024

@ClausHolbechArista ClausHolbechArista merged commit 2303349 into aristanetworks:devel Aug 6, 2024
43 checks passed
jrecchia1029 pushed a commit to jrecchia1029/ansible-avd that referenced this pull request Aug 14, 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.

3 participants