Fix build error, due to changes in FlowId: https://git.opendaylight.org/gerrit/#... 55/4155/1
authorFlavio Fernandes <ff@member.org>
Mon, 13 Jan 2014 03:08:45 +0000 (22:08 -0500)
committerFlavio Fernandes <ff@member.org>
Mon, 13 Jan 2014 03:08:45 +0000 (22:08 -0500)
Changes to fix build were based on changes done in commit 45b75a6ba76bf8b453b5f0de11ceb0c3bba1e842, file:
.../opendaylight/md-sal/statistics-manager/src/main/java/org/opendaylight/controller/md/statistics/manager/StatisticsUpdateCommiter.java

Change-Id: I635c7530cd9897d7c0ee8f1cb5209869c90f24b5
Signed-off-by: Flavio Fernandes <ff@member.org>
neutron/src/main/java/org/opendaylight/ovsdb/neutron/provider/OF13ProviderManager.java

index f42c6a5dc1605e92a7f30dc8017bb111996c7d8d..92899fb3edf168bc56d5a2c57b68a282be537ee8 100644 (file)
@@ -122,7 +122,8 @@ class OF13ProviderManager extends ProviderNetworkManager {
         flow.setMatch(createLLDPMatch().build());
         flow.setInstructions(this.createSentToControllerInstructions().build());
         // TODO : Investigate the need for this.
-        FlowKey key = new FlowKey(new FlowId(new Long(123)));
+        long flowKey = 123;
+        FlowKey key = new FlowKey(new FlowId(Long.toString(flowKey)));
         flow.setBarrier(false);
         flow.setTableId((short)0);
         flow.setKey(key);