Abstract
To convert a YANG-based model into a protobuf format, a unique field identification numbers needs to be assigned to each node in the YANG schema tree. Field identification numbers can be generated by calculating a numeric hash of characteristics of the YANG schema node; for example, its identifier or schema tree path. The resulting hash values provide backwards compatible field identification numbers suitable for protobuf field numbers.
Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.
Recommended Citation
Madejski, Tomasz and Shakir, Rob, "Consistent Hashing for Generating Protobuf Field Numbers", Technical Disclosure Commons, (December 07, 2017)
https://www.tdcommons.org/dpubs_series/909