ConfD User Community

CodeBeautify Tool or Online Website for YANG


#1

Hi, Can anyone please suggest any tool or Web Site which validate and beautify YANG code. for example https://codebeautify.or…But in this Website nothing for YANG model.


#2

See for example https://github.com/mbj4668/pyang
Run for example something like
$ pyang -f yang my-module.yang
…to beautify and validate.

See also https://yangcatalog.org/yangvalidator/validator for an online yang validator that make use of pyang, confdc, and other validation options