> Thank you all the same for your comments! > And I also find peaple who are designing YANG module in IETF don’t like to > use uuid. They prefer to use a string for identifier. String type is generic > and easy for implementation but there is not a good way to make it global > unique and easy for reference.
It's notable that RFC 8345 uses URIs, the reasoning for doing so is described in Section 4.4.11. Identifiers of String or URI Type <https://datatracker.ietf.org/doc/html/rfc8345#section-4.4.11>Section 4.4.11. <https://datatracker.ietf.org/doc/html/rfc8345#section-4.4.11> Identifiers of String or URI Type. PS: though the draft says that all the identifiers are URIs, all the examples in the draft use simple strings. AFAICT, none of the examples in that draft would pass validation. K.
_______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
