From e1d4b72f32c42a4206fab0975cc58bc4bdb3ca61 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 5 Feb 2026 07:57:25 -0500 Subject: [PATCH] Be less picky about megarac url megarac implementations consistently indicate an .xml file, but wildly vary on what it may be. Broaden recognition. --- confluent_server/confluent/discovery/protocols/ssdp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/discovery/protocols/ssdp.py b/confluent_server/confluent/discovery/protocols/ssdp.py index 9559a229..00e6f799 100644 --- a/confluent_server/confluent/discovery/protocols/ssdp.py +++ b/confluent_server/confluent/discovery/protocols/ssdp.py @@ -441,7 +441,7 @@ def _find_service(service, target): continue else: for targurl in peerdata[nid]['urls']: - if '/eth' in targurl and targurl.endswith('.xml'): + if targurl and targurl.endswith('.xml'): pooltargs.append(('/redfish/v1/', peerdata[nid], 'megarac-bmc')) # For now, don't interrogate generic redfish bmcs # This is due to a need to deduplicate from some supported SLP