From 9c44816398d5a4710e06f0d7597538bf77aa94b1 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 10 Oct 2023 16:45:45 -0400 Subject: [PATCH] Revert "yang: add bgp link-state" This reverts commit 3cf5ff27155138ad7b7bafd2e815ca1bba5744ea. --- yang/frr-bgp-common-multiprotocol.yang | 10 --------- yang/frr-bgp.yang | 31 -------------------------- yang/frr-routing.yang | 7 ------ 3 files changed, 48 deletions(-) diff --git a/yang/frr-bgp-common-multiprotocol.yang b/yang/frr-bgp-common-multiprotocol.yang index f7f4ff507597..c22bdf996473 100644 --- a/yang/frr-bgp-common-multiprotocol.yang +++ b/yang/frr-bgp-common-multiprotocol.yang @@ -204,15 +204,5 @@ submodule frr-bgp-common-multiprotocol { description "IPv6 flowspec configuration options."; } - - container linkstate-linkstate { - when "derived-from-or-self(../afi-safi-name, 'frr-rt:linkstate-linkstate')" { - description - "Include this container for Link-State specific - configuration."; - } - description - "Link-State configuration options."; - } } } diff --git a/yang/frr-bgp.yang b/yang/frr-bgp.yang index 557b9ef81b95..b34fd43e78de 100644 --- a/yang/frr-bgp.yang +++ b/yang/frr-bgp.yang @@ -819,17 +819,6 @@ module frr-bgp { uses structure-neighbor-group-filter-config; } - - augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/linkstate-linkstate" { - uses structure-neighbor-route-reflector; - - uses structure-neighbor-route-server; - - uses structure-neighbor-group-soft-reconfiguration; - - uses structure-neighbor-group-filter-config; - } - augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast" { uses structure-neighbor-group-add-paths; @@ -1101,16 +1090,6 @@ module frr-bgp { uses structure-neighbor-group-filter-config; } - augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/linkstate-linkstate" { - uses structure-neighbor-route-reflector; - - uses structure-neighbor-route-server; - - uses structure-neighbor-group-soft-reconfiguration; - - uses structure-neighbor-group-filter-config; - } - augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast" { uses structure-neighbor-group-add-paths; @@ -1387,14 +1366,4 @@ module frr-bgp { uses structure-neighbor-group-filter-config; } - - augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/peer-groups/peer-group/afi-safis/afi-safi/linkstate-linkstate" { - uses structure-neighbor-route-reflector; - - uses structure-neighbor-route-server; - - uses structure-neighbor-group-soft-reconfiguration; - - uses structure-neighbor-group-filter-config; - } } diff --git a/yang/frr-routing.yang b/yang/frr-routing.yang index f6e1f8e74a23..b304c241a41c 100644 --- a/yang/frr-routing.yang +++ b/yang/frr-routing.yang @@ -172,13 +172,6 @@ module frr-routing { } - identity linkstate-linkstate { - base afi-safi-type; - description - "This identity represents the link-state address family."; - } - - identity control-plane-protocol { description "Base identity from which control-plane protocol identities are