fix: send default OSPF auth key ID (127) when authentication is disabled - #870
Open
ccoueffe wants to merge 1 commit into
Open
fix: send default OSPF auth key ID (127) when authentication is disabled#870ccoueffe wants to merge 1 commit into
ccoueffe wants to merge 1 commit into
Conversation
ccoueffe
marked this pull request as ready for review
August 12, 2026 09:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes #869
Related Collection Role
Related Data Model Element
Proposed Changes
When
ospf.authentication_enable: false, NDFC rejects anyOSPF_AUTH_KEY_IDvalue other than empty or127. Previously the template always sent the user-provided key ID, causing fabric update failures when auth was disabled but a key ID was defined in the data model.Template fix (
dc_vxlan_fabric_protocols.j2)authentication_enable: trueauthentication_enable: false127from defaults)The
elsebranch now explicitly sends the defaultOSPF_AUTH_KEY_ID(127) when authentication is disabled. This is safe because:127is the NDFC default value forOSPF_AUTH_KEY_IDin thedcnm_fabricmodule127is accepted by NDFC in all scenarios (fresh fabric, previously enabled then disabled)OSPF_AUTH_KEYis not sent when auth is disabled (omitted from payload)Data Model Example
Test Notes
Tested with:
OSPF_AUTH_KEY_ID=127acceptedCisco Nexus Dashboard Version
12.4.1
Checklist