Add YangInstanceIdentifer to InstanceIdentifier converter method 67/27367/2
authorAnil Vishnoi <vishnoianil@gmail.com>
Wed, 23 Sep 2015 15:37:41 +0000 (21:07 +0530)
committerFlavio Fernandes <ffernand@redhat.com>
Wed, 23 Sep 2015 19:14:49 +0000 (19:14 +0000)
Change-Id: I540772d6461ccf9a281b738a3ba8d6601abffafb
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/InstanceIdentifierCodec.java

index 436a048d676a6ef4be305288770f88b1e1022f72..3d9430f56bd7575ef1ba519dfbc5fdc517325453 100644 (file)
@@ -67,4 +67,9 @@ public class InstanceIdentifierCodec extends AbstractModuleStringInstanceIdentif
         return iid;
     }
 
+    public InstanceIdentifier<?> bindingDeserializer(YangInstanceIdentifier yangIID) {
+        InstanceIdentifier<?> iid = bindingNormalizedNodeSerializer.fromYangInstanceIdentifier(yangIID);
+        return iid;
+    }
+
 }