mbj4668 / pyang

An extensible YANG validator and converter in python
ISC License
530 stars 342 forks source link

please clarify about deviate process #815

Open lllyfeng opened 2 years ago

lllyfeng commented 2 years ago

hi, I see there is a special process about 'config' property. the 'config' property is treated as always availble for it has default value and can be get value from it's parent node. So I have a question. How about 'mandatory','min-elements','max-elements'? They are also have default values, for example, if mandatory is not be specified, it is 'false' defaultly.

mbj4668 commented 2 years ago

The problem is that this is not well-defined in RFC 7950. It uses the term "property" for deviations, but that term is not used consistently in the document. Specifically, it doesn't clearly define the relationship between statements and the "properties" they affect.

lllyfeng commented 2 years ago

Should this question be reposted to NETMOD WG?