-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not allow to configure a loopback interface in multiple areas
- Loading branch information
1 parent
cf5e8ad
commit e66cba3
Showing
2 changed files
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,10 @@ module infix-routing { | |
contact "[email protected]"; | ||
description "Deviations and augments for ietf-routing and ietf-ospf."; | ||
|
||
revision 2024-10-01 { | ||
description "Remove possibility to have loopack in multiple areas."; | ||
reference "internal"; | ||
} | ||
revision 2024-09-23 { | ||
description "Augment static routes with optional route-preference (distance)."; | ||
reference "internal"; | ||
|
@@ -272,7 +276,7 @@ module infix-routing { | |
} | ||
deviation "/rt:routing/rt:control-plane-protocols/rt:control-plane-protocol/ospf:ospf/ospf:areas/ospf:area/ospf:interfaces/ospf:interface" { | ||
deviate add { | ||
must "current()/name = 'lo' or count(../../../../ospf:areas/ospf:area/ospf:interfaces/ospf:interface[ospf:name=current()/name]) <= 1" { | ||
must "count(../../../../ospf:areas/ospf:area/ospf:interfaces/ospf:interface[ospf:name=current()/name]) <= 1" { | ||
error-message "Only one area per interface is allowed."; | ||
} | ||
} | ||
|
File renamed without changes.