mirror of
https://github.com/bb-Ricardo/netbox-sync.git
synced 2026-05-03 15:59:28 -05:00
fies issue with updating redfish interface data properly
This commit is contained in:
@@ -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):
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user