Fixed issue #1605 regarding Cisco slots causing configs to break

This commit is contained in:
UmmmAGoodName committed 2026-03-16 19:09:32 +01:00
1 parent 6ac4c27bc1
commit 95bd76a212
4 files changed
+19 -15

No files matched your search

+1 -1
View File
@@ -556,7 +556,7 @@ class Node:
# None properties are not be sent because it can mean the emulator doesn't support it
for key, value in list(data.items()):
if value is None or value == {} or key in self.CONTROLLER_ONLY_PROPERTIES:
del value
del data[key]
return data
-3
View File
@@ -1280,9 +1280,6 @@ class Project:
:returns: New node
"""
if node.status != "stopped" and not node.is_always_running():
raise ControllerError("Cannot duplicate node data while the node is running")
data = copy.deepcopy(node.asdict(topology_dump=True))
# Some properties like internal ID should not be duplicated
for unique_property in (