-
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(eos_designs): Add RD and RT override for VRFs #3419
Conversation
...tions/arista/avd/roles/eos_designs/schemas/schema_fragments/defs_network_services.schema.yml
Outdated
Show resolved
Hide resolved
...tions/arista/avd/roles/eos_designs/schemas/schema_fragments/defs_network_services.schema.yml
Outdated
Show resolved
Hide resolved
...tions/arista/avd/roles/eos_designs/schemas/schema_fragments/defs_network_services.schema.yml
Outdated
Show resolved
Hide resolved
...tions/arista/avd/roles/eos_designs/schemas/schema_fragments/defs_network_services.schema.yml
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.
Tested, LGTM
I would commit Carl`s suggestions on the documentation
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, small suggestion on the documentation
…a_fragments/defs_network_services.schema.yml Co-authored-by: Carl Buchmann <carl.buchmann@arista.com>
…a_fragments/defs_network_services.schema.yml Co-authored-by: Carl Buchmann <carl.buchmann@arista.com>
…a_fragments/defs_network_services.schema.yml Co-authored-by: Carl Buchmann <carl.buchmann@arista.com>
…a_fragments/defs_network_services.schema.yml Co-authored-by: Carl Buchmann <carl.buchmann@arista.com>
Thanks for the review, I commited your suggestions |
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
I have 2 points to double check with you:
` If I understand correctly from the eos_designs.schema, A single number will be used in the RT assigned number subfield (second part of the RT). But if you specify like the yellow line, the result will be different. By default, the “admin_subfield” will be vrf_id, and if I set different vrf_id and rt_override. In our deployment, it should be OK, but other customers may confuse about this behavior. What do you think? |
@forcecity very good catch! We should also be respecting the admin_subfield setting if you give rt_override (without colon). I will fix this in a new PR. |
Change Summary
Added the possibility to override the RD and RT values for VRFs.
Related Issue(s)
Fixes #3296
Component(s) name
arista.avd.eos_designs
Proposed changes
Added RD and RT override for VRFs in similar way it was already available for l2vlans
How to test
Checklist
User Checklist
Repository Checklist