OpenConfig to device config mapping¶
Finding mapping between device and the model¶
Prefered YANG models for device config and operational data are OpenConfig models.
These models usually represents configuration part in container config and operational part in container state. Operational data is config data + operational data.
This site LINK NOT WORKING http://ops.openconfig.net/branches/master/ may be used for
better browsing in OpenConfig YANG models. Another option is to generate
YANG tree representation by using
YANG models used in UniConfig framework need to be located in https://github.com/FRINXio/openconfig. In case the desired functionality is not modeled yet, you can create new YANG with its own structure or it can augment existing OpenConfig models. Guideline, how to write OpenConfig models can be found at http://www.openconfig.net/docs/style-guide/.