From 179ad4e1965576094007fe68b2ef2fbc1d582301 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 8 Oct 2025 09:39:17 -0400 Subject: [PATCH] Fix IPv6 redfish config fetch for select targets Not all targets offer up static gateway --- .../confluent/plugins/hardwaremanagement/redfish.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/plugins/hardwaremanagement/redfish.py b/confluent_server/confluent/plugins/hardwaremanagement/redfish.py index 0334696f..96471fc2 100644 --- a/confluent_server/confluent/plugins/hardwaremanagement/redfish.py +++ b/confluent_server/confluent/plugins/hardwaremanagement/redfish.py @@ -632,7 +632,7 @@ class IpmiHandler(object): ipv4cfgmethod=lancfg['ipv4_configuration'], hwaddr=lancfg['mac_address'], staticv6addrs=v6cfg['static_addrs'], - staticv6gateway=v6cfg['static_gateway'], + staticv6gateway=v6cfg.get('static_gateway', None), vlan_id=lancfg.get('vlan_id', None) )) elif self.op == 'update':