Hi,

Section 10 of the YANG RFC covers updating modules while maintaining 
backwards-compatibiility.  I have a question about whether the following 
statement allows for a string type to be replaced with a union comprising 
solely of string types, so long as the overall set of strings accepted was no 
more restrictive?  This would allow us to reuse some existing types.

   o  A "type" statement may be replaced with another "type" statement
      that does not change the syntax or semantics of the type.  For
      example, an inline type definition may be replaced with a typedef,
      but an int8 type cannot be replaced by an int16, since the syntax
      would change.

I can see that changing int8 to int16 changes the syntax, but does changing 
from string to a union of strings change the syntax according to this 
definition?

Thanks,

William

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

Reply via email to