Skip to content

nokia/srlinux-ndk-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go


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 v0.1.0 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"

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.