mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Fix crash when loading a topology without project id
This commit is contained in:
3 files changed
+39
-1
No files matched your search
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"version" : "ANYSTR",
|
||||
"name" : "Downloads",
|
||||
"topology" : {
|
||||
"links" : [],
|
||||
"drawings" : [],
|
||||
"nodes" : [],
|
||||
"computes" : [
|
||||
{
|
||||
"protocol" : "http",
|
||||
"name" : "Local",
|
||||
"compute_id" : "local",
|
||||
"port" : 8000,
|
||||
"host" : "127.0.0.1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"revision" : 5,
|
||||
"project_id" : "ANYUUID",
|
||||
"type" : "topology",
|
||||
"auto_start" : false
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "Downloads",
|
||||
"resources_type": "local",
|
||||
"topology": {
|
||||
"servers": [
|
||||
{
|
||||
"host": "127.0.0.1",
|
||||
"id": 1,
|
||||
"local": true,
|
||||
"port": 8000
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": "topology",
|
||||
"version": "1.0"
|
||||
}
|
||||
Reference in new issue
Block a user