Skip to content

Mask libyang warnings about obsolete YANG nodes #1127

@troglobit

Description

@troglobit

We use the 'status obsolete;' for the .cfg file's meta:version field.

Apr  6 10:39:15 infix startup[1266]: [WRN] Obsolete schema node "meta" instantiated in data.
Apr  6 10:39:15 infix startup[1266]: [WRN] Obsolete schema node "version" instantiated in data.
Apr  6 10:39:15 infix startup[1266]: [WRN] Obsolete schema node "meta" instantiated in data.
Apr  6 10:39:15 infix startup[1266]: [WRN] Obsolete schema node "version" instantiated in data.

Proposal: disable the warning entirely, we have quite good insight into the yang models we use anyway and this warning in the syslog is just confusing to users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions