Merge topic/master/clustering to master branch
[ovsdb.git] / southbound / southbound-impl / src / main / java / org / opendaylight / yang / gen / v1 / urn / opendaylight / params / xml / ns / yang / southbound / impl / rev141210 / SouthboundImplModule.java
index 482455d861cdee5b2f749cec08f879a312c38690..5014d144549a43120d1f984a965540077020b698 100644 (file)
@@ -7,9 +7,13 @@
  */
 package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.southbound.impl.rev141210;
 
+import org.opendaylight.ovsdb.southbound.InstanceIdentifierCodec;
 import org.opendaylight.ovsdb.southbound.SouthboundProvider;
+import org.opendaylight.ovsdb.southbound.SouthboundUtil;
 
 public class SouthboundImplModule extends org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.southbound.impl.rev141210.AbstractSouthboundImplModule {
+
+
     public SouthboundImplModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
         super(identifier, dependencyResolver);
     }
@@ -25,7 +29,9 @@ public class SouthboundImplModule extends org.opendaylight.yang.gen.v1.urn.opend
 
     @Override
     public java.lang.AutoCloseable createInstance() {
-        SouthboundProvider provider = new SouthboundProvider();
+        SouthboundUtil.setInstanceIdentifierCodec(new InstanceIdentifierCodec(getSchemaServiceDependency(),
+                getBindingNormalizedNodeSerializerDependency()));
+        SouthboundProvider provider = new SouthboundProvider(getClusteringEntityOwnershipServiceDependency());
         getBrokerDependency().registerProvider(provider);
         return provider;
     }