Merge "Fix modules Restconf call for mounted devices"
authorTony Tkacik <ttkacik@cisco.com>
Thu, 19 Mar 2015 21:16:38 +0000 (21:16 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 19 Mar 2015 21:16:38 +0000 (21:16 +0000)
opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/restconf/impl/RestconfImpl.java

index d912af20fe3d4344ba60b3a4d6950a711ae5c9a5..1bdbe6b66398a0b67c10d98a13842d642fb41787 100644 (file)
@@ -246,7 +246,7 @@ public class RestconfImpl implements RestconfService {
         moduleContainerBuilder.withChild(mountPointModulesMap);
 
         return new NormalizedNodeContext(new InstanceIdentifierContext(null, modulesSchemaNode,
-                mountPoint, schemaContext), moduleContainerBuilder.build());
+                mountPoint, controllerContext.getGlobalSchema()), moduleContainerBuilder.build());
     }
 
     @Override