Added YANG models for base concepts in the controller
[controller.git] / opendaylight / sal / yang-prototype / code-generator / maven-sal-api-gen-plugin / src / main / java / org / opendaylight / controller / maven / sal / api / gen / plugin / CodeGeneratorImpl.java
index f6b80bc66640e9b5f4a9ea9ff76e98bae77a81f5..29a78ab0a804c05d6557ac9eff03b9f5bfeb59c6 100644 (file)
@@ -35,7 +35,7 @@ public final class CodeGeneratorImpl implements CodeGenerator {
             File outputBaseDir, Set<Module> yangModules) throws IOException {
 
                final BindingGenerator bindingGenerator = new BindingGeneratorImpl();
-               final List<Type> types = bindingGenerator.generateTypes(context);
+               final List<Type> types = bindingGenerator.generateTypes(context,yangModules);
                final Set<GeneratedType> typesToGenerate = new HashSet<>();
                final Set<GeneratedTransferObject> tosToGenerate = new HashSet<>();
                final Set<Enumeration> enumsToGenerate = new HashSet<>();