-
Notifications
You must be signed in to change notification settings - Fork 236
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(eos_designs): Add schema validation to eos_designs action plugins #2350
Feat(eos_designs): Add schema validation to eos_designs action plugins #2350
Conversation
79cc93b
to
e9d5a04
Compare
e9d5a04
to
dff6ddd
Compare
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
48f74ec
to
4104672
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.
The method run
in yaml_template_to_facts
is very big maybe some bits of logic could be moved to some separate functions (e.g. all the self.dest
handling)
ansible_collections/arista/avd/plugins/modules/yaml_templates_to_facts.py
Outdated
Show resolved
Hide resolved
ansible_collections/arista/avd/plugins/modules/yaml_templates_to_facts.py
Show resolved
Hide resolved
ansible_collections/arista/avd/plugins/modules/yaml_templates_to_facts.py
Outdated
Show resolved
Hide resolved
ansible_collections/arista/avd/plugins/modules/eos_designs_facts.py
Outdated
Show resolved
Hide resolved
ansible_collections/arista/avd/plugins/modules/eos_designs_facts.py
Outdated
Show resolved
Hide resolved
ansible_collections/arista/avd/plugins/action/eos_designs_facts.py
Outdated
Show resolved
Hide resolved
ansible_collections/arista/avd/plugins/action/eos_designs_facts.py
Outdated
Show resolved
Hide resolved
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
…s.py Co-authored-by: Guillaume Mulocher <gmulocher@arista.com>
06f2525
to
3ab3522
Compare
Change Summary
Add schema validation to eos_designs action plugins
Component(s) name
arista.avd.eos_designs_facts
arista.avd.yaml_templates_to_facts
Proposed changes
How to test
Since we don't have any schemas yet, I tested locally with some draft schemas.
Checklist
User Checklist
Repository Checklist