Conversation
ea998c1 to
d0e4b57
Compare
e9ca1fb to
2082b47
Compare
felix-kaestner
left a comment
There was a problem hiding this comment.
Thanks for this fix!
Could you add a little description when you merge why this change was done, i.e. that we currently update the configuration in YANG on every reconcile as we missed the default value of this field?
2082b47 to
b2341f1
Compare
… loop Pysical interfaces are currently being continuosly reconciled because we miss one of the default values. This happens because the method EnsureInterface() calls Default() to initialize PhysIf structs. The Default() method did not set FecMode, leaving it as empty string. This caused a mismatch: the controller expected empty string while NX-OS devices default to "auto". During reconciliation, GetConfig() would read "auto" from the device but the desired config had "", triggering an update. As NX-OS kept returning "auto", we got into an infinite reconciliation loop. Fixed by initializing FecMode to FecModeAuto in Default() to match the NX-OS default.
b2341f1 to
d325dbb
Compare
Merging this branch will not change overall coverage
Coverage by fileChanged files (no unit tests)
Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code. Changed unit test files
|
|
Pysical interfaces are currently being continuosly reconciled because we |
No description provided.