BUG-1188: Missing callback to provider 90/8190/1
authorFlavio Fernandes <ffernand@redhat.com>
Fri, 20 Jun 2014 19:05:07 +0000 (15:05 -0400)
committerFlavio Fernandes <ffernand@redhat.com>
Fri, 20 Jun 2014 19:05:07 +0000 (15:05 -0400)
When SouthboundHandler::processRowUpdate() gets invoked for a port,
the code was missing a callback to handleInterfaceUpdate() which
should be needed for all the interfaces for the given port.

Change-Id: I9016e3f7427a08a1d95669dd81b9257b66e81195
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
neutron/src/main/java/org/opendaylight/ovsdb/neutron/SouthboundHandler.java

index 5d114870328873ce273ba5b6bc412f7acda247d4..fb20cbd3d7d2353e32f8753571754aaf1ce0bf21 100644 (file)
@@ -236,6 +236,7 @@ public class SouthboundHandler extends BaseHandler implements OVSDBInventoryList
                     NeutronNetwork network = tenantNetworkManager.getTenantNetworkForInterface(intf);
                     if (network != null && !network.getRouterExternal()) {
                         tenantNetworkManager.programTenantNetworkInternalVlan(node, uuid, network);
+                        this.handleInterfaceUpdate(node, intfUUID.toString(), intf);
                     } else {
                         logger.trace("ignore update because there is not a neutron network.");
                     }