-
Bug
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
7135
I get a Error when trying to parse a yang file like below:
grouping pmf {
leaf pmf {
type enumeration {
enum optional
enum mandatory
{ description "pmf mandatory"; }enum disable
{ description "undo pmf"; } }
default disable;
}
}
the error is:
[ERROR] /D:/git/sd-campus/controller-naas/platform/southbound/adapter/synchronization-adapter/synchronization-adapter-model/src/main/yang-gen-sal/org/opendaylight/yang/gen/v1/com/huawei/controller/southbound/synchronization/rev160412/Pmf.java:[86,96] can not find symble
[ERROR] symble: class Pmf
[ERROR] position: interface org.opendaylight.yang.gen.v1.com.huawei.controller.southbound.synchronization.rev160412.Pmf
[ERROR] /D:/git/sd-campus/controller-naas/platform/southbound/adapter/synchronization-adapter/synchronization-adapter-model/src/main/yang-gen-sal/org/opendaylight/yang/gen/v1/com/huawei/controller/southbound/synchronization/rev160412/Pmf.java:[30,12] have define the interface in the package: org.opendaylight.yang.gen.v1.com.huawei.controller.southbound.synchronization.rev160412org.opendaylight.yang.gen.v1.com.huawei.controller.southbound.synchronization.rev160412.Pmf
Seems to be groung and leaf generated class of the same name, so the conflict.
Is this a bug in yangtools?
- duplicates
-
MDSAL-1 Binding Specification: Grouping, data, typedef and identity namespaces collide
- Resolved