-
Notifications
You must be signed in to change notification settings - Fork 190
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
Feat(plugins): Preview - New arista.avd.deploy_to_cv role #3466
Conversation
ansible_collections/arista/avd/plugins/plugin_utils/cv_client/api/arista/alert/v1/__init__.py
Outdated
Show resolved
Hide resolved
...e_collections/arista/avd/plugins/plugin_utils/cv_client/api/arista/subscriptions/__init__.py
Outdated
Show resolved
Hide resolved
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
435b15a
to
29744b9
Compare
There was a problem hiding this 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
ansible_collections/arista/avd/plugins/plugin_utils/cv_client/client/tag.py
Show resolved
Hide resolved
ansible_collections/arista/avd/plugins/plugin_utils/cv_client/client/utils.py
Show resolved
Hide resolved
...e_collections/arista/avd/plugins/plugin_utils/cv_client/deploy_to_cv/deploy_configs_to_cv.py
Show resolved
Hide resolved
...e_collections/arista/avd/plugins/plugin_utils/cv_client/deploy_to_cv/deploy_configs_to_cv.py
Show resolved
Hide resolved
ansible_collections/arista/avd/roles/deploy_to_cv/tasks/main.yml
Outdated
Show resolved
Hide resolved
395109e
to
2fabb3c
Compare
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? |
ansible_collections/arista/avd/plugins/plugin_utils/cv_client/client/change_control.py
Show resolved
Hide resolved
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. |
There was a problem hiding this 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.
ansible_collections/arista/avd/plugins/plugin_utils/cv_client/client/configlet.py
Show resolved
Hide resolved
ansible_collections/arista/avd/plugins/plugin_utils/cv_client/client/cv_client.py
Outdated
Show resolved
Hide resolved
ansible_collections/arista/avd/plugins/plugin_utils/cv_client/client/configlet.py
Show resolved
Hide resolved
ansible_collections/arista/avd/plugins/plugin_utils/cv_client/client/exceptions.py
Show resolved
Hide resolved
ansible_collections/arista/avd/plugins/plugin_utils/cv_client/client/studio.py
Outdated
Show resolved
Hide resolved
ansible_collections/arista/avd/roles/deploy_to_cv/defaults/main/main.yml
Outdated
Show resolved
Hide resolved
...e_collections/arista/avd/plugins/plugin_utils/cv_client/deploy_to_cv/verify_devices_on_cv.py
Show resolved
Hide resolved
ansible_collections/arista/avd/plugins/plugin_utils/cv_client/deploy_to_cv/models.py
Show resolved
Hide resolved
ansible_collections/arista/avd/plugins/plugin_utils/cv_client/deploy_to_cv/deploy_to_cv.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Tamas Plugor <41957075+noredistribution@users.noreply.github.com>
…client/cv_client.py Co-authored-by: Guillaume Mulocher <gmulocher@arista.com>
2d254ce
to
3f22a6f
Compare
Conflicts have been resolved. A maintainer will review the pull request shortly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚡ ⚡ ⚡
Change Summary
Preview - New arista.avd.deploy_to_cv role
Component(s) name
arista.avd.<role-name>
Proposed changes
Adding:
aristaproto
library.deploy_to_cv
package with all functionality required to deploy configs and tags to CV.arista.avd.deploy_to_cv
which wraps the python code consumes data from structured configs etc.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
Repository Checklist