A YANG-centric Go toolkit - Go/Protobuf Code Generation; Validation; Marshaling/Unmarshaling
ygot (YANG Go Tools) is a collection of Go utilities that can be used to:
This image is an unofficial build of the ygot project hosted at https://github.com/openconfig/ygot.
Get the latest image
docker pull damianoneill/ygot:latest
Or a specific version
docker pull damianoneill/ygot:0.6.0
The image will setup ygot and create the generator binary. The generator binary takes a set of YANG modules as input and outputs generated code. For example:
docker run -it -v $(pwd):/data damianoneill/ygot:latest generator -output_file=<outputpath> -package_name=<pkg> [yangfiles]
You current directory will be mounted inside the container at /data. Any files in your current directory will be available for input, writing to /data in the container will get persisted to your current directory when the container exits.
Content type
Image
Digest
Size
32.6 MB
Last updated
almost 7 years ago
docker pull damianoneill/ygot