Bug 4988: OF statistics & REST client
[groupbasedpolicy.git] / renderers / ofoverlay / src / main / java / org / opendaylight / controller / config / yang / config / ofoverlay_provider / impl / OFOverlayProviderModule.java
old mode 100644 (file)
new mode 100755 (executable)
index ae4694d..a6cb224
@@ -1,5 +1,14 @@
+/*
+ * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
 package org.opendaylight.controller.config.yang.config.ofoverlay_provider.impl;
 
+
 import org.opendaylight.groupbasedpolicy.renderer.ofoverlay.OFOverlayRenderer;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -23,10 +32,14 @@ public class OFOverlayProviderModule extends org.opendaylight.controller.config.
 
     @Override
     public java.lang.AutoCloseable createInstance() {
-        LOG.info("OFoffset: {}",getOfOffset());
-        LOG.info("RouterMac: {}",getRouterMac());
+        LOG.info("OFoffset: {}",getGbpOfoverlayTableOffset());
         return new OFOverlayRenderer(getDataBrokerDependency(),
-                                     getRpcRegistryDependency());
+                                     getRpcRegistryDependency(),
+                                     getNotificationAdapterDependency(),
+                                     getEpRendererAugmentationRegistryDependency(),
+                                     getPolicyValidatorRegistryDependency(),
+                                     getStatisticsManagerDependency(),
+                                     getGbpOfoverlayTableOffset().shortValue());
     }
 
 }