Fix eos entity lookups with YangInstanceIdentifier
[controller.git] / opendaylight / md-sal / eos-dom-akka / src / main / yang / odl-akka-eos.yang
index b4f16b9469aa2ce35a54b89d2dad88c8e6e404b1..1aa2d41bbcc247836e9c3017381a11faa28066a5 100644 (file)
@@ -19,8 +19,11 @@ module odl-entity-owners {
   }
 
   typedef entity-name {
-    type string {
-      length 1..max;
+    type union {
+      type instance-identifier;
+      type string {
+        length 1..max;
+      }
     }
   }