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.
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/[email protected]
To use the ndk
package, use the following import statement:
import "github.com/nokia/srlinux-ndk-go/ndk"
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.