summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarmine Scarpitta <cscarpit@cisco.com>2025-02-15 10:39:40 +0100
committerCarmine Scarpitta <cscarpit@cisco.com>2025-02-15 10:39:40 +0100
commitf02dba19d20b0a53645a439924e736155c8de63f (patch)
tree858e0edb634f75ed048b64488bf2463c0e5042f0
parent0b76fb3c133951c8d1203dbe7c2e5a4e1b67dffe (diff)
isisd: Request SRv6 locator after zebra connection
When SRv6 is enabled and an SRv6 locator is specified in the IS-IS configuration, IS-IS may attempt to request SRv6 locator information from zebra before the connection is fully established. If this occurs, the request fails with the following error: ``` 2025/02/14 21:41:20 ISIS: [HR66R-TWQYD][EC 100663302] srv6_manager_get_locator: invalid zclient socket ```` As a result, IS-IS is unable to obtain the locator information, preventing SRv6 from working. This commit fixes the issue by ensuring IS-IS requests SRv6 locator information once the connection with zebra is successfully established. Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
-rw-r--r--isisd/isis_zebra.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/isisd/isis_zebra.c b/isisd/isis_zebra.c
index caf7d3ddfb..b985ad1f7d 100644
--- a/isisd/isis_zebra.c
+++ b/isisd/isis_zebra.c
@@ -805,6 +805,7 @@ static void isis_zebra_connected(struct zclient *zclient)
zclient_register_opaque(zclient, LDP_IGP_SYNC_IF_STATE_UPDATE);
zclient_register_opaque(zclient, LDP_IGP_SYNC_ANNOUNCE_UPDATE);
bfd_client_sendmsg(zclient, ZEBRA_BFD_CLIENT_REGISTER, VRF_DEFAULT);
+ isis_srv6_locators_request();
}
/**