mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Frame Relay and ATM switches migrated to the new API.
This commit is contained in:
1 parent
57fd72c35c
commit
6d5085910c
15 files changed
+886
-619
No files matched your search
@@ -240,10 +240,8 @@ class Route(object):
|
||||
between the same instance of the node
|
||||
"""
|
||||
|
||||
if "node_id" in request.match_info or "device_id" in request.match_info:
|
||||
if "node_id" in request.match_info:
|
||||
node_id = request.match_info.get("node_id")
|
||||
if node_id is None:
|
||||
node_id = request.match_info["device_id"]
|
||||
|
||||
if "compute" in request.path:
|
||||
type = "compute"
|
||||
|
||||
Reference in new issue
Block a user