From 41975c0422fb289eebc67a87ca2c7b1818820b18 Mon Sep 17 00:00:00 2001 From: Dave Tucker Date: Tue, 21 Jan 2014 11:50:39 +0000 Subject: [PATCH] Bug fix for bug 328 https://bugs.opendaylight.org/show_bug.cgi?id=328#add_comment Casts node_id to long before instantiatiing an Node Change-Id: I846bfe11cef49adeea65d9d2cce6a0d7444b93f5 Signed-off-by: Dave Tucker --- .../northbound/ConnectionManagerNorthbound.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendaylight/northbound/connectionmanager/src/main/java/org/opendaylight/controller/connectionmanager/northbound/ConnectionManagerNorthbound.java b/opendaylight/northbound/connectionmanager/src/main/java/org/opendaylight/controller/connectionmanager/northbound/ConnectionManagerNorthbound.java index c069f82a84..e2c1b32c4b 100644 --- a/opendaylight/northbound/connectionmanager/src/main/java/org/opendaylight/controller/connectionmanager/northbound/ConnectionManagerNorthbound.java +++ b/opendaylight/northbound/connectionmanager/src/main/java/org/opendaylight/controller/connectionmanager/northbound/ConnectionManagerNorthbound.java @@ -334,7 +334,7 @@ public class ConnectionManagerNorthbound { } try { - Node node = new Node(nodeType, nodeId); + Node node = Node.fromString(nodeType, nodeId); Status status = connectionManager.disconnect(node); if (status.isSuccess()) { return Response.ok().build(); -- 2.36.6