Frame Relay and ATM switches migrated to the new API.

This commit is contained in:
grossmj committed 2016-05-20 17:59:59 -06:00
1 parent 57fd72c35c
commit 6d5085910c
15 files changed
+886 -619

No files matched your search

+1 -3
View File
@@ -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"