From 3ab7a7d53114ad69355607eab7c6fa2bcfec4843 Mon Sep 17 00:00:00 2001 From: Ahmed Karic Date: Wed, 27 Nov 2024 14:50:14 +0100 Subject: [PATCH] confd: Deviate address-family in OSPF In the OSPF(v2) context, there is an "address-family" setting available. However, since only IPv4 routes are supported in OSPF, currently this setting is not relevant. Fixes #813 --- src/confd/yang/confd.inc | 2 +- src/confd/yang/infix-routing.yang | 9 +++++++++ ...ing@2024-11-15.yang => infix-routing@2024-11-27.yang} | 0 3 files changed, 10 insertions(+), 1 deletion(-) rename src/confd/yang/{infix-routing@2024-11-15.yang => infix-routing@2024-11-27.yang} (100%) diff --git a/src/confd/yang/confd.inc b/src/confd/yang/confd.inc index 80e64b41c..96573e997 100644 --- a/src/confd/yang/confd.inc +++ b/src/confd/yang/confd.inc @@ -27,7 +27,7 @@ MODULES=( "ieee802-dot1q-types@2022-10-29.yang" "infix-ip@2024-09-16.yang" "infix-if-type@2024-10-13.yang" - "infix-routing@2024-11-15.yang" + "infix-routing@2024-11-27.yang" "ieee802-dot1ab-lldp@2022-03-15.yang" "infix-lldp@2023-08-23.yang" "infix-dhcp-client@2024-09-20.yang" diff --git a/src/confd/yang/infix-routing.yang b/src/confd/yang/infix-routing.yang index fa17daeb3..effdcff56 100644 --- a/src/confd/yang/infix-routing.yang +++ b/src/confd/yang/infix-routing.yang @@ -20,6 +20,10 @@ module infix-routing { contact "kernelkit@googlegroups.com"; description "Deviations and augments for ietf-routing and ietf-ospf."; + revision 2024-11-27 { + description "Deviate address-family in OSPF"; + reference "internal"; + } revision 2024-11-15 { description "Fix pyang linter errors and warnings: - Drop OSPF database deviations, already deviated earlier @@ -304,6 +308,11 @@ module infix-routing { deviation "/rt:routing/rt:control-plane-protocols/rt:control-plane-protocol/ospf:ospf/ospf:spf-control" { deviate not-supported; } + + deviation "/rt:routing/rt:control-plane-protocols/rt:control-plane-protocol/ospf:ospf/ospf:address-family" { + deviate not-supported; + } + deviation "/rt:routing/rt:control-plane-protocols/rt:control-plane-protocol/ospf:ospf/ospf:preference" { deviate not-supported; } diff --git a/src/confd/yang/infix-routing@2024-11-15.yang b/src/confd/yang/infix-routing@2024-11-27.yang similarity index 100% rename from src/confd/yang/infix-routing@2024-11-15.yang rename to src/confd/yang/infix-routing@2024-11-27.yang