Hi -

On 2021-03-30 9:15 AM, Sterne, Jason (Nokia - CA/Ottawa) wrote:
Hi guys,

Let's take this model for a leaf (line numbers for reference):

10 leaf foo {
20      type uint8 {
30        range "5..101";
40      }
50 }

When I've been talking about "type" I've only been talking about line 20.  The 
base type of the leaf.

But are you guys considering that the term "type" includes 20 and 30 ?

Like others, I'm in the "20 and 30" camp.  But it's worth noting
that this was an area that frequently caused problems for modelers
new to GDMO.  GDMO had very strict rules about subclassing / subtyping
and compatibility, and the unwary would inadvertently overspecify
base classes' attributes, putting in ranges that would be narrower
than those eventually needed for future versions of products, and
preventing what would otherwise be great opportunities for reuse
and "automatic" interoperability.  It feels like an analogous
situation may underlie the concerns here.

Randy

_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to