Does NULL have any meaning for a leaf of type uint16?

Looking at a leaf of type uint16 the description says that 
'This metric will be NULL (no value) ..'

Some languages differentiate  a 'never been set' state from e.g set to zero or 
some other value but for me, YANG does not have that concept.  Rather the leaf 
does not exist which  will be reflected by the protocol accessing the leaf.

I see no NULL at least in this context in RFC7950.

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

Reply via email to