Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
7249
Description
I get a Error when trying to parse a yang file like below:
choice pool-type {
container interface-pool {
leaf dddd
list sub-option {
description "Specifieds the user defined DHCP sub options";
key sub-option-code;
leaf sub-option-code {
description "The sub option code of the user defined option";
type uint8
}
choice option-format {
leaf-list ip-address
}
}
}
}
the error is:
[ERROR] yang-to-sources: Unable to generate sources with org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl generator
java.lang.IllegalStateException: Could not find Choice node parent AbsoluteSchemaPath
at com.google.common.base.Preconditions.checkState(Preconditions.java:197)
...
Why compilation of this yang failure?