Rewrite NTS Framework.
[sim/o1-interface.git] / ntsimulator / deploy / o-ran / yang / o-ran-mplane-int.yang
@@ -124,7 +124,8 @@ module o-ran-mplane-int {
         }
         leaf sub-interface {
           type leafref {
-            path "/if:interfaces/if:interface[if:name = current()/../interface-name]/o-ran-int:vlan-id";
+            //checkAL added o-ran-mplane-int: before interface-name, as it would not find anything otherwise
+            path "/if:interfaces/if:interface[if:name = current()/../o-ran-mplane-int:interface-name]/o-ran-int:vlan-id";
           }
           description
             "vlans used to communicate with management plane servers.";