You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to typos, sometimes an endpoint may refer to a port profile that ends up being non-existent due to the typo.
This does not result in errors but it ends up generating configs that do not take the profile in consideration.
Please error out when referring to a profile that can't be found.
Which component(s) of AVD impacted
eos_designs
How do you run AVD ?
Ansible CLI (with virtual-env or native python)
Steps to reproduce
port_profiles:
- profile: SERVER_A_PROFILE
mode: trunk
speed: 10g
vlans: 2004, 2005, 2016, 2017
servers:
- name: SERVER-A
adapters:
- endpoint_ports: [eth1]
switch_ports: [Ethernet21]
switches: [LF01-A]
profile: SERVER-A-PROFILE
enabled: true
(note the mixup of dashes vs underscores in the profile name)
The end result understandably does not have the configs from the port profile, but there is no error to be seen.
Relevant log output
(there are no logs, that's the point :) )
Contributing Guide
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
gmuloc
changed the title
Bug(eos_designs): Non-existent profiles are ignored without errors
Feat(eos_designs): Non-existent profiles are ignored without errors
May 6, 2024
Reclassifying it as this is historic behavior and changing it this way. For several minor releases we have been introducing this kind of behavior in other areas of AVD and this would be a good addition.
Reclassifying it as this is historic behavior and changing it this way. For several minor releases we have been introducing this kind of behavior in other areas of AVD and this would be a good addition.
Fair enough, but I am curious about the use case of referencing a non-existent profile... any examples?
Issue Summary
Due to typos, sometimes an endpoint may refer to a port profile that ends up being non-existent due to the typo.
This does not result in errors but it ends up generating configs that do not take the profile in consideration.
Please error out when referring to a profile that can't be found.
Which component(s) of AVD impacted
eos_designs
How do you run AVD ?
Ansible CLI (with virtual-env or native python)
Steps to reproduce
Relevant log output
(there are no logs, that's the point :) )
Contributing Guide
The text was updated successfully, but these errors were encountered: