Hi,

I noticed a new difference between our YANG compiler and pyang.

   leaf X {
     type int8;
     range "1 .. 1";
   }


pyang says this is an error:

error: range error: "1" is not larger than "1"

yangdump-pro does not issue any error or warning.

I cannot find any text in sec. 9.2.4 that says the upper bound must be
greater than the lower bound in a range-part

Which compiler is correct?


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

Reply via email to