Skip to content

Handle nodes with "status obsolete" statement #10

@luowei-eric

Description

@luowei-eric

Hi,

In function read_yin_common(...), the "status" statement is parsed. If a node's status is "obsolete", its flag is set to LYS_STATUS_OBSLT.
According to RFC6020, "obsolete" means the definition is obsolete and SHOULD NOT be implemented and/or can be removed from implementations.
But I don't find any operation or validation are done for the obsoleted node. It is handled as normal node.Shouldn't the obsoleted node be treated as an unsupported node? Just similar with a node defined by if-feature and the feature is disabled.

Thanks,
Wei

Metadata

Metadata

Assignees

Labels

is:bugBug description.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions