OF10Provider missing one change to use ovsdbTable.getTypedRow 10/8910/1
authorSam Hague <shague@redhat.com>
Thu, 10 Jul 2014 21:32:51 +0000 (17:32 -0400)
committerSam Hague <shague@redhat.com>
Thu, 10 Jul 2014 21:35:45 +0000 (17:35 -0400)
Looks like one instance of converting to the call was missed.

Change-Id: I7340246e666c324adcf1afc4723ab5f48759a8b6
Signed-off-by: Sam Hague <shague@redhat.com>
neutron/src/main/java/org/opendaylight/ovsdb/neutron/provider/OF10Provider.java

index 5f6b99539581d328a0db1198a83a108b38cb2dde..b31b2d1e39cca038d68e5df48e915b89be51f0fe 100644 (file)
@@ -368,7 +368,7 @@ public class OF10Provider implements NetworkProvider {
                     logger.error("Cannot identify {} interface on {}", patchInt, node);
                 }
                 for (Row row : intfs.values()) {
-                    Interface tunIntf = (Interface)row;
+                    Interface tunIntf = ovsdbTable.getTypedRow(node, Interface.class, row);
                     if (tunIntf.getName().equals(this.getTunnelName(tunnelType, segmentationId, dst))) {
                         Set<Long> of_ports = tunIntf.getOpenFlowPortColumn().getData();
                         if (of_ports == null || of_ports.size() <= 0) {