fies issue with updating redfish interface data properly

This commit is contained in:
ricardo.bartels@telekom.de
2024-02-14 08:54:50 +01:00
parent ea6564420b
commit 23ff3b973c
2 changed files with 4 additions and 4 deletions
@@ -849,10 +849,9 @@ class CheckRedfish(SourceBase):
data_to_update["mgmt_only"] = mgmt_only
# update nic object
nic_object.update(data=data_to_update, source=self)
else:
self.add_update_interface(nic_object, self.device_object, port_data, nic_ips.get(port_name, list()))
port_data = data_to_update
self.add_update_interface(nic_object, self.device_object, port_data, nic_ips.get(port_name, list()))
def update_manager(self):
+1
View File
@@ -265,6 +265,7 @@ class SourceBase:
added to this interface
"""
# should be removed / unused code
disable_vlan_sync = False
if "disable_vlan_sync" in self.settings:
disable_vlan_sync = self.settings.disable_vlan_sync