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
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
This could probably be fixed on the NX-OS side, but submitting this to see if it could be addressed within the dcnm_links module by ignoring upper/lower-case when returning results.
The problem:
N9K-C9504 reports its loopback as: loopback0
N9K-C9336C-FX2 reports its loopback as: Loopback0
If the user runs the below task, it will return no result since both interfaces are specified with "loopback0" (below, dst_interface belongs to N9K-C9336C-FX2):
Hence, the user has to know what switch models are deployed in order to obtain correct results. It would be wonderful if dcnm_links could ignore if-name case (see JSON below) when determining whether to include a link in the result.
For reference, below is the relevant output from the second playbook above (removing non-relevant key/values for brevity).
@allenrobel This seems like a reasonable request. Unless there is a hidden issue here I don't see a problem with ignoring case and probably faster to fix in the collection then on NXOS
Community Note
Description
This could probably be fixed on the NX-OS side, but submitting this to see if it could be addressed within the dcnm_links module by ignoring upper/lower-case when returning results.
The problem:
N9K-C9504 reports its loopback as: loopback0
N9K-C9336C-FX2 reports its loopback as: Loopback0
If the user runs the below task, it will return no result since both interfaces are specified with "loopback0" (below, dst_interface belongs to N9K-C9336C-FX2):
In contrast, the below task returns a result:
Hence, the user has to know what switch models are deployed in order to obtain correct results. It would be wonderful if dcnm_links could ignore
if-name
case (see JSON below) when determining whether to include a link in the result.For reference, below is the relevant output from the second playbook above (removing non-relevant key/values for brevity).
New or Affected modules(s):
NDFC version
Potential ansible task config
Please reference the two ansible task examples in the Description.
The text was updated successfully, but these errors were encountered: