Wednesday, June 30, 2021

Thoughts on YANG

Yang is pretty cool. I've seen lots of videos and tutorials on the benefits of yang, but I'm having trouble figuring out how I can use it on the client side during configuration generation or configuration linting.

Ive noticed that it looks like if I get a config via rest/net conf, the Json response I get looks to be a mashing together of the device config with various yang models.

How exactly is that done server (router) side? Is it possible for me to combine a normal config with a yang model to generate that JSON extrapolation to validate a config before I push it to a device?

General questions:

How are you using the yang model in your environment?



No comments:

Post a Comment