diff --git a/src/confd/yang/infix/infix-routing.yang b/src/confd/yang/infix/infix-routing.yang index 1f1f633b..59d7bcb6 100644 --- a/src/confd/yang/infix/infix-routing.yang +++ b/src/confd/yang/infix/infix-routing.yang @@ -26,6 +26,10 @@ module infix-routing { contact "kernelkit@googlegroups.com"; 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."; } } diff --git a/src/confd/yang/infix/infix-routing@2024-09-23.yang b/src/confd/yang/infix/infix-routing@2024-10-01.yang similarity index 100% rename from src/confd/yang/infix/infix-routing@2024-09-23.yang rename to src/confd/yang/infix/infix-routing@2024-10-01.yang