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

Cut(eos_cli_config_gen): Remove deprecated keys enable_vrfs and octa from management_api_gnmi data model #4296

Merged
merged 9 commits into from
Aug 2, 2024

Conversation

Vibhu-gslab
Copy link
Contributor

Change Summary

Remove deprecated keys enable_vrfs and octa from management_api_gnmi data model

Related Issue(s)

Fixes #

Component(s) name

arista.avd.eos_cli_config_gen

Proposed changes

added removed: true in schema and removed j2 code also made modifications to deprecated_vars 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 31, 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-4296
# Activate the virtual environment
source test-avd-pr-4296/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/Vibhu-gslab/avd.git@dep_management_api_gnmi#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/,dep_management_api_gnmi --force
# Optional: Install AVD examples
cd test-avd-pr-4296
ansible-playbook arista.avd.install_examples

@github-actions github-actions bot added type: documentation Improvements or additions to documentation 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 labels Jul 31, 2024
@Vibhu-gslab Vibhu-gslab changed the title Cut((eos_cli_config_gen): Remove deprecated keys enable_vrfs and octa from management_api_gnmi data model Cut(eos_cli_config_gen): Remove deprecated keys enable_vrfs and octa from management_api_gnmi data model Jul 31, 2024
Copy link

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 Jul 31, 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 Jul 31, 2024
@Vibhu-gslab Vibhu-gslab marked this pull request as ready for review July 31, 2024 14:02
@Vibhu-gslab Vibhu-gslab requested review from a team as code owners July 31, 2024 14:02
@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 and others added 4 commits August 1, 2024 12:49
Co-authored-by: Mahesh Kumar <122076792+MaheshGSLAB@users.noreply.github.com>
…/management-api-gnmi.j2

Co-authored-by: laxmikantchintakindi <159624484+laxmikantchintakindi@users.noreply.github.com>
Copy link

github-actions bot commented Aug 1, 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 Aug 1, 2024
@laxmikantchintakindi
Copy link
Contributor

We can remove lines 124-139 from schema file and its documentation.

@laxmikantchintakindi
Copy link
Contributor

line 148 too.

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.

You should remove the below files
python-avd/pyavd/_eos_cli_config_gen/schema/eos_cli_config_gen.jsonschema.json
python-avd/pyavd/_eos_designs/schema/eos_designs.jsonschema.json

@ClausHolbechArista ClausHolbechArista added this to the v5.0.0-dev1 milestone Aug 2, 2024
@gmuloc gmuloc dismissed MaheshGSLAB’s stale review August 2, 2024 14:38

JSON files have been removed

Copy link
Contributor

@gmuloc gmuloc 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

sonarcloud bot commented Aug 2, 2024

@gmuloc gmuloc merged commit 339c855 into aristanetworks:devel Aug 2, 2024
43 checks passed
jrecchia1029 pushed a commit to jrecchia1029/ansible-avd that referenced this pull request Aug 14, 2024
…from management_api_gnmi data model (aristanetworks#4296)

Co-authored-by: Guillaume Mulocher <gmulocher@arista.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rn: Cut(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 type: documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants