Skip to content

Older yanglint is triggering false positive YANG module warnings #8701

@xorrkaz

Description

@xorrkaz

Describe the issue

The current version of yanglint in DataTracker is 1.10.17. The latest version is 3.7.8. When the modules in draft-ietf-netmod-sub-intf-vlan-model-13 are compiled in DT today, eight warnings are thrown related to an included module (i.e., not the modules within the draft).

yanglint SO 1.10.17: yanglint --verbose -p {tmplib} -p {rfclib} -p {draftlib} -p {ianalib} -p {cataloglib} {model} -i:
warn: Missing status in deprecated subtree (/ieee802-dot1q-types:{grouping}[traffic-class-table-grouping]/traffic-class-map/priority), inheriting.
warn: Missing status in deprecated subtree (/ieee802-dot1q-types:{grouping}[traffic-class-table-grouping]/traffic-class-map/available-traffic-class), inheriting.
warn: Missing status in deprecated subtree (/ieee802-dot1q-types:{grouping}[traffic-class-table-grouping]/traffic-class-map/available-traffic-class/num-traffic-class), inheriting.
warn: Missing status in deprecated subtree (/ieee802-dot1q-types:{grouping}[traffic-class-table-grouping]/traffic-class-map/available-traffic-class/traffic-class), inheriting.

However, if these same modules are compiled with yanglint 3.7.8, those warnings are not seen.

The ask is to update yanglint to the latest release.

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions