Bug 773: SimpleForwardingImpl hits NPE when .frm member is null and new host is... 67/6267/1
authorFlavio Fernandes <ffernand@redhat.com>
Fri, 18 Apr 2014 02:26:03 +0000 (22:26 -0400)
committerFlavio Fernandes <ffernand@redhat.com>
Fri, 18 Apr 2014 02:26:03 +0000 (22:26 -0400)
Change-Id: Iba0986cec7f8cc999b2d9852b2bf21b2c5ba3c6f
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
opendaylight/samples/simpleforwarding/src/main/java/org/opendaylight/controller/samples/simpleforwarding/internal/Activator.java

index ed9374b..6ee04b4 100644 (file)
@@ -92,7 +92,7 @@ public class Activator extends ComponentActivatorAbstractBase {
             c.add(createContainerServiceDependency(containerName).setService(
                     IForwardingRulesManager.class).setCallbacks(
                     "setForwardingRulesManager", "unsetForwardingRulesManager")
-                    .setRequired(false));
+                    .setRequired(true));
 
             c.add(createContainerServiceDependency(containerName).setService(
                     ITopologyManager.class).setCallbacks("setTopologyManager",