mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Fix same base MAC for duplicated IOS routers. Fixes #1264.
This commit is contained in:
1 parent
e5e2b7a8ac
commit
c281f55fb2
4 files changed
+3
-4
No files matched your search
@@ -946,10 +946,11 @@ class Project:
|
||||
raise aiohttp.web.HTTPConflict(text="Cannot duplicate node data while the node is running")
|
||||
|
||||
data = copy.deepcopy(node.__json__(topology_dump=True))
|
||||
# Some properties like internal ID should not be duplicate
|
||||
# Some properties like internal ID should not be duplicated
|
||||
for unique_property in (
|
||||
'node_id',
|
||||
'name',
|
||||
'mac_addr',
|
||||
'compute_id',
|
||||
'application_id',
|
||||
'dynamips_id'):
|
||||
|
||||
Reference in new issue
Block a user