

The Nokia SR Linux NetOps Development Kit (NDK) allows operators to program high-performance, integrated agents that run alongside the Nokia Service Router Linux (SR Linux).
This repository contains generated Go code for SR Linux NDK Protocol buffers.
Module import paths
The Go module version is synchronized with the SR Linux NDK protobuf releases.
Users can fetch the Go bindings for NDK with go get command as follows:
# get latest ndk package
go get github.com/nokia/srlinux-ndk-go
# get a specific version of the ndk package
go get github.com/nokia/srlinux-ndk-go@v0.1.0
To use the ndk package, use the following import statement:
import "github.com/nokia/srlinux-ndk-go/ndk"
Code generation
This code has been generated from SR Linux NDK Protocol buffers using protoc compiler with the gRPC plugins for Go and Python.
gen.sh script calls the protoc container using the ndk protobufs version as its single argument.
bash gen.sh v0.1.1
The Go package directory named ndk will be populated with the generated code bindings.