Skip to content
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

isisd: fix wrong check for MT commands (backport #17014) #17027

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Oct 8, 2024

anlan# show run
!
interface eth0
 ip router isis A
exit
!
router isis A
 metric-style narrow <- NOT wide
exit
!
end
anlan (config)# int eth0
anlan (config-if)# no isis topology ipv6-unicast
% Configuration failed.

Error type: validation
Error description: Multi topology IS-IS can only be used with wide metrics

The MT commands are mainly controlled by the binded area, not by interface. Currently if there is any MT configuration in the area, metric-style must be with the wide mode, this requirement is sufficient. So, the unnecessary/wrong check for MT in the interface should be removed.


This is an automatic backport of pull request #17014 done by Mergify.

```
anlan# show run
!
interface eth0
 ip router isis A
exit
!
router isis A
 metric-style narrow <- NOT wide
exit
!
end
anlan (config)# int eth0
anlan (config-if)# no isis topology ipv6-unicast
% Configuration failed.

Error type: validation
Error description: Multi topology IS-IS can only be used with wide metrics
```

The MT commands are mainly controlled by the binded area, not by interface.
Currently if there is any MT configuration in the area, `metric-style` must
be with the `wide` mode, this requirement is sufficient.  So, the
unnecessary/wrong check for MT in the interface should be removed.

Signed-off-by: anlan_cs <[email protected]>
(cherry picked from commit 424cec6)
@donaldsharp donaldsharp merged commit 29f5546 into stable/10.0 Oct 8, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants