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

CI(eos_cli_config_gen): Restructured the eos_cli_config_gen molecule host vars part-4 #4683

Open
wants to merge 8 commits into
base: devel
Choose a base branch
from

Conversation

MaheshGSLAB
Copy link
Contributor

@MaheshGSLAB MaheshGSLAB commented Nov 5, 2024

Change Summary

Restructured the eos_cli_config_gen molecule host vars part-4

Related Issue(s)

Fixes #https://github.com/aristanetworks/avd-internal/issues/171

Component(s) name

arista.avd.eos_cli_config_gen

Proposed changes

Restructured the eos_cli_config_gen molecule host vars

How to test

Run eos_cli_config_gen molecule then run tox command to generate the coverage report.

molecule converge -s eos_cli_config_gen
tox -e coverage,report

Module Coverage Comment
eos/errdisable.j2 94 3 partial(require schema and j2 update)
document/errdisable.j2 98 4 partial(require schema and j2 update)
eos/event-handlers.j2 99 1 partial
document/event-handlers.j2 98 4 partial(some deprecated keys)
eos/event-monitor.j2 100 -
eos/hostname.j2 100 -
eos/interface-groups.j2 100 -
document/interface-groups.j2 100 -
eos/bgp-groups.j2 100 -
document/bgp-groups.j2 100 -
eos/interface-profiles.j2 97 1 partial(require j2 update)
document/interface-profiles.j2 100 -
eos/ip-community-lists.j2 94 4 partial(require update)
document/ip-community-lists.j2 95 4 partial
eos/ip-dhcp-relay.j2 97 1 partial
document/ip-dhcp-relay.j2 97 1 partial
eos/ip-dhcp-snooping.j2 98 1 partial
document/ip-dhcp-snooping.j2 98 1 partial
eos/ip-extended-community-lists.j2 97 1 partial(require j2 update)
document/ip-extended-community-lists.j2 98 1 partial(require j2 update)
eos/ip-extended-community-lists-regexp.j2 97 1 partial(require j2 update)
document/ip-extended-community-lists-regexp.j2 98 1 partial(require j2 update)
eos/iip-igmp-snooping-enable.j2 92 2 partial
document/ip-igmp-snooping-enable.j2 100 -

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)

@MaheshGSLAB MaheshGSLAB self-assigned this Nov 5, 2024
Copy link

github-actions bot commented Nov 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-4683
# Activate the virtual environment
source test-avd-pr-4683/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/MaheshGSLAB/ansible-avd.git@cli-restructure-part4#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/MaheshGSLAB/ansible-avd.git#/ansible_collections/arista/avd/,cli-restructure-part4 --force
# Optional: Install AVD examples
cd test-avd-pr-4683
ansible-playbook arista.avd.install_examples

@github-actions github-actions bot added state: CI Updated CI scenario have been updated in the PR state: conflict PR with conflict labels Nov 5, 2024
Copy link

github-actions bot commented Nov 5, 2024

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

Copy link

github-actions bot commented Nov 7, 2024

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 Nov 7, 2024
@@ -15,7 +15,7 @@
{% for ip_extcommunity_list in ip_extcommunity_lists_regexp | arista.avd.natural_sort('name') %}
{% for entry in ip_extcommunity_list.entries | arista.avd.default([]) %}
{% if entry.type is arista.avd.defined and entry.regexp is arista.avd.defined %}
| {{ ip_extcommunity_list.name }} | {{ entry.type }} | {{ entry.regexp }} |
| {{ ip_extcommunity_list.name }} | {{ entry.type }} | `{{ entry.regexp }}` |
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Made the changes as MD lint was giving issue
ansible_collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/host1.md:1183:31 MD052/reference-links-images Reference links and images should use a label that is defined [Missing link or image reference definition: "0-9"] [Context: "[0-9][0-9]"

Copy link

sonarcloud bot commented Nov 7, 2024

@MaheshGSLAB MaheshGSLAB marked this pull request as ready for review November 7, 2024 13:45
@MaheshGSLAB MaheshGSLAB requested review from a team as code owners November 7, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: CI Updated CI scenario have been updated in the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant