README ¶ go-ygot-generator-generator A tool used to configure the ygot generator via a simple yaml file. Usage Create a test.yaml where you specify your ygot configuration. --- generator_options: - option: output_file value: ./yang.go - option: include_model_data value: true - option: generate_fakeroot value: true - option: fakeroot_name value: device - option: exclude_modules value: ietf-interfaces models: - ../../../models/openconfig/release/models/system/openconfig-system.yang - ../../../models/openconfig/release/models/interfaces/openconfig-interfaces.yang - ../../../models/openconfig/release/models/interfaces/openconfig-if-ethernet.yang - ../../../models/openconfig/release/models/interfaces/openconfig-if-ip.yang path_to_generator: ../../../build-tools/generator path_to_models: ../../../models/openconfig Let go-ygot-generator-generator generate to go file that can be used with go generate. go-yang-generator-generator test.yaml test.go go generate test.go Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files configuration.go main.go Click to show internal directories. Click to hide internal directories.