From 405e1c848faf6dd96d6f16fdbd33c7e6d5a6fcfa Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Tue, 17 Jan 2023 18:11:56 +0200 Subject: Revert "ospfd: rSPF calc and messaging for optimal route reflection" This reverts commit a3d3a14c09cf212c7d402670247c4d518b99d8b7. --- ospfd/ospf_zebra.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'ospfd/ospf_zebra.c') diff --git a/ospfd/ospf_zebra.c b/ospfd/ospf_zebra.c index 4615864244..1754512b5b 100644 --- a/ospfd/ospf_zebra.c +++ b/ospfd/ospf_zebra.c @@ -53,7 +53,6 @@ #include "ospfd/ospf_te.h" #include "ospfd/ospf_sr.h" #include "ospfd/ospf_ldp_sync.h" -#include "ospfd/ospf_orr.h" DEFINE_MTYPE_STATIC(OSPFD, OSPF_EXTERNAL, "OSPF External route table"); DEFINE_MTYPE_STATIC(OSPFD, OSPF_REDISTRIBUTE, "OSPF Redistriute"); @@ -2082,7 +2081,6 @@ static void ospf_zebra_connected(struct zclient *zclient) bfd_client_sendmsg(zclient, ZEBRA_BFD_CLIENT_REGISTER, VRF_DEFAULT); zclient_send_reg_requests(zclient, VRF_DEFAULT); - zclient_register_opaque(zclient, ORR_IGP_METRIC_REGISTER); } /* @@ -2095,7 +2093,6 @@ static int ospf_opaque_msg_handler(ZAPI_CALLBACK_ARGS) struct ldp_igp_sync_if_state state; struct ldp_igp_sync_announce announce; struct zapi_opaque_reg_info dst; - struct orr_igp_metric_reg orr_reg; int ret = 0; s = zclient->ibuf; @@ -2119,10 +2116,6 @@ static int ospf_opaque_msg_handler(ZAPI_CALLBACK_ARGS) STREAM_GET(&announce, s, sizeof(announce)); ret = ospf_ldp_sync_announce_update(announce); break; - case ORR_IGP_METRIC_REGISTER: - STREAM_GET(&orr_reg, s, sizeof(orr_reg)); - ret = ospf_orr_igp_metric_register(orr_reg); - break; default: break; } -- cgit v1.2.3