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 ability to override wan control plane policy #3690
Feat(eos_designs): Add ability to override wan control plane policy #3690
Conversation
Just found an issue in schema that is somehow related to this PR: Can you change the default value to be |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
9319ba6
to
ed79dce
Compare
Conflicts have been resolved. A maintainer will review the pull request shortly. |
03a2ac3
to
3a9c347
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.
All is there - thanks for the good work!
couple of comments regarding mostly trying to simplify the test inputs by not redefining variables inherited from the top level group
...ions/arista/avd/roles/eos_designs/schemas/schema_fragments/wan_virtual_topologies.schema.yml
Show resolved
Hide resolved
...ions/arista/avd/roles/eos_designs/schemas/schema_fragments/wan_virtual_topologies.schema.yml
Outdated
Show resolved
Hide resolved
...ions/arista/avd/roles/eos_designs/schemas/schema_fragments/wan_virtual_topologies.schema.yml
Outdated
Show resolved
Hide resolved
...ions/arista/avd/roles/eos_designs/schemas/schema_fragments/wan_virtual_topologies.schema.yml
Outdated
Show resolved
Hide resolved
...le/eos_designs_unit_tests/inventory/group_vars/cv-pathfinder-custom-control-plane-policy.yml
Outdated
Show resolved
Hide resolved
ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/hosts.yml
Outdated
Show resolved
Hide resolved
3a9c347
to
b18ad9b
Compare
b18ad9b
to
a825fcf
Compare
This one needs a rerun of molecule. |
ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/utils.py
Outdated
Show resolved
Hide resolved
...ions/arista/avd/roles/eos_designs/schemas/schema_fragments/wan_virtual_topologies.schema.yml
Outdated
Show resolved
Hide resolved
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
e16626b
to
dd25fd0
Compare
Conflicts have been resolved. A maintainer will review the pull request shortly. |
ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/utils.py
Outdated
Show resolved
Hide resolved
597a915
to
7712a1c
Compare
7712a1c
to
e5ad745
Compare
Change Summary
We provide user to either configure the control plane policy or we auto generate it. Add a molecule test to test the overriding.
Related Issue(s)
Fixes https://github.com/aristanetworks/avd-internal/issues/143
Component(s) name
arista.avd.eos_designs
Proposed changes
1.) Override control plane policy test
2.) Introduce application_profile parameter in control_plane_virtual_topology so that we can override APP-PROFILE-CONTROL-PLANE name.
3.) Added optional definition, i.e user can just override the name without defining the profile in application classification in which case we will auto-generate the profile definition ( same as what we are doing now for APP-PROFILE-CONTROL-PLANE)
4.) Alternatively, he also wants to override the application classification as well, he can just define the profile in application classification section
How to test
molecule
Checklist
User Checklist
Fix schema https://github.com/aristanetworks/avd/blob/devel/ansible_collections/arista/avd/roles/eos_designs/schemas/schema_fragments/wan_virtual_topologies.schema.yml#L73
Can you change the default value to be -CONTROL-PLANE in the schema description for name?
Repository Checklist