core-wg / yang-cbor

Internet-Draft for CBOR representation of YANG data
5 stars 10 forks source link

YANG features resolution #124

Closed mcr closed 2 years ago

mcr commented 2 years ago
  1. How does the CBOR encoding of SIDs apply to YANG features? This draft references features and the SID draft allows SIDs for them, but I don't understand how they are used in the encoding (since features don't appear in the instance data, they are only at the schema level).

YANG features only show up on the value side.

cabo commented 2 years ago

Proposed response text:

YANG features can occur in the data of a YANG module, e.g., yang-library (RFC 8525). Using a SID instead of an identifier for a feature allows a compact representation.