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(plugins): Preview - New arista.avd.deploy_to_cv role #3466

Conversation

ClausHolbechArista
Copy link
Contributor

@ClausHolbechArista ClausHolbechArista commented Jan 3, 2024

Change Summary

Preview - New arista.avd.deploy_to_cv role

Component(s) name

arista.avd.<role-name>

Proposed changes

Adding:

  • Auto-generated gRPC API with asyncio python bindings based on aristaproto library.
  • CVClient library wrapping gRPC API to provider more user-friendly functions.
  • deploy_to_cv package with all functionality required to deploy configs and tags to CV.
  • Ansible Action plugin arista.avd.deploy_to_cv which wraps the python code consumes data from structured configs etc.
  • Ansible Role arista.avd.deploy_to_cv to easily deploy things from a playbook.

See the preview docs for role documentation.

How to test

See the preview docs for role documentation.

Only tested manually. Molecule tests will be added in #3500 but those will most likely still require manual testing.

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)

@github-actions github-actions bot added the type: documentation Improvements or additions to documentation label Jan 3, 2024
@github-actions github-actions bot added the state: conflict PR with conflict label Jan 4, 2024
Copy link

github-actions bot commented Jan 4, 2024

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

Copy link

github-actions bot commented Jan 5, 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 Jan 5, 2024
@ClausHolbechArista ClausHolbechArista force-pushed the feat/plugins/new-cvp-integration-library branch from 435b15a to 29744b9 Compare January 15, 2024 06:39
@ClausHolbechArista ClausHolbechArista changed the title Feat(plugins): New CloudVision integration Feat(plugins): Preview - New CloudVision integration Jan 17, 2024
@ClausHolbechArista ClausHolbechArista marked this pull request as ready for review January 17, 2024 12:13
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.

Only had time to go halfway through it but some initial comments

@ClausHolbechArista ClausHolbechArista changed the title Feat(plugins): Preview - New CloudVision integration Feat(plugins): Preview - New arista.avd.deploy_to_cv role Jan 18, 2024
@philippebureau
Copy link
Contributor

we need to make sure the users are aware that we need to turn on studios end to end provisioning to enable the static studios

Also, the devices have to be on-boarded previously with the inventory studios. Should the avd role auto accept updates for devices in the inventory?

@ClausHolbechArista
Copy link
Contributor Author

we need to make sure the users are aware that we need to turn on studios end to end provisioning to enable the static studios

Also, the devices have to be on-boarded previously with the inventory studios. Should the avd role auto accept updates for devices in the inventory?

Thank you @philippebureau I will add these points to my tracker for future enhancements. This is all under preview for now, so I will fix it step by step.

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.

Only went through the code (no testing as others have done it)
Almost all my comments can be punted to later except the one asking for potential wrong default value in the role I think.

@ClausHolbechArista ClausHolbechArista force-pushed the feat/plugins/new-cvp-integration-library branch from 2d254ce to 3f22a6f Compare February 9, 2024 10:53
@github-actions github-actions bot removed the state: conflict PR with conflict label Feb 9, 2024
Copy link

github-actions bot commented Feb 9, 2024

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

@github-actions github-actions bot removed role: eos_cli_config_gen issue related to eos_cli_config_gen role role: eos_designs issue related to eos_designs role labels Feb 9, 2024
@github-actions github-actions bot added filter: is_in_filter issue related to is_in_filter plugin filter: natural_sort issue related to natural_sort filter plugin type: Python filters labels Feb 9, 2024
Copy link
Member

@carlbuchmann carlbuchmann 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
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.

:shipit: ⚡ ⚡ ⚡

@gmuloc gmuloc merged commit aeda0c2 into aristanetworks:devel Feb 9, 2024
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EPIC - AVD AutoVPN/WAN filter: is_in_filter issue related to is_in_filter plugin filter: natural_sort issue related to natural_sort filter plugin rn: Feat(plugins) state: Documentation role Updated type: code quality CI and development toolset type: documentation Improvements or additions to documentation type: Python filters
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants