Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Fixes an issue found by Alessandro De Prato where Ansible-created external fabrics (e.g. ISN) are displayed with incorrect Fabric Type column value in the NDFC GUI on page:
NDFC -> Manage -> Fabrics
Details
For example, ISN fabric types are displayed with a column value of "Custom Fabric" but SHOULD be displayed with a column value of "Multi-Site External Network".
The reason is that the NDFC GUI adds the key
EXT_FABRIC_TYPE
to the payload with the value (in the case of ISN) of "Multi-Site External Network".This only affects fabrics using the
External_Fabric
template.Testing
I've tested to verify the fix and have tested to verify that the fix does not change behavior for non-External fabric types.
Other
Have made the fix extensible, so that it can be applied to other fabric types that use the
External_Fabric
template, should we decide to add them.Resolves
#343