Open-Network-Models-and-Interfaces-ONMI / TAPI

LF ONMI Transport API Repository (TAPI)
https://github.com/Open-Network-Models-and-Interfaces-ONMI/TAPI/wiki
Apache License 2.0
95 stars 80 forks source link

Incorrect path in leafref of maintenance-entity-local-id #418

Closed angelanzhe closed 5 years ago

angelanzhe commented 5 years ago

In yang module tapi-oam.yang

grouping maintenance-entity-ref {
    uses meg-ref;
    leaf maintenance-entity-local-id {
        type leafref {
            path '/tapi-common:context/tapi-oam:oam-context/tapi-oam:meg/tapi-oam:me/tapi-oam:local-id';
        }
        description "none";
    }
    description "none";
}

The leaf " maintenance-entity-local-id " specified a leafref " '/tapi-common:context/tapi-oam:oam-context/tapi-oam:meg/tapi-oam:me/tapi-oam:local-id'", but there is not cantainer or list named "me" in "/tapi-common:context/tapi-oam:oam-context/tapi-oam:meg".

I think it should be a mistake, the right path may be "'/tapi-common:context/tapi-oam:oam-context/tapi-oam:meg/tapi-oam:mep/tapi-oam:local-id'".