2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-01-11 18:42:29 +00:00

Fix IPv6 redfish config fetch for select targets

Not all targets offer up static gateway
This commit is contained in:
Jarrod Johnson
2025-10-08 09:39:17 -04:00
parent be2ae57a38
commit 179ad4e196

View File

@@ -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':