- follow instructions to build libyang https://github.com/CESNET/libyang
- npm install
- update 'yanglint' inside poc.js point it to where yanglint is installed
- inetprofile.json is the testing data
- All related YANG model is under yang/object, idirect-beam.yang has some advanced usage on YANG model
- hook/inet/inet.js provides translate logic
- config.json is the main config file, configures YANG model and hook
- default testing data will pass
- remove beam.radius should throw error
- change beam.beam_type to 'Non-Circular', and remove beam.beamcontour should throw error
- change network_version to 1.0.0.0, and remove beam.beamcontour and beam.beam_type should pass validation
- default testing data should generate same optionfile as https://steelers-noc.pulse.idirect.net/config/inetprofile/latest_option/1815
- Follow tail-f documentation to setup confd Or follow this to setup netopeer2/sysrepo https://jira.idirect.net/browse/STL-210
- Install yang/optionfile/idirect-inet_ob_profile.yang on netconf server
- Update code to use the right option for confd or sysrepo http://vault.idirect.net/projects/STL/repos/data-model/browse/poc/poc.js?at=feat/STL-222#79