-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ospfd: mpls ldp-sync flag is not cleared if ldp-sync is disabled #16375
Labels
triage
Needs further investigation
Comments
c-po
added a commit
to c-po/frr
that referenced
this issue
Jul 13, 2024
When enabling "mpls ldp-sync" under "router ospf" ospfd configures SET_FLAG(ldp_sync_info->flags, LDP_SYNC_FLAG_IF_CONFIG) so internally knowing that the ldp-sync feature is enabled. However the flag is not cleared when turning of the feature using "nompls ldp-sync"! FRRouting#16375 Signed-off-by: Christian Breunig <[email protected]>
c-po
added a commit
to c-po/frr
that referenced
this issue
Jul 16, 2024
When enabling "mpls ldp-sync" under "router ospf" ospfd configures SET_FLAG(ldp_sync_info->flags, LDP_SYNC_FLAG_IF_CONFIG) so internally knowing that the ldp-sync feature is enabled. However the flag is not cleared when turning of the feature using "nompls ldp-sync"! FRRouting#16375 Signed-off-by: Christian Breunig <[email protected]>
c-po
added a commit
to c-po/frr
that referenced
this issue
Jul 17, 2024
When enabling "mpls ldp-sync" under "router ospf" ospfd configures SET_FLAG(ldp_sync_info->flags, LDP_SYNC_FLAG_IF_CONFIG) so internally knowing that the ldp-sync feature is enabled. However the flag is not cleared when turning of the feature using "nompls ldp-sync"! FRRouting#16375 Signed-off-by: Christian Breunig <[email protected]>
mergify bot
pushed a commit
that referenced
this issue
Jul 23, 2024
When enabling "mpls ldp-sync" under "router ospf" ospfd configures SET_FLAG(ldp_sync_info->flags, LDP_SYNC_FLAG_IF_CONFIG) so internally knowing that the ldp-sync feature is enabled. However the flag is not cleared when turning of the feature using "nompls ldp-sync"! #16375 Signed-off-by: Christian Breunig <[email protected]> (cherry picked from commit 5a70378)
mergify bot
pushed a commit
that referenced
this issue
Jul 23, 2024
When enabling "mpls ldp-sync" under "router ospf" ospfd configures SET_FLAG(ldp_sync_info->flags, LDP_SYNC_FLAG_IF_CONFIG) so internally knowing that the ldp-sync feature is enabled. However the flag is not cleared when turning of the feature using "nompls ldp-sync"! #16375 Signed-off-by: Christian Breunig <[email protected]> (cherry picked from commit 5a70378)
mergify bot
pushed a commit
that referenced
this issue
Jul 23, 2024
When enabling "mpls ldp-sync" under "router ospf" ospfd configures SET_FLAG(ldp_sync_info->flags, LDP_SYNC_FLAG_IF_CONFIG) so internally knowing that the ldp-sync feature is enabled. However the flag is not cleared when turning of the feature using "nompls ldp-sync"! #16375 Signed-off-by: Christian Breunig <[email protected]> (cherry picked from commit 5a70378)
mergify bot
pushed a commit
that referenced
this issue
Jul 23, 2024
When enabling "mpls ldp-sync" under "router ospf" ospfd configures SET_FLAG(ldp_sync_info->flags, LDP_SYNC_FLAG_IF_CONFIG) so internally knowing that the ldp-sync feature is enabled. However the flag is not cleared when turning of the feature using "nompls ldp-sync"! #16375 Signed-off-by: Christian Breunig <[email protected]> (cherry picked from commit 5a70378)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When enabling
mpls ldp-sync
underrouter ospf
FRRospfd
configuresSET_FLAG(ldp_sync_info->flags, LDP_SYNC_FLAG_IF_CONFIG);
so internally knowing "hey - LDP was enabled", but the flag persists beeing enabled even if ldp-sync is turned off.At first glance this might look like a cosmetic issue, but the internal state flags should be in sync with the actual CLI configuration, even that the comment in the source states this:
frr/ospfd/ospf_ldp_sync.c
Lines 900 to 904 in 5203914
Version
How to reproduce
Start MPLS ldp-sync
Disable MPLS ldp-sync
Expected behavior
no ip ospf mpls ldp-sync
is not show in the interface contextvtysh -c "show run"
Actual behavior
Interface keeps showing ldp-sync is disabled on vtysh, but the entire ldp-sync section is gone, this feels "wrong"
vtysh -c "show run"
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: