"Bogaert, Bart (Nokia - BE/Antwerp)" <bart.boga...@nokia.com> wrote:
> Hi,
> 
> During implementation we came across the following anomaly:
> 
> According to RFC 6933 entPhysicalParentRelPos the value should be
> set to -1 in case there is no parent.
> The hardware YANG model defines this leaf as int32 with range "0
> .. 2147483647",  To be in-line with the referred RFC, shouldn't the
> range be extended as "-1 .. 2147483647"?

In MIBs, people often use special values to indicate that the
underlying thing doesn't exist.  In YANG we try to avoid this, and
instead not instantiate the node.  This should probably have been
clarified in the YANG module.


/martin

_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to